Skip to content

fix(members): readable fee modals - drop ghost Cancel, widen dates (spec 50) - #284

Merged
PeterGeers merged 1 commit into
testfrom
fix/50-fee-modal-ergonomics
Nov 30, 2026
Merged

PeterGeers merged 1 commit into
testfrom
fix/50-fee-modal-ergonomics

Conversation

@PeterGeers

Copy link
Copy Markdown
Owner

TEST feedback on the fee edit modal — three fixes:

  1. Black-on-black Cancel (and an invisible "x" remove). Chakra's ghost button variant resolves to gray.800 in 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-period IconButton gets an explicit color="whiteAlpha.800" + hover background.
  2. Dates truncated to the year. The size="xl" modal squeezed six columns; now size="4xl" with explicit widths — 9.5rem for each ISO date, 7rem for period/fee, 10rem for split, nowrap headers. The split Select also gets an explicit white text colour.
  3. Spec notes updated (design section on the dark-surface/light-mode mismatch, tasks 11.2).

Deliberately not changed: registration_fee is 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 --noEmit clean, eslint clean.

…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.
@PeterGeers
PeterGeers merged commit c255048 into test Nov 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant