hackbot-ui: add GitHub source link to header + remove "demo"#6383
Open
sylvestre wants to merge 2 commits into
Open
hackbot-ui: add GitHub source link to header + remove "demo"#6383sylvestre wants to merge 2 commits into
sylvestre wants to merge 2 commits into
Conversation
Add a GitHub icon link in the topbar pointing to the hackbot-ui source on GitHub, making it easy for contributors to find and explore the code.
There was a problem hiding this comment.
Pull request overview
Updates the Hackbot UI header to link back to this repo’s source code and removes the “demo” label, making it easier for users to find the implementation.
Changes:
- Add a GitHub “View source” link in the top bar header.
- Add a GitHub SVG icon to the app’s public assets.
- Add CSS styles for the new GitHub header link and remove the “demo” tag from the layout.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| services/hackbot-ui/public/github.svg | Adds a GitHub icon asset used by the header link. |
| services/hackbot-ui/app/layout.tsx | Replaces the “demo” tag with a GitHub source link in the header. |
| services/hackbot-ui/app/globals.css | Styles the new GitHub link in the header. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+22
to
+28
| <a | ||
| className="github-link" | ||
| href="https://github.com/mozilla/bugbug/tree/master/services/hackbot-ui" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| aria-label="View source on GitHub" | ||
| > |
Comment on lines
+85
to
+88
| header.topbar .github-link:hover { | ||
| opacity: 1; | ||
| color: var(--fg); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.