Skip to content

feat: enhanced byot ux.#29

Merged
knightedcodemonkey merged 4 commits intomainfrom
bananas
Mar 22, 2026
Merged

feat: enhanced byot ux.#29
knightedcodemonkey merged 4 commits intomainfrom
bananas

Conversation

@knightedcodemonkey
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 22, 2026 19:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the “Bring Your Own Token” (BYOT) experience for GitHub-powered features by replacing the prior tooltip-style token hint with an interactive info panel and adding a confirmation step before token deletion.

Changes:

  • Replaced the GitHub token hint tooltip with a toggleable info panel that shows different copy for “missing” vs “present” token states.
  • Added a confirmation modal flow before removing a saved GitHub token (reusing the existing confirm dialog helper).
  • Updated Playwright coverage to validate the info panel states and the token deletion confirmation behavior.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/styles/ai-controls.css Adds styling for the new token info button + popover panel and responsive behavior updates for compact viewports.
src/modules/github-byot-controls.js Syncs token state into DOM (dataset + labels) and adds an onTokenDeleteRequest hook to support confirmation.
src/index.html Replaces tooltip attributes/classes with a dedicated token info panel containing state-specific messaging.
src/app.js Implements token info panel open/close behavior and introduces a generic confirmAction used for token deletion confirmation.
playwright/app.spec.ts Adds tests for token info panel content/state and confirmation requirement for token deletion.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@knightedcodemonkey knightedcodemonkey merged commit 23f96fa into main Mar 22, 2026
1 check passed
@knightedcodemonkey knightedcodemonkey deleted the bananas branch March 22, 2026 19:37
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.

2 participants