Repository navigation
Conversation
… visual system (v1.13.0)
- One-row app bar replaces the sidebar: Overview · Transactions · Plan menu
(Budget, Buckets, Debt, Investments, Forecast) · Trends · AI Analysis.
- Sync badge ("Synced" / "Not synced") tied to the folder state; clicking
reconnects when access lapsed, otherwise opens Settings → Import.
- Date range and accounts become icon buttons with popovers; accounts can be
combined; a dot shows when a filter is narrowing the data.
- ☰ menu below 1000px, gear moves into it below 720px.
- Theme moves to Settings → General: Light (default), Dark, Match system.
- Clarity tokens for light and dark (AA contrast on every surface), Inter,
restyled components; charts read their colors from the theme.
- Screen layouts unchanged; per-screen redesigns follow in later PRs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
This was referenced Nov 2, 2026
Open
v1.16.2: Fix Rebuild from your folder clearing everything when the folder has no CSV it can read
#25
Open
Open
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
Open
33 tasks
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.13.0 line and added the v1.10.3-v1.10.5 history. Versions stay 1.13.0; the CHANGELOG merged cleanly (1.13.0, 1.12.0, 1.10.5, 1.10.4, 1.10.3 ...). renderImportLog() keeps #18's guards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
This was referenced Nov 2, 2026
This was referenced Nov 2, 2026
Open
- Remove the [data-theme="dark"] token set, the Light/Dark/Match system choice in Settings → General, and setTheme()/resolvedTheme() and the prefers-color-scheme listener. applyTheme() now only points Chart.js defaults at the tokens. - State.theme is still saved and loaded (storage key unchanged), but nothing reads it, so anyone who had Dark opens in Light. - CHANGELOG v1.13.0, README and CLAUDE.md updated. The dark theme comes back later in its own PR; the removed token set is in ff459fe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Z8iBUZo6LRYpLthSp2PRi
5 tasks
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
Part 1 of the Clarity redesign from the design canvas: the app shell and the visual system. Screen layouts are unchanged. Rebuilding individual screens to match the mockups (Overview, Bills, Budget, Debt, Forecast and so on) comes in follow-up PRs.
What changed
App bar (
index.html,ui.js,init.js)toggleAppBarPopup()andcloseAppBarPopups().<select>. The dot appears when the range isn't the default (This month). Custom range shows From / To inside the popover.setRange()now callsupdateRangeUI().inAccount()already handled arrays). The last checked account can't be unchecked, and the dot shows while filtered.buildAccountFilter()was rewritten for the popover.showView()closes menus only when the screen changes. Without this, the first checkbox click closed the Accounts popover.Sync badge (
views-data.js,core.js)State._folderLinked(in memory only, not persisted, so §20 doesn't change). A folder chosen with the Safari/Firefox file picker setslastFolderNamebut has no handle, so nothing is written back to it. Without the flag the badge would have said "Synced" there.Theme: light only (
ui.js,views-settings.js,index.html)[data-theme="dark"]tokens (master's and the Clarity set), and the Light / Dark / Match system control.setTheme(),resolvedTheme()and theprefers-color-schemelistener are gone. The dark token set is in commitff459fefor when it comes back.applyTheme()now only points Chart.js labels, grid lines and font at the tokens.State.themeis still saved and loaded (storage key unchanged), but nothing reads it. Anyone who had Dark on master opens in Light.Visual system (
index.html)--text-3is#5d6a7e, because the mockup's#64748bis 4.44:1 on the page background.--teal,--amber,--red,--blue,--purple) are aliases, so existing inline styles keep working without touching every view..tabs) and the segmented control (.seg, kept for later use).cssVar()andchartColor('--token', alpha)read the tokens when a chart draws. The hex literals in the Overview, Income, Spending, Trends, Forecast and Investments charts, the sparklines and the transfer-flow SVG are replaced.applyTheme()also sets the Chart.js grid color and font.CHART_PALETTEuses mid-tone hues.Docs
finlens_navCollapsedis no longer written.Not verified
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/at 1280px, 1024px and 390px (phone). 54/54 checks passed.The sandbox can't reach the CDNs, so the harness served the same pinned library versions from npm and Inter from
@fontsource. The marked and DOMPurify files match the SRI hashes inindex.html, so the integrity checks ran.filteredTx(); dot; All accounts resets; the last account can't be unchecked; outside click closes.themestored as'dark', the app still boots light (#f6f7f9background, nodata-theme),setThemeis undefined, there's no theme button or setting, and no page errors. Also on v1.16.0: Clarity redesign, part 4 — Trends, AI Analysis, Settings, Welcome #21, v1.18.0: Backup status in the sync badge; save before leaving #23, v2.0.2: Generic storage names (app_db, app-state.json…) + rename script #58 and v1.18.2: A transfer keyword alone no longer hides money sent or received; flag those for review #59.Not verified:
Found, not fixed here (also on
masterand #16): the Import Logs view fills its table from IndexedDB in asetTimeout. If you leave the view before that runs,renderImportLog()throwsCannot set properties of null(views-data.js). It's a separate bug, so per §0 it gets its own PR: fixed in #18 (v1.10.5, onmaster). The test here pauses 60 ms between screens to stay clear of it.Manual QA steps
Setup
git checkout clarity-redesign.samples/checking_sample.csv,savings_sample.csvandcredit_card_sample.csvinto a scratch folder, e.g.Desktop\finlens-test. Tests 6–7 pick a folder and save to it, so never use your real folder.index.htmlfrom disk. Press F12 and keep the Console tab open throughout.1. The app bar replaces the sidebar
Expected:
2. Plan menu
Expected:
3. Import data and the date range popover
finlens-testand allow edit access.2026-09-01and To to2026-09-30.Expected:
4. Accounts popover
Expected:
5. Light only: no dark theme
Expected:
6. Sync badge: Synced and Not synced
Expected:
7. Sync badge after access lapses (Reconnect)
finlens-testagain. The badge shows Synced.index.htmlagain. (F5 is not enough: access only lapses when the tab is closed.)Note: InPrivate may drop all saved data when closed. If FinLens opens empty with no folder, do this test in a separate Edge profile (profile picture → Other profiles → Add profile) instead, closing and reopening that profile's window.
Expected:
8. Narrow window: ☰ menu
Expected:
9. Regression: every screen still renders
Expected:
Please check before merging
Generated by Claude Code
https://claude.ai/code/session_013Z8iBUZo6LRYpLthSp2PRi
Generated by Claude Code