Repository navigation
improvement(ui): use standard knowledge tag icon size - #8136
waleedlatif1 merged 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Before / after visual reviewActual parent Coverage: Knowledge-base and document-tag rows, long values, light/dark and destructive hover. Intentional differences: Hit areas grow from 16px to 20px; the trash glyph remains 12px. Standard corners become 4px and stroke becomes 1.25px. Gray resting ink and destructive hover color stay unchanged. Rows grow from 37px to 38px. Fixture limits: These fixtures render the actual KnowledgeTagRow with the consumers’ stopPropagation and keyboard-target guard. Click, Enter and Space invoke removal without activating the row; activating the row itself still works. No live tag deletion was performed. The API has no disabled mode, so none was invented. Product CSS/fonts are used; hover is a fixture-only preview of the generated hover CSS. The full scanner removes 2 targeted findings; the parent-relative diff checker reports zero new findings. Workspace type checks, lint, import/API audits and all EMCN tests passed. Full CI run.
|
2b16e72 to
5e8223b
Compare
853707c to
79cd1de
Compare
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
54e1c01
into
codex/control-fix-destructive-ghost-buttons

Summary
Use the existing
Button size="icon"for knowledge tag removal, replacing localsize-4 p-0overrides. Preserve labels, callbacks, keyboard guards, propagation handling and the destructive muted variant.The hit area grows from 16px to 20px; the 12px glyph stays unchanged. Standard corners become 4px and stroke becomes 1.25px. Resting gray and red hover color remain unchanged. Tag rows grow from 37px to 38px.
Validation
Workspace types, lint, import/API audits, registry and generated-document checks pass; the complete EMCN suite passes.
Full scanner removes both targeted findings (926 → 924 total findings); the actual-parent diff checker reports zero introduced findings. No policy or suppression changes.
Browser checks cover before/after light/dark, destructive hover, long-label fit and removal by click/Enter/Space without row activation.
Screenshots use labelled fixtures rendering the actual product component and consumer event guards; no live tag deletion was performed. Comparison images are attached below.
Final full-source scan removes all 2 targeted findings; actual-parent diff checker reports zero new findings. No linter changes or suppressions.
Before/after screenshots include labelled actual-component fixtures and documented end-to-end limitations.
Full build/test CI passed on
853707cf6be4177075582285b148937e0da521ad.