fix(ui): hover feedback on clickable rows and Secondary button #477
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/MAPPS-411-hover-feedback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements MAPPS-411 (2026-08-04 mokosh-apps UI audit, F15/F19/F20): clickable rows and the Secondary button now give hover feedback. 3 files.
F19 - QuoteRow highlights on hover
QuoteRowset a manualclass: "cursor-pointer"with an onclick, so it navigated and showed a pointer but never highlighted, unlike the other 25 clickable rows. It now usesTableRow { clickable: true }, which yields the sharedhover:bg-surface-2 cursor-pointer transition-colors. The manual cursor class is dropped.F20 - projects task row hover is visible
The project-detail task row set
bg-surface-2 ... hover:bg-surface-2, so hovering an already-bg-surface-2element changed the cursor but not the background (dead hover). The resting background is nowbg-surface, sohover:bg-surface-2produces a visible change.F15 - Secondary button hover + focus ring
ButtonVariant::Secondarywas the only variant with no hover feedback and no mouse-focus ring color (the shared base setsfocus:ring-2 focus:ring-offset-2but the variant supplied no ring color). It now appendshover:opacity-90 focus:ring-line-strong, matching the sibling variants and the existing.btn-secondarydefinition in input.css (line-strongis a defined theme token).Completeness sweep
QuoteRowwas the only clickableTableRowusing a manual cursor class; the other cursor-pointer elements are buttons/cards/calendar cells with their own hover, not table rows.bg-surface->hover:bg-surface-2) already differ.Secondaryhas a single definition.Verification
Diff-reviewed (no local cargo):
line-strongresolves as a theme token, the base class carriesfocus:ring-2, no em-dash. CI runs fmt/clippy(-D warnings)/wasm-build/tests.#MAPPS-411
Implements MAPPS-411 (2026-08-04 UI audit F15/F19/F20). QuoteRow uses TableRow { clickable: true } instead of a manual cursor class, so it highlights on hover like every other clickable row; the project task row's resting background changes from bg-surface-2 to bg-surface so its hover:bg-surface-2 is visible; and the Secondary button variant appends hover:opacity-90 focus:ring-line-strong, matching the sibling variants and the existing .btn-secondary definition. #MAPPS-411