Repository navigation
fix(ui): render the remaining icon-only actions as ButtonUtility (backport 2.1 #37662) - #37783
Conversation
) * fix(ui): render the knowledge graph and ontology conflict icon actions as ButtonUtility The knowledge graph canvas controls and the ontology conflicts collapse toggle were children-less core Buttons. Per ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon they are lg ButtonUtility actions, matching the Lineage canvas controls. * fix(ui): render the remaining icon-only actions as ButtonUtility Converts the leftover icon-only core Buttons and raw buttons: the classic alert rule remove and test case filter clear, the classic notification bell, the inbox sort trigger, the dimensionality heatmap scroll buttons, and the bordered ontology and knowledge graph toolbar triggers. Each keeps the box of the Button it replaces. The ontology comment send action becomes primary. Records the bordered case as v8 of ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon. * docs: record which icon-only controls stay outside ButtonUtility Adds v9 to the icon-only actions record listing the feed comment/reply buttons, split-button chevron, colour swatches and drag handles with the reason each stays as it is, and points component-library.md at it. (cherry picked from commit 479caed)
Code Review ✅ Approved 🟡 Medium riskReplacing icon-only controls across ontology, graph, alert, and heatmap views changes button semantics and could impair keyboard access or actions if behavior differs. Backport to 2.1 converts the remaining icon-only actions (knowledge graph controls, ontology toolbar and conflicts toggle, inbox and notification triggers, dimensionality heatmap scroll buttons, classic alert and filter clear) to VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Backport of #37662 to
2.1: converts the remaining icon-only actions (knowledge graph controls and toolbar, ontology conflicts toggle, Ontology Studio library/import-export/full-screen, ontology overview stat card arrow, inbox menu trigger, dimensionality heatmap scroll buttons, classic notification bell, classic alert rule remove, classic test case filter clear) toButtonUtility, and adds v8/v9 to ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon. See #37662 for the full table and screenshots.Conflict resolved:
OntologyExplorerPage.tsx. Onmainthe full-screen toggle is gated byshowsFullScreenToggle(), which2.1doesn't have. The backport keeps2.1's always-rendered toggle and applies only theButton→ButtonUtility(lg) swap.Type of change:
Testing
yarn ui-checkstyle:changedon the 16 changed files: clean, no diff.tsc --noEmit: no errors in changed files. The 11 TS4023/TS4053 errors are in files this PR doesn't touch.🤖 Generated with Claude Code
Summary by Gitar
ButtonUtilityButtonUtilityADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon, covering secondary bordered actions and exclusions.claude/rules/component-library.mdThis will update automatically on new commits.