Repository navigation
Conversation
Redesign of the whole frontend, replacing the CHART DATUM direction that read as austere: white plates on a warm-neutral ground, one brand green, amber for goals, violet for the AI CFO and forecasts, and the aurora gradient as the one signature (balance card, login panel, brand mark). Tokens keep light-dark() and the @Property registration charts.js relies on; contrast floors hold. Shell: fixed sidebar with the full grouped navigation on desktop plus a slim top bar (greeting, date, "Add transaction", theme, user chip); on phones a bottom tab bar (Home · Activity · + · Budgets · More) and the slide-in drawer. Modals become bottom sheets under 640px; tables reflow into cards; the transactions list shows merchant avatars; loading uses skeletons; the login page gets an aurora panel. Service-worker cache bumped to v5. Forgot / reset password: POST /api/auth/forgot-password mails a one-hour, single-use link (SHA-256 of the token stored, migration 021); POST /api/auth/reset-password changes the password through User.update so every earlier JWT is revoked. Own rate-limit bucket, APP_URL for emailed links, forms on the login page, tests. Housekeeping: jest pins TZ=America/Toronto (the late-evening date test was failing in UTC containers); unused moment/date-fns/express-validator removed, Capacitor and nodemon moved to devDependencies, engines.node >= 22; README bank list and env table corrected (no Tinkoff/stubs); subscription icons map bare names to Font Awesome; DESIGN.md rewritten for the new direction. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vur2p4TYPT5swMvJ15f43j
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.
Summary
Redesign. The CHART DATUM direction (flat teal ground, radius 0, no shadows, monospace money) is replaced by NORTHERN LIGHT: white plates on a warm-neutral ground with soft layered elevation, one brand green, amber for goals, violet for the AI CFO and every forecast, and the aurora gradient as the single signature (balance card, login panel, brand mark, the "+" tab). Tokens keep
light-dark()and the@propertyregistration thatcharts.jsreads; the contrast floors enforced bytest/fe-shell.test.jsstill hold in both themes.DESIGN.mdis rewritten for the new direction.Native shell. Desktop (≥1024px): fixed sidebar with the full grouped navigation plus a slim top bar (greeting, date, "Add transaction", theme toggle, user chip, log out). Phones/tablets: top bar with menu, a bottom tab bar (Home · Activity · + · Budgets · More) and the existing slide-in drawer. Modals become bottom sheets ≤640px, every table reflows into cards, transactions get merchant avatars (hue hashed from the description), loading shows skeletons instead of a spinner, the login page gets an aurora panel. Service-worker cache bumped to
finman-v5.Forgot / reset password (the audit's P0: a user who forgot the password was locked out for good).
POST /api/auth/forgot-passwordalways answers the same 200; when the email has an account it mails a one-hour, single-use link throughemailService(Resend). Only the SHA-256 of the token is stored (migrations/021_password_resets.js).POST /api/auth/reset-passwordchanges the password throughUser.update, which bumpstoken_version, so every JWT issued before the reset is revoked. Newer requests void older tokens.APP_URLcontrols the origin of emailed links behind a proxy./reset-password?token=…form.test/password-reset.test.jscovers the flow (generic reply, mailed token, weak password, bad/expired/reused token, old JWT dead, new login works, APP_URL).Housekeeping.
jest.config.jspinsTZ=America/Toronto:fe-review › ymd uses the local calendarfailed in UTC containers.moment,date-fns,express-validatorwere declared but never required: removed. Capacitor packages andnodemon(bumped to 3.x) moved todevDependenciesso the production image stops shipping them.engines.node >= 22.RESEND_API_KEY/MAIL_FROM/APP_URLdocumented. Auth rate-limit message is English like the rest of the shell.cloud/tvrendered as raw text; they now map to Font Awesome glyphs.Test plan
npm teston this branch: 67 suites / 899 tests green, plustest/password-reset.test.js6/6 (run separately; 905 total). The TZ-dependent date test now passes in a UTC container.npm ls --omit=devresolves with 22 production packages🤖 Generated with Claude Code
https://claude.ai/code/session_01Vur2p4TYPT5swMvJ15f43j