Skip to content

Add GitHub Chat extension widget#8

Open
namnv080808 wants to merge 3 commits into
inquid:masterfrom
namnv080808:master
Open

Add GitHub Chat extension widget#8
namnv080808 wants to merge 3 commits into
inquid:masterfrom
namnv080808:master

Conversation

@namnv080808

Copy link
Copy Markdown

This adds an MVP GitHub Chat widget to the existing GitHub Stories Chrome extension.

Changes:

  • Expands the content script match pattern from the GitHub dashboard/org pages to https://github.com/*.
  • Adds github-chat.js, which injects a fixed Chat button in the bottom-right corner.
  • Adds a toggleable chat panel with Escape/close-button support.
  • Loads the existing GitHub Chat web app in an iframe.
  • Passes the current repository and page URL as query params when available.
  • Adds responsive styling in github-chat.css.

Manual checks:

  • manifest.json parses successfully.
  • Content script now matches https://github.com/*.
  • New JS/CSS files are included in the manifest.
  • Patch applies cleanly with git apply --check.

Updated content scripts to include new GitHub patterns and additional JavaScript and CSS files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant