feat(v2): operator-side cassette inventory v1.1 + signer.nip44_* migration (#29) #30
1 changed files with 3 additions and 1 deletions
fix(v2)(ui): dirty cassette row — inset shadow accent, not bg-color class
Some checks failed
ci.yml / fix(v2)(ui): dirty cassette row — inset shadow accent, not bg-color class (pull_request) Failing after 0s
Some checks failed
ci.yml / fix(v2)(ui): dirty cassette row — inset shadow accent, not bg-color class (pull_request) Failing after 0s
Previous attempt (commit 5f9c84b) added text-grey-9 to bg-yellow-1 on
the q-tr dirty class. Didn't work: per CLAUDE.md "CSS specificity trap"
— LNbits applies theme overrides on Quasar utility classes with
!important, so extension class rules lose the fight even when the
pairing is correct.
Switching to inline :style with an inset left-edge box-shadow accent
(4px yellow bar) instead of changing background or text colors at all.
Per CLAUDE.md: "Inline `style` attrs (static or via Vue `:style`) win
without an arms race." The dirty indicator is now a vertical yellow
accent on the row's left edge — visible under dark theme without
touching contrast.
Reported by user during v1 joint-smoke UX pass: editing count or
position turned the row cream-coloured and made cell contents
unreadable. Fix verified with the same screenshot scenario.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
commit
23b615601f
|
|
@ -1029,7 +1029,9 @@
|
||||||
hide-pagination>
|
hide-pagination>
|
||||||
<template v-slot:body="props">
|
<template v-slot:body="props">
|
||||||
<q-tr :props="props"
|
<q-tr :props="props"
|
||||||
:class="props.row._dirty ? 'bg-yellow-1 text-grey-9' : ''">
|
:style="props.row._dirty
|
||||||
|
? {boxShadow: 'inset 4px 0 0 0 #fdd835'}
|
||||||
|
: {}">
|
||||||
<q-td key="denomination" class="text-right">
|
<q-td key="denomination" class="text-right">
|
||||||
<b v-text="props.row.denomination"></b>
|
<b v-text="props.row.denomination"></b>
|
||||||
<span :style="{fontSize: '0.85em', opacity: 0.6}"
|
<span :style="{fontSize: '0.85em', opacity: 0.6}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue