Skip to content

fix: enforce hidden controls in chatpanel toolbar#14

Merged
YishenTu merged 1 commit into
mainfrom
hide-yt-button-off-youtube
Feb 28, 2026
Merged

fix: enforce hidden controls in chatpanel toolbar#14
YishenTu merged 1 commit into
mainfrom
hide-yt-button-off-youtube

Conversation

@YishenTu
Copy link
Copy Markdown
Owner

This fixes chatpanel toolbar visibility when controls are toggled via the hidden attribute. It adds a shadow-DOM-wide [hidden] { display: none !important; } rule so hidden cannot be overridden by .attach-btn { display: inline-flex; }. It also adds a regression test asserting the template includes the hidden semantics rule. Verified with bun test tests/unit/chatpanel/template/template.test.ts and bun test tests/unit/chatpanel/app/regen-flow.test.ts.

@YishenTu YishenTu merged commit 318206b into main Feb 28, 2026
1 check passed
@YishenTu YishenTu deleted the hide-yt-button-off-youtube branch February 28, 2026 08:20
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