Skip to content

Fix white-on-white filters, restyle edit modal, widen insert-values on desktop - #54

Merged
pacifinance-ops merged 1 commit into
mainfrom
fix/theme-props-and-modal-styling
Aug 19, 2026
Merged

Fix white-on-white filters, restyle edit modal, widen insert-values on desktop#54
pacifinance-ops merged 1 commit into
mainfrom
fix/theme-props-and-modal-styling

Conversation

@alessiospera

Copy link
Copy Markdown
Collaborator

Summary

Follow-up fixes from live-testing #53's modal and mobile-table changes.

  • White-on-white filter inputs: the shared FilterRow/FilterInlineRow components (used by every Outflows/Incomes/Shared-Expenses filter panel) weren't receiving the theme prop they need to color their own note/date <input>s and any nested <select> - rendering as plain unthemed white boxes with unreadable white-on-white text in dark mode. Fixed everywhere this pattern occurred (10 call sites across Outflows, Incomes, and the new Shared Expenses filter panel).
  • Edit-modal field styling: category/typology/amount/note/date/purpose fields still used the old inline-edit style (a permanent blue-tinted border meant to flag "you're editing this" inside a dense list row) - visually inconsistent now that they live in a modal, which already signals that on its own. Switched to the same neutral field style used elsewhere in the app's modals/forms.
  • Redundant cancel button: removed "Annulla modifica" from the modal footer - the header's ✕ already closes/cancels it.
  • insert-values desktop width: the page's content area was capped at 1100px, leaving large unused margins on wide screens and forcing the transaction table to horizontally scroll even when the window had room to spare. Widened to 1400px (matching Comparison/Knowledge) and let the table fill its container instead of capping at 1200px on its own.

Test plan

  • npm run lint - 0 errors
  • npm test - 105 files / 1783 tests passing
  • npm run build - production build succeeds
  • Manual check on the Vercel preview: Outflows/Incomes/Shared-Expenses filter panels in dark mode, the edit modal's field styling, insert-values table width on a wide desktop screen

🤖 Generated with Claude Code

…modal, and widen insert-values on desktop

The shared FilterRow/FilterInlineRow components weren't receiving the theme
prop they need to color their own note/date inputs and nested selects,
rendering as unreadable white-on-white boxes in dark mode wherever filter
panels are used (Outflows, Incomes, Shared Expenses). The transaction-edit
modal's fields still carried the old inline-edit blue-border styling, which
no longer made sense once they moved into a modal - switched to the app's
standard neutral field style and dropped the now-redundant cancel button
next to the modal's own close (X) button. insert-values was also capped at
1100px wide, forcing the transaction table to horizontally scroll even with
plenty of unused space on a desktop window - widened to 1400px and let the
table fill its container instead of capping at 1200px on its own.
@alessiospera
alessiospera requested a review from BolleA7X as a code owner August 19, 2026 10:09
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pacifinance Ready Ready Preview Aug 19, 2026 10:10am

@pacifinance-ops
pacifinance-ops merged commit bf4dec0 into main Aug 19, 2026
7 of 8 checks passed
@pacifinance-ops
pacifinance-ops deleted the fix/theme-props-and-modal-styling branch August 19, 2026 10:16
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.

2 participants