Skip to content

v1.14.0: Clarity redesign, part 2 — Finances screens (Overview, Transactions, Income, Spending, Bills, Transfers) - #19

Open
gitluis wants to merge 3 commits into
clarity-redesignfrom
clarity-finances
Open

gitluis wants to merge 3 commits into
clarity-redesignfrom
clarity-finances

Conversation

@gitluis

@gitluis gitluis commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #17 (clarity-redesign), which stacks on #16 (bank-neutral-names). Merge #16, then #17, then this. After #17 merges, retarget this PR to master if GitHub doesn't do it automatically.
Version: v1.14.0, numbered after the open PRs #10 (v1.11.0), #16 (v1.12.0) and #17 (v1.13.0). #18 (v1.10.5) is a separate patch on master. If they merge in a different order, this gets renumbered.

Summary

Part 2 of the Clarity redesign: the Finances screens. Overview, Transactions (All and Payments, the edit drawer, transaction rules) and the screens behind its filter pills (Income, Spending, Bills, Transfers) now follow their mockups section by section. Every number is computed from State; nothing is copied from the mockups.

  • Dropped what the mockups don't show (lists below), kept every control needed to import, edit or manage data, and added what the mockups show that the app didn't compute or store yet.
  • No new top-level State keys. Bills gain three optional fields inside State.bills. Data & Reset → Clear bills now also clears which spotted charges you confirmed or dismissed.
  • The AI summary and detectRecurring() / detectRecurringDeposits() output are unchanged (compared before and after on the samples).

What changed

Shared (index.html, ui.js, views-main.js)

  • Page title stays in the shell. Views render no H1. A screen's note and buttons go in a .page-actions row under the title. The mockups' subtitles ("Transfers and card payments excluded", "Recurring charges, due dates…") are that note.
  • Filter pills on all five screens: All · Income · Spending · Bills · Payments · Transfers.
    • All and Payments filter the Transactions list (txPillFilter).
    • Income, Spending, Bills and Transfers open their registered views (income, spending, bills, transfers), the same views as before. Each sets txPillFilter to its pill. The Transactions view treats anything other than all/payments as All, so the app bar link always lands on the list.
    • App bar: TX_VIEWS keeps Transactions underlined on all five (aria-current="true" on the pill screens, "page" on the list).
  • Titles: Income, Spending, Bills & subscriptions, Transfers (were "Income & Deposits", "Spending & Expenses", "Bills").
  • New Clarity classes for KPI tiles, panels, pills, tags, lists, bars, tables, forms and the drawer, using tokens only. New tokens: --track, --accent-dim, --card-soft, --card-border (light and dark). [hidden] now always hides.
  • Charts on these screens are inline SVG or plain boxes (svgLineChart(), sparkSvg(), dailyHeatmapHtml(), .bars). Their colors come from CSS classes that read the tokens, so no hex literals and no Chart.js. Each has role="img" and a description.
  • Drawer: a title row, a scrim, a footer pinned at the bottom, and focus back to the opener on close. openDrawer(html, { title, footer }). The Budget, Bucket and Debt forms still work: their leading <h3> becomes the title.
  • Phones: grids fold, wide tables hide secondary columns below 600px (Transactions puts category, account and flags under the description), and the transfer diagram stacks. The bills table and the calendar scroll inside their own box, as in the mockups.

Overview

  • Added: Net worth with a 1M / 3M / All chart and "▲ $X since Sep 30". Latest month (money in / out / net, savings-rate bar, average rate over up to 6 months, "Data runs through Oct 20"). Account cards with an icon, transaction count, balance sparkline, card utilization bar ("No credit limit set · Add one" without a limit), autopay or last payment, and where the balance comes from (savings: how much is assigned to buckets). 6-month cash flow bars with net per month. Upcoming bills for the next 3 weeks with "Due today" / "Overdue" pills. Largest card purchases of the latest month. Reload CSVs and Ask AI about this buttons.
  • Kept: double-click an account name to rename it; Enter on the focused name now works too.
  • Dropped to match the mockup: the four KPI cards (Total Cash, Total Debt, Net Worth, Cash Flow), the income / spending / transfers bar chart, Recent Transactions, and the Top Spending Category, Most Frequent Merchant and Top Income Source cards.

Transactions (All · Payments)

  • Added: KPIs (transactions, money in, money out, net; on Payments: card payments, total paid, average payment, card balance now). Search with an icon, a Sort menu, a Flags column, a numbered pager. Transaction rules grouped one row per keyword, with match counts, and a "Transaction rules" button that jumps to them.
  • Payments now lists payments to your cards, including the card side of a paired autopay transfer (isCardPayment()). Before, detectTransfers() turned those into transfers, so the pill was empty on the samples.
  • Drawer per mockup: amount, date, account and original description at the top; Category and Type side by side; flag chips; notes; Cancel / Save pinned.
  • Kept (working controls): bulk select and bulk edit (category, type, mark as bill / subscription), the amount filter, the category filter, Export CSV, extra categories per transaction (under "Also count it under other categories"), the link to a budget / bucket / debt (shown when you have one), and adding / deleting rules.
  • Dropped to match the mockup: the Type column, sorting by clicking headers (the Sort menu covers date, amount and description), the custom ✕ on search (the search field's own clear button remains), and "Re-apply rules to all transactions" (rules already apply when added or removed and on every import).

Income

  • Added: KPIs (total, average per month over the period, interest earned with its account, returns & refunds). Income by source as a stacked bar and list. Monthly income bars with values, the unfinished month lighter and labelled "to the 20th". Recurring deposits with frequency, count, last, next expected, confidence and typical amount (recurringDepositsDetail()). All deposits: 6, then Show all.
  • Dropped to match the mockup: the by-category donut.

Spending

  • Added: KPIs (total, average per day, top category with its share, highest month vs average). A ranked category list of buttons (aria-pressed) that fills a drill-down panel; "Open in Transactions" opens the list filtered to that category. Daily heatmap for the period with Less/More legend. Monthly trend line with the highest month labelled and a hollow unfinished month, plus a note on which category pushed that month up. Top merchants with category and visits.
  • Kept: category rules (add, delete, Re-categorize all).
  • Dropped to match the mockup: the two Chart.js category charts and the transaction-count KPI. The heatmap covers the selected period instead of the last 365 days.

Bills

  • Added: "+ Add bill" inline form (name, amount, due day, repeats, pays from). KPIs (bills tracked, per month and its share of average monthly income, due in the next 7 days, subscriptions per month / year). Spotted recurring charges with rhythm ("Monthly, around the 18th"), charge count, account and a confidence bar, plus Confirm / Dismiss / Undo. A collapsible month calendar. Your bills table with repeats, next due, pays from, last paid, status and an edit button.
  • Next due moves on by itself: a repeat already covered by a matching payment counts as paid (billNextDue()); last paid comes from the transactions (billLastPaid()).
  • Kept: add, edit, mark paid and delete. Paid and Delete (click twice) are in the edit drawer, with every other field.
  • Fixed along the way: saving an edited bill used to append a copy (saveBill() always pushed); the new edit button needed it to save in place.
  • Dropped to match the mockup: the "Bills, Utilities & Subscriptions (All Time)" transaction table, the old KPI cards, and the Paid checkbox and × in each row.

Transfers

  • Added: KPIs (transfers, paired / one-sided, between your accounts, sent outside FinLens named by keyword, saved to savings and about how much a month). "Where money moved": a From box per account and an arrow to each destination with amount, count and rhythm; money that left FinLens gets a dashed box. Paired / Keyword match pills. 10 rows, then Show all.
  • Kept: From / To filters (now including Outside FinLens), the transfer drawer (description and notes per leg), the keyword editor.
  • Keywords re-run detection on every change. The separate Re-apply button and its alert are gone.
  • Dropped to match the mockup: Most Frequent Path, Avg per Transfer, the description column and sortable headers.

Stored data (§4.1, §20)

  • Bills can carry account (pays from), subscription and recurringKey (the spotted charge it was confirmed from). They live inside State.bills, so finlens-state.json, IndexedDB app_state, JSON export and Clear bills / Start over already cover them.
  • Dismissed suggestions use the existing recurringConfirmed map; Undo deletes the key.
  • Clear bills also resets recurringConfirmed (PLAN_ALSO in views-cleanup.js), so a cleared bill's suggestion doesn't stay "Added to bills". The Data & Reset row says so.

Helpers (aggregation.js, ui.js)

  • New: balanceAt(), dataSpan(), monthlyFlow(), isCardPayment(), transferPairs(), recurringDepositsDetail(), BILL_FREQS and the bill helpers, fmtSigned(), fmtShort(), acctName(), undoDismissRecurring(), addBill().
  • Refactored, same output: detectRecurring() and detectRecurringDeposits() use recurringKey() / depositKey().
  • Changed: confirmRecurring(r) takes the detected charge; showBillForm(i) / saveBill(i) edit in place.
  • Removed (no other callers): renderHeatmap(), renderUpcomingCal(), renderTransferFlow(), drawSpark(), and the old calendar / heatmap CSS.

Docs and versions

  • CHANGELOG v1.14.0; README screen descriptions, pills, what Export CSV exports (it always exported the whole range, not the filtered list); CLAUDE.md §1, §4.1, §6, §7 (rule 7), §8, §9, §11, §11.1, §12, §20 and the last-updated line.
  • Versions: index.html footer, README badge and footer, views-settings.js Display card.

Calls I made (please check)

  • Net worth and the account cards ignore the Accounts filter, as before. Latest month, cash flow and card purchases follow the date range and accounts.
  • Bills aren't date-filtered: detection uses all transactions, as before.
  • Upcoming bills with no bills yet show the spotted charges due in 3 weeks, marked "not confirmed", instead of an empty card.
  • Merchant names are shown as imported (the mockups' "Target 00021" / "Acme Corp payroll" are prettified sample text).
  • "Autopay on" on a card means its latest payment pairs with a bank row containing "autopay"; otherwise "Last paid Oct 6".
  • Recurring deposit confidence: High = a regular rhythm seen 4+ times, Medium = 2–3 times, Low = no regular rhythm. Spotted charges keep detectRecurring()'s existing confidence (95% for every sample charge).
  • The welcome screen (no data) is unchanged. It has its own mockup and isn't in scope.

Not verified

  • Only headless Chromium. Not run in Edge, Chrome, Safari or Firefox, and not with a screen reader; the accessibility checks are automated.
  • Saving to a real folder. Headless runs have no folder handle, so the new bill fields weren't seen in finlens-state.json itself. They're inside bills, which was already in the saved list, and they survive a reload through IndexedDB.
  • Data unlike the samples: several credit cards, more than 12 months, negative net worth, no savings account, or bills that repeat weekly or quarterly over many months were not tried with real data.
  • Numbers differ from the mockups where the sample data differs (e.g. "Housing" instead of "Rent", 207 spending rows instead of 222). That's expected: the mockups' figures are hard-coded.
  • The drawer doesn't trap focus; Tab can leave it while it's open.
  • Touch targets: pills are 38px on desktop (as in the mockup) and 44px on touch screens (pointer: coarse). Not checked on a real phone.

Noticed, not changed (separate fixes):

  • JSON import writes two keys under the wrong names: importJsonFile() saves recurringConfirmed and categoryRules with lsSet() under those names, but they're stored as recurring and catRules, so after a reload the imported values are gone.
  • periodEndBalance() ignores a starting balance (_initial) for All time but includes it for other ranges. The setting has no input in Settings today.
Automated checks: earlier run, not re-run · commit not recorded

Moved unchanged from this PR's "Test results" comment on 2026-11-04; not re-run, so not in the new table format. Originally a description section titled "How it was tested".

Headless Chromium (Playwright) against samples/ (257 transactions). The sandbox can't reach the CDNs, so the harness served the same pinned versions from npm (Chart.js 4.4.1, PapaParse 5.4.1, Day.js 1.11.10, marked 15.0.12, DOMPurify 3.4.17) and Inter from @fontsource. The marked and DOMPurify files match the SRI hashes in index.html, so the integrity checks ran.

  • New test-finances.js: 126/126 passed. Expected values are computed in the page from State and the helpers, not hard-coded (except the sample's 257 rows, checked against the CSV line count).
    • Navigation: every pill, titles, one H1, Transactions underlined on the pill screens and not elsewhere, the app bar link from a pill screen.
    • Overview: net worth = cash − card debt; 1M / 3M / All point counts and pressed states; chart ends at the hero value; latest-month figures; cash flow nets; card purchases; rename by double-click and by Enter; Ask AI and Manage accounts links.
    • Transactions: KPIs; pages 1, 2, last and previous; search, no-match message, sort, category and amount filters; drawer open / save (description, notes, flag, extra category) / Escape with focus return; bulk category, bulk subscription, select all; rules add / group / delete with match counts; Export CSV (257 rows); Payments KPIs and list.
    • Income: totals, interest, source bar, monthly bars with the dimmed month, recurring deposits, Show all.
    • Spending: KPIs, category buttons and drill-down, "Open in Transactions" with the category filter, a heatmap cell per day (173), trend line, top merchants, category rule add / delete.
    • Bills: Confirm (pays-from account and source key stored, focus kept), Dismiss, Undo, calendar hide / show, add-bill validation and save, KPIs, last paid, edit in place, delete on second click, Overview switching from spotted charges to bills.
    • Transfers: KPIs, flow boxes, Show all, From / To / Outside filters, transfer drawer save, removing "zelle" (Zelle rows become spending) and adding it back with Enter.
    • Accessibility sweep on all seven states: every button and link has a name, every field a label, every role="img" a description.
    • Persistence: after a page reload, bills keep their pays-from account and source charge, a dismissed charge stays dismissed, the account name and keywords stay.
    • Data & Reset: Clear bills also clears confirmed / dismissed charges; Start over leaves no bills, charges, transactions or finlens_* keys.
    • Empty period (December, dark theme): all screens render with empty notes, no errors.
    • Phone (390px) with bills, rules and a card limit set: no sideways page scroll on any screen, transaction rows fit, chart labels don't overlap.
    • 0 console or page errors in every run.
  • test-clarity.js (shell checks from v1.13.0: Clarity redesign, part 1 — one-row app bar, theme in Settings, Clarity visual system #17): 54/54 passed, unchanged.
  • boot.js: 257 transactions, 24 views in light and dark, 0 errors.
  • race.js: 6–8 errors per run, all renderImportLog in views-data.js, the Import Logs bug that v1.10.5: fix Import Logs throwing when the view is left before it loads #18 fixes. With v1.10.5: fix Import Logs throwing when the view is left before it loads #18's views-data.js change applied to a scratch copy of this branch: 0 errors. I didn't bundle that fix here (§0).
  • AI summary unchanged: buildFinancialSummary() for All time, This month and Last 3 months, plus detectRecurring(), detectRecurringDeposits(), byMonth(), byCategory(), balances and every transaction's type and categories, are identical before and after.
  • Screenshots of all seven states at 1280px light and dark and at 390px, plus the drawers and the new-bill form, were reviewed against the mockups. Fixed from that review: overlapping chart labels and cramped cash-flow labels on phones, the bills table pushing the page sideways on phones (a visually hidden header escaped the scroll box), unaligned spotted-charge rows, and spacing in the bill drawer.
Manual QA steps

Setup

  1. Run git checkout clarity-finances.
  2. Copy samples/checking_sample.csv, savings_sample.csv and credit_card_sample.csv into a scratch folder, e.g. Desktop\finlens-test. This PR saves bills, edits and rules, and test 9 clears bills, so never use your real folder.
  3. Use an Edge InPrivate window (Ctrl+Shift+N), so your real FinLens data in your normal profile is not touched.
  4. Open index.html from disk. Press F12 and keep the Console tab open.
  5. Click the gear → Import → 📁 Pick a Folder → finlens-test, and allow edit access. The Data Source card says ✓ 257 transactions loaded.
  6. Click the calendar icon → All time. (The samples end Oct 20, 2026, so "This month" is empty.)

1. Overview

  1. Click Overview.
  2. Click 1M, then 3M, then All above the net worth chart.
  3. Hover the chart line and a cash-flow bar.
  4. Read the Accounts cards.
  5. Click the account name Bank Checking once, then press Enter. Type Main Checking and press Enter.
  6. Click a merchant in Largest card purchases. Press Escape.

Expected:

  • The page row under the title shows today's date, Reload CSVs and Ask AI about this.
  • Net worth shows a dollar amount with smaller cents, and a pill like "▲ $X since Sep 30".
  • 1M / 3M / All each redraw the chart, and the pressed button is highlighted. The chart's last point matches the big number.
  • Latest month · October says "Data runs through Oct 20", with Money in, Money out, Net and a Savings rate bar.
  • Three account cards with icon, kind and transaction count. The credit card shows "No credit limit set · Add one" and "Autopay on".
  • Cash flow shows 6 months of paired bars with the net under each month.
  • Upcoming bills says "Spotted in your transactions, not confirmed as bills yet." (no bills yet).
  • The rename works by Enter, and the new name shows on the card and in the bank-icon popover.
  • The merchant click opens the Transaction detail drawer. Escape closes it.
  • Gone: the four old KPI cards (Total Cash, Total Debt, Net Worth, Cash Flow), Recent Transactions, and Top Spending Category.

2. Filter pills and the app bar

  1. Click Transactions.
  2. Click each pill in turn: All, Income, Spending, Bills, Payments, Transfers.
  3. On Transfers, click Transactions in the app bar.

Expected:

  • The page title changes to Transactions, Income, Spending, Bills & subscriptions, Transactions, Transfers.
  • Transactions stays underlined in the app bar on all six.
  • The current pill is highlighted.
  • The app bar link from Transfers lands on the All list, not on Transfers.

3. Transactions list, drawer and bulk edit

  1. On All, read the four KPIs and the line under the table.
  2. Click 2 in the pager, then ›, then ‹.
  3. Type NETFLIX in the search box.
  4. Set Sort to Largest amount, then back to Newest first.
  5. Clear the search. Set Category to any category, then back to All categories.
  6. Set Amount to More than and type 500.
  7. Set Amount back to Any. Click the description of the first row.
  8. Change Description, tick Subscription, type a note, open Also count it under other categories and tick one. Click Save changes.
  9. Tick the checkboxes of two rows. In the bar that appears, pick a category under Set category… and click Apply.
  10. Click Export CSV.

Expected:

  • KPIs: Transactions 257, Money in, Money out, Net. The footer reads "Showing 50 of 257 · 50 per page".
  • The pager moves between pages and marks the current one.
  • Search finds 6 Netflix rows. Sort reorders them.
  • More than $500 shows only large rows (rent, payroll, card payments).
  • The drawer shows the amount, date, account and "Original: …" at top, with Category and Type side by side and Cancel / Save changes pinned at the bottom.
  • After saving: the new description, the note under it, a Sub flag and both categories show in the row.
  • Bulk apply changes both rows' category and clears the selection.
  • transactions.csv downloads with 257 data rows.

4. Payments

  1. Click the Payments pill.

Expected:

  • KPIs: Card payments 6, Total paid, Average payment, Card balance now.
  • Six "Payment Thank You-Mobile" rows, one per month May–Oct (e.g. $836.91 on Oct 6).

Before this fix: the Payments pill was empty on the samples, because the autopay pair was turned into transfers.

5. Transaction rules

  1. On All, click Transaction rules at the top.
  2. Type SPOTIFY in When description contains, choose Subscription in Flag as, and press Enter.
  3. Add the same text again with Bill.
  4. Click × on the SPOTIFY row.

Expected:

  • The page scrolls to Transaction rules.
  • One row "Contains SPOTIFY → Subscription" with 6 matches. Spotify rows in the list get a Sub flag.
  • Adding Bill puts a second pill on the same row (one row per keyword).
  • × removes the row.

6. Income and Spending

  1. Click the Income pill.
  2. Scroll to All deposits and click Show all … deposits →.
  3. Click the Spending pill.
  4. Click a category in By category, e.g. Groceries.
  5. In the drill-down, click Open in Transactions →.

Expected:

  • Income note: "Transfers and card payments excluded". KPIs: Total income, Average per month, Interest earned, Returns & refunds.
  • Monthly income shows 6 bars. October is lighter and labelled "Oct · to the 20th".
  • Recurring deposits lists payroll with frequency, next expected and confidence.
  • Show all expands the list beyond 6 rows.
  • Spending KPIs: Total spent, Average per day, Top category, Highest month.
  • Clicking a category fills Drill-down. The pressed category is highlighted.
  • Daily spending heatmap with a Less/More legend; Monthly trend; Top merchants.
  • "Open in Transactions" lands on All with Category set to Groceries.

7. Bills: confirm, dismiss, undo, add, edit, delete

  1. Click the Bills pill.
  2. Under Spotted recurring charges, click Confirm as bill on T-MOBILE AUTOPAY.
  3. Click Dismiss on NETFLIX.COM, then Undo.
  4. Click Dismiss on NETFLIX.COM again and leave it.
  5. Click Show calendar.
  6. Click + Add bill. Click Save bill with the name empty.
  7. Type Name Car insurance, Amount 120, Due day 25, Repeats Monthly, Pays from Bank Checking (or your renamed name). Click Save bill.
  8. In Your bills, click the pencil on Car insurance. Change the amount to 130 and click Save bill.
  9. Open its pencil again. Click Delete, then Click again to delete.

Expected:

  • T-Mobile shows ✓ Added to bills. It appears in Your bills with Repeats Monthly, Pays from the checking account, and Last paid Oct 18.
  • Netflix shows Dismissed with Undo; Undo brings back Dismiss / Confirm as bill.
  • The calendar shows the current month with bill names on their days.
  • Saving with no name highlights the Name field and saves nothing.
  • Car insurance appears with Status Just added.
  • After the edit, the table has one Car insurance row at $130.00, not two.
  • The first Delete click only changes the label; the second removes the bill.
  • The KPIs (Bills tracked, Per month, Due in the next 7 days, Subscriptions) update after each change.

Before this fix: editing a bill and saving added a second copy.

8. Transfers and keywords

  1. Click the Transfers pill. Read the KPIs and Where money moved.
  2. Set From to Bank Checking (or your renamed name), then To to Outside FinLens.
  3. Set both back to Any account. Click Show all.
  4. Under Transfer keywords, click × on zelle.
  5. Click the Spending pill and search the top merchants for ZELLE.
  6. Go back to Transfers. Type zelle in Add keyword and press Enter.

Expected:

  • KPIs: Transfers (with "paired · one-sided"), Between your accounts, Sent outside FinLens, Saved to savings ("About $X a month").
  • Where money moved shows checking → savings and checking → card arrows, and a dashed Outside FinLens box.
  • The filters narrow the list. Rows show Paired or Keyword pills. Show all lists more than 10 rows.
  • Removing zelle lowers the Transfers count at once (no Re-apply button). "ZELLE TO M TORRES" now counts as spending.
  • Adding it back restores the earlier KPIs.

9. Persistence and Clear bills

  1. Make sure T-Mobile is confirmed and Netflix dismissed (test 7).
  2. Press F5. Set the range to All time again if needed. Click Transactions → Bills.
  3. Check the edited transaction from test 3 and the account name from test 1.
  4. Wait 10 seconds. Open finlens-test\finlens-state.json in Notepad and search for recurringKey.
  5. Click the gear → Data & Reset. On the Bills row, read the note, then click Clear and Click again to confirm.
  6. Click Transactions → Bills.

Expected:

  • After F5: T-Mobile is still in Your bills with its Pays from. Netflix is still Dismissed.
  • The edit and the account name are kept.
  • The state file has a T-Mobile bill with "account", "subscription" and "recurringKey" fields.
  • The Bills row says "Also forgets which spotted recurring charges you confirmed or dismissed."
  • After Clear: Your bills is empty, and T-Mobile and Netflix both show Dismiss / Confirm as bill again.

10. Regression: dark theme and an empty period

  1. Gear → General → Dark.
  2. Visit Overview and all six pills.
  3. Click the calendar icon → This month (no data in November).
  4. Visit Overview and the six pills again.
  5. Click Plan → Budget, then + Add custom budget. Look at the drawer, then click Cancel.

Expected:

  • Every screen is readable in dark. No red errors in the Console.
  • With no data in range, each screen shows short notes like "No transactions in this month." instead of breaking.
  • The Budget drawer opens with its title in the drawer's header row and closes on Cancel.

Please check before merging

  • Open Overview, Transactions (All and Payments), Income, Spending, Bills and Transfers with your own data, in light and dark.
  • Payments lists your card payments.
  • Bills: confirm a spotted charge, check its pays-from account and last paid date, edit it, reload, and check it's still there.
  • Transfers: remove a keyword, then add it back; the KPIs and Spending move with it.
  • A phone-width window: nothing scrolls sideways.
  • Data & Reset → Clear bills, then Bills: the spotted charges are pending again.
  • You're happy with the calls listed under "Calls I made" and the dropped items under each screen.
  • Manual QA passed in Edge/Chrome with a real folder

Generated by Claude Code


Generated by Claude Code

Overview, Transactions (All / Payments) and the pill screens Income,
Spending, Bills and Transfers rebuilt to match the Clarity mockups. Every
number is computed from State; none come from the mockups.

- Shared: page-actions row under the shell title, filter pills on all five
  screens (Income/Spending/Bills/Transfers stay registered views; the app
  bar keeps Transactions underlined via TX_VIEWS), KPI tiles, panels, and
  inline-SVG/box charts colored by theme tokens with aria descriptions.
- Overview: net worth with 1M/3M/All trend and change since last month,
  latest month with savings rate and 6-month average, account cards with
  sparklines / card utilization, 6-month cash flow with net, upcoming bills,
  largest card purchases.
- Transactions: KPIs, Payments pill shows card payments (incl. the card side
  of autopay transfers), Sort menu, numbered pager, new drawer (Card payment
  type, extra categories kept), grouped transaction rules.
- Income, Spending, Bills, Transfers: rebuilt per mockup, incl. spotted
  charges with Confirm/Dismiss/Undo, month calendar, bills with pays-from /
  last paid / next due, transfer flow diagram, keyword edits that re-run
  detection.
- Bills gain optional account / subscription / recurringKey fields inside
  State.bills; Clear bills also clears confirmed/dismissed spotted charges.
- New aggregation helpers; detectRecurring/detectRecurringDeposits output and
  the AI summary unchanged. Drawer gets a title row, scrim, pinned footer and
  focus return.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
This was referenced Nov 2, 2026
gitluis pushed a commit that referenced this pull request Nov 2, 2026
…ty redesign (#16-#21)

Brings the Clarity redesign (#16 -> #17 -> #19 -> #20 -> #21, v1.12.0 to
v1.16.0) into #10 so the Settings -> Database tab can be rebuilt on it.

Conflicts in CHANGELOG.md, CLAUDE.md, README.md, index.html and
js/views-settings.js were resolved by taking the redesign's version of
each file. #10's changes to them (the 1.11.0 entry and version strings,
the Database tab in SETTINGS_TABS, the unregistered-tab guard, README
tips, CLAUDE.md notes) are rebuilt on the new design in the next commit.

js/views-db.js merged cleanly: the redesign's file plus #10's db-tools
view and DB Inspector re-read fix. Both are restyled next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
Carries master's v1.10.3-v1.10.5 up the stack: declined answers (#14),
literal single "~" (#15) and the Import Logs race fix (#18).

One conflict: CLAUDE.md's "Last updated" line. Kept this branch's
1.14.0 line and added the v1.10.3-v1.10.5 history. Versions stay 1.14.0;
the CHANGELOG merged cleanly. renderImportLog() keeps #18's guards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
…-finances

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBUZo6LRYpLthSp2PRi

# Conflicts:
#	CLAUDE.md
#	README.md
#	index.html

gitluis commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

Dark theme taken out of the stack (Luis, 2026-11-04). #17 is light only for now: no ◐ toggle, no Light / Dark / Match system setting, no dark tokens. It comes back later in its own PR. #17's change was merged forward into this branch (no force push).


🤖 Generated with Claude Code

https://claude.ai/code/session_013Z8iBUZo6LRYpLthSp2PRi


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request redesign Part of the Clarity redesign

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants