Repository navigation
fix(members): readable fee modals - drop ghost Cancel, widen dates (spec 50) - #284
Merged
Merged
Conversation
…pec 50) TEST feedback on the fee edit modal: - **Black-on-black Cancel.** Chakra's `ghost` variant resolves to `gray.800` in LIGHT mode while the modal hardcodes `bg="gray.800"`, so the ghost buttons were near-invisible (same for the "×" remove-period IconButton). The footers now carry ONLY the primary action — Save (edit) / Edit (view); closing uses the standard modal ✕ / ESC. The remove icon gets `color="whiteAlpha.800"` + a hover background. - **Dates truncated to the year.** The `size="xl"` modal squeezed six columns. Now `size="4xl"` with explicit widths — `9.5rem` per ISO date, `7rem` fee/period, `10rem` split — plus nowrap headers; the split `Select` also gets an explicit white text colour. - spec: design §"Dark surface + light-mode Chakra", tasks 11.2 (status tri-state bullet restored + this session's ergonomics). Not changed (design question raised): `registration_fee` stays a PER-TYPE one-off (not per period). Verified: editor 8 passed, `tsc --noEmit` clean, eslint clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TEST feedback on the fee edit modal — three fixes:
ghostbutton variant resolves togray.800in light color mode, while these modals hardcode a dark surface (bg="gray.800"). The footers now carry only the primary action — Save (edit modal) / Edit (view modal); closing uses the standard modal X / ESC, which is what you said you use anyway. The remove-periodIconButtongets an explicitcolor="whiteAlpha.800"+ hover background.size="xl"modal squeezed six columns; nowsize="4xl"with explicit widths —9.5remfor each ISO date,7remfor period/fee,10remfor split, nowrap headers. The splitSelectalso gets an explicit white text colour.Deliberately not changed:
registration_feeis a per-TYPE one-off, not per period (catalog shape from design #2 / R4 — say the word if you want it per period; that is a validator + reader + derived-field change, not a UI tweak).Verified: editor 8 tests passed,
tsc --noEmitclean, eslint clean.