Skip to content

v1.16.1: Fix "Clear transaction edits" wiping every transaction when the browser database is empty - #24

Open
gitluis wants to merge 3 commits into
clarity-insightsfrom
fix-clear-edits-wipes-transactions
Open

gitluis wants to merge 3 commits into
clarity-insightsfrom
fix-clear-edits-wipes-transactions

Conversation

@gitluis

@gitluis gitluis commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #21 (clarity-insights), in a chain of fixes on top of the Clarity redesign (#16 → #17 → #19 → #20 → #21). Merge in order: #16, #17, #19, #20, #21, then the fixes #24–#38 and #39–#50 in order, then #10, then #23. #18 is a separate patch on master (already merged).
This fix doesn't use any other fix's code; it is first in the chain.

Summary

Settings → Data & reset → Clear transaction edits could delete every loaded transaction. This happened when the browser's IndexedDB didn't hold them, which is the case after FinLens restores from finlens-state.json in a new browser or after site data was cleared. With a folder connected, the empty list was then written to finlens-state.json.

The action now rebuilds the loaded transactions from memory, so it removes only the edits. To make that possible, each transaction now keeps its CSV category and type, and IndexedDB rows store the CSV's values instead of the edited ones.

Cause

  • The rebuild came from IndexedDB. DataCleanup.clearEdits() replaced State.transactions with the store's rows: (await DB._getAllTransactions()).map(r => reconstituteTx(r, {})).
  • The store can be empty while transactions are loaded. Boot loads finlens-state.json first (loadStateFromFile()), and picking or reconnecting a folder in an empty browser restores from it (_restoreStateIfBrowserEmpty()). Neither writes the transactions to IndexedDB, so in a new browser or after cleared site data the store is empty.
  • Empty store:
    • Every transaction was dropped from memory.
    • _finish() → saveStateNow() then wrote "transactions": [] to finlens-state.json.
    • On the next boot the file loaded 0 transactions, and the folder's CSVs re-imported. Transactions from CSVs no longer in the folder (older exports moved or deleted) were gone for good.
  • Partial store: only the stored transactions were kept, and a stored row that memory didn't have was added.
  • No IndexedDB (DB._db unset): the rebuild was skipped, so the edits stayed on screen until a reload.
  • Why memory alone couldn't undo an edit: a transaction kept only its original description (_originalDesc). mkTx() applies the edit when it builds the transaction, and detectTransfers() overwrites the category and type. The CSV's category and type were lost.
  • A second cause, fixed here because the fix relies on it: DB.importTransactions() stored the category, type and flags that mkTx() showed, edits included.
    • An import runs while edits exist on Rebuild from your folder, and when importing again after Clear transactions. Those imports saved the edits into the rows.
    • Clear transaction edits then put the edits back, and so did every boot from IndexedDB.
    • DB.loadAll() now takes a transaction's original category and type from its row, so the row must hold the CSV's values.
  • master has both. origin/master (9ba3e79, v1.10.4) has the same clearEdits() body and the same importTransactions() row. A probe on master's code: 257 transactions → 0 in memory, and finlens-state.json written with 0.

What changed

  • DataCleanup.clearEdits() (views-cleanup.js) rebuilds each loaded transaction without its edit, in the same order, with the new DataCleanup._unedited(t, ov, row). Then it runs detectTransfers() and _finish() as before. IndexedDB rows are read only to fill in the category and type of a transaction that doesn't record them. They never decide which transactions exist.
  • _unedited() rebuilds one transaction with reconstituteTx(…, {}):
    • Description: _originalDesc.
    • Notes and plan link: dropped. They live only in the edit.
    • Flags: from the transaction rules (txRuleFlag()), as mkTx() sets them without an edit.
    • Category and type: _originalCategories / _originalType, else the row's.
    • Older files: a transaction from a finlens-state.json written by v1.16.0 or earlier with no row has neither. If its category or type was edited, or it was marked as a transfer, they are worked out again from the description and amount (autoCategory(), debit or credit by sign), as an import of a file without Category and Type columns does. That is exact for checking and savings. A card's own Category and Type (Sale/Payment/Return) can't be recovered; Rebuild from your folder gets them back. These worked-out values aren't recorded as originals.
    • accountOverride (no screen sets it, but older data can hold one): the row's account, as before.
  • mkTx() (core.js) records _originalCategories: [o.category] and _originalType: o.type.
  • reconstituteTx() (db.js) carries both when the record has them. loadStateFromFile() and loadFiles() keep them that way, and finlens-state.json saves them, because it serializes transactions whole.
  • DB.loadAll() passes the row's categories and type as the originals.
  • DB.importTransactions() stores _originalCategories, _originalType and the flags from the rules, instead of what mkTx() showed.
  • An empty transactions store is not filled. Reasons:
    • Filling it is an import's job. Rows go with the accounts coverage, the import_log entry and the schemaId that an import records.
    • The store is empty because of the restore path, whether or not anyone clears edits. Filling it from this button would make the database depend on an unrelated action. If the store should be filled after a restore, that belongs in the restore path, as its own change.
    • Nothing is lost. finlens-state.json, the source of truth (CLAUDE.md §4.5), is rewritten with every transaction, and boot loads it first.
    • Same as today: after a restore, a boot without folder access shows no transactions until Reconnect restores them from the file.
  • Version: v1.16.1 in CHANGELOG.md, the index.html footer, README.md (badge and footer), Settings → General, and CLAUDE.md §1.
  • CLAUDE.md: §4.2 (the two fields; what a transaction keeps of its CSV row), §4.5 (IndexedDB may not hold the loaded transactions), §10 (a stored row holds the CSV's values), §20 (Clear transaction edits), and the Last updated line.

Other paths checked

  • DB._getAllTransactions() callers:
    • DB.loadAll() is fine: it replaces State.transactions only when the store has rows, and runs at boot only when the state file wasn't loaded.
    • clearEdits() is fixed here.
    • DB.queryTransactions() also reads rows, but nothing calls it.
    • views-database.js isn't loaded.
  • clearPlan() doesn't touch transactions.
  • clearImported() and clearSampleData() empty the transactions on purpose.
  • Rebuild from your folder (rebuildFromFolder()): doesn't read IndexedDB. Found, not fixed: it clears memory and the stores before it knows the folder has any CSV. With only finlens-state.json in the folder, it alerts "No CSV files found in the selected folder.", leaves 0 transactions, and rewrites finlens-state.json with 0 (probe-rebuild-empty.js). This is a separate bug for its own PR: it should look for CSV files before clearing.
  • Importing some CSVs (loadFiles()): doesn't read IndexedDB. Found, not fixed: "Choose CSV files" replaces memory with only the chosen files' transactions. Importing just the card CSV after all three samples took memory from 257 to 165 while IndexedDB kept 257, and the next autosave wrote 165 to finlens-state.json (probe-partial-import.js). This is a separate bug for its own PR.
  • JSON import (importJsonFile()) doesn't rebuild transactions. It replaces txOverrides without re-applying them to the loaded transactions, so the edits on screen are stale until a reload. That isn't data loss, and it isn't touched here.
  • Fine: boot (init.js), _restoreStateIfBrowserEmpty(), reconnectDataFolder(), IdMigration.atBoot(), adoptOverrides(), reapplyTransferKeywords(), recategorizeAll() and deleteCategory(). They work on memory, or they load only into an empty browser.

Not verified

  • Real browsers and a real folder. The folder is a fake handle (idbGet('csvDirHandle') is stubbed, and the state file lives in localStorage). Not tried in Edge or Chrome with a real directory, or in Safari or Firefox.
  • More than the 257 samples. No large data sets.
  • Rows stored by v1.16.0 or earlier while edits existed (for example, after a Rebuild with edits) still hold those edits. A transaction loaded from such a row takes them as its originals, so Clear transaction edits can't undo them until Rebuild from your folder rewrites the rows. This is from reading the code; it isn't tested.
  • An unpaired card payment from a v1.16.0 file with no row. Its Payment type would come back as credit, which counts as income. In the samples every card payment pairs with the checking autopay and becomes a transfer again, so the tests can't show this.
  • accountOverride: tested only with an injected edit, since no screen sets it. With no row, the moved account stays.
Automated checks: earlier run, not re-run · 93a373a

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) at 1280×900 against samples/ (257 transactions), with the pinned CDN libraries served from npm, on this branch's final commit 93a373a, chained on #21. Each script ran as NODE_PATH=$(npm root -g) node <script> <repo> <outdir>, from one harness shared by every branch in the stack: the base suites, plus every test added by this PR or by a PR below it (cumulative regression).

Script Result on 93a373a
test-clarity.js 55/55
test-insights.js 137/137
test-finances.js 126/126
test-plan.js 127/127
boot.js 257 transactions, 24 views, 0 errors
race.js 7 errors, all renderImportLog (the race #18 fixes on master; not in this stack)
test-clear-edits.js (new in this PR) 47/47

Measured before the chain

On the original commit 93a373a, which is also this branch's commit: it was already built on 70c7125, so it didn't change when the stack was built.

Headless Chromium (Playwright) against samples/ (257 transactions), with the pinned CDN libraries served from npm. Each script ran as NODE_PATH=$(npm root -g) node <script> <repo> <outdir>.

Script Base 70c7125 (v1.16.0) This branch
test-clarity.js 55/55 55/55
test-finances.js 126/126 126/126
test-plan.js 127/127 127/127
test-insights.js 137/137 137/137
boot.js 0 errors 0 errors
race.js 7 errors, all renderImportLog (#18) 6 errors, all renderImportLog (#18)
test-clear-edits.js (new) 30/47 47/47

No existing suite was changed. Their phone checks still pass, and no phone checks were added (desktop only).

test-clear-edits.js makes five edits through the transaction drawer:

  • a card sale: description, category plus an extra category, type, notes, all three flags, and a bucket link;
  • a card payment;
  • a checking bill;
  • a savings transfer leg;
  • a card return.

Each case then clicks Clear transaction edits twice in Data & reset. Every case checks that no transaction is lost or added, and that no edit is left in State, localStorage or IndexedDB.

  1. IndexedDB holds the transactions: all 257 go back to their CSV values; the rows are unchanged. After a reload (from IndexedDB): 257 transactions, no edits. Passes on the base too.
  2. Restored from finlens-state.json, IndexedDB empty: a new browser context boots from a file with the edits and has 0 rows. After the clear: 257 in memory, all at their CSV values, including the card's own category (Travel) and Payment type. The file written by the fake folder holds 257 transactions and no edits, and each one records _originalCategories and _originalType. The store stays empty. After a reload (from the file): 257, no edits. Base: 0 in memory, 0 in the file.
  3. The same with a v1.16.0 file (the two fields removed): 257 kept. Every transaction is at its CSV values except the edited card sale's category, which is worked out from its description (Transport instead of the card's Travel), as documented. After a reload: the same. Base: 0.
  4. Partial store (the card's rows deleted, one stray row added): memory keeps exactly its 257, all at CSV values; the store keeps its rows. Base: 93 in memory, including the stray row.
  5. Rebuild from your folder while edits exist: the new rows hold the CSV values. After the clear, everything is at its CSV values, and it still is after a reload from IndexedDB. Base: the rows hold the edits, and the clear brings them back.
  6. An edit with accountOverride: the clear puts the transaction back in the account it was imported into. Passes on the base too; it guards against a regression.
  7. No IndexedDB: the values go back right away. Base: the edits stayed on screen.

Probes (one-off scripts):

  • probe-clear-edits-file.js (a fake folder, an empty store, then clearEdits()): master 9ba3e79: 257 → 0, file written with 0. Base 70c7125: the same. This branch: 257 → 257, file written with 257.
  • probe-rebuild-empty.js and probe-partial-import.js: the two bugs found and not fixed, above.
How to reproduce the bug

Run this on the base branch, clarity-insights. master has the same bug.

  1. Do the Setup from the testing steps below, but check out clarity-insights instead of fix-clear-edits-wipes-transactions. Use a scratch folder with the three sample CSVs, never your real data folder.
  2. Close Edge's normal window. Open an InPrivate window (Ctrl+Shift+N) and open index.html in it. (real browser)
  3. Click Pick your CSV folder and choose the same scratch folder. Allow access. (real browser)
  4. Set Date range to All time. Go to Transactions. The tile reads 257, restored from finlens-state.json.
  5. Go to Settings → Data & reset. This browser's database shows 0 transactions.
  6. Go to Transactions, search UBER TRIP, and open the Oct 20 row (−$10.62). Change Category to Groceries and click Save changes.
  7. Go to Settings → Data & reset → Clear transaction edits → Clear → Click again to confirm.
  8. Go to Transactions (All time). Then open finlens-state.json from the scratch folder.

What goes wrong:

  • The Transactions tile reads 0, not 257, and every screen is empty.
  • finlens-state.json now holds "transactions": []. Press F5 and it still shows 0.
Manual QA steps

Setup

  1. git checkout fix-clear-edits-wipes-transactions.
  2. Make a scratch folder, for example C:\temp\finlens-24. Copy the three CSVs from samples/ into it. Never use your real data folder for this PR.
  3. Open index.html in Edge.
  4. Click Pick your CSV folder on the Welcome (or the gear icon → Settings → Import → Pick a folder). Choose the scratch folder and allow access.
  5. Click the calendar icon (Date range) in the top bar and choose All time. The samples end Oct 20, 2026, so the default "This month" shows nothing. The range resets to "This month" on every reload, so set All time again after each reload.
  6. Go to Transactions. The Transactions tile should read 257.
  7. Go to Settings → Import and click Save now, so the scratch folder has a finlens-state.json.

Every Clear button in Data & reset needs two clicks: Clear, then Click again to confirm.

1. Clear edits in a "new browser" keeps every transaction (the main fix)

  1. Close Edge's normal window. Open an InPrivate window (Ctrl+Shift+N) and open index.html in it. You should see the Welcome. (A separate Edge profile also works.)
  2. Click Pick your CSV folder and choose the same scratch folder. Allow access.
  3. Set Date range to All time. Go to Transactions. The tile reads 257: they were restored from finlens-state.json.
  4. Go to Settings → Data & reset. Under What FinLens has stored, This browser's database starts with 0 transactions. This is the state that triggered the bug.
  5. Go to Transactions. In Search transactions, type UBER TRIP. Click the first row's description (Oct 20, −$10.62).
  6. In Transaction detail, change Description to TEST RENAME, Category to Groceries, Type to Income / refund. Tick Bill. Type hello in Notes. Click Save changes.
  7. Clear the search box and type TEST RENAME. Confirm the row shows Groceries, a Bill flag and the note.
  8. Go to Settings → Data & reset. The Clear transaction edits row says 1 renamed, re-categorized or flagged transaction goes back to its CSV values.
  9. Click Clear on that row, then Click again to confirm.

Expected:

  • A green message: Transaction edits cleared. Backup file updated.
  • The row now says No edits yet.
  • This browser's database still shows 0 transactions (the PR does not fill it on purpose).
  • Transactions (All time) still reads 257.
  • Searching UBER TRIP shows the Oct 20 −$10.62 row again with category Travel, no Bill flag and no note. Searching TEST RENAME finds nothing.

Before this fix: after step 9 the Transactions tile reads 0, and every screen is empty.

2. The state file still holds every transaction (persistence)

  1. Still in the InPrivate window from test 1, press F5.
  2. Set Date range to All time and go to Transactions.
  3. Open finlens-state.json from the scratch folder in Notepad or VS Code. Search for _originalCategories.

Expected:

  • After the reload, the tile reads 257 and the UBER TRIP row is still at its CSV values.
  • finlens-state.json has "txOverrides": {} and each transaction has _originalCategories and _originalType fields (for example "_originalCategories": ["Travel"], "_originalType": "debit" on an UBER TRIP).

Before this fix: the file holds "transactions": [] and the reload shows 0.

3. Clearing edits when IndexedDB holds the transactions (normal browser)

  1. Close the InPrivate window. Open index.html in a normal Edge window. Set All time.
  2. Go to Settings → Data & reset. This browser's database shows 257 transactions.
  3. Go to Transactions. Search SPOTIFY USA, open the Oct 9 row (−$11.99), change Category to Housing, click Save changes.
  4. Search Payment Thank You, open the Oct 6 row (+$836.91). Change Category to Shopping and Type to Expense. Click Save changes.
  5. Go to Settings → Data & reset → Clear transaction edits → Clear → Click again to confirm.

Expected:

  • This browser's database still shows 257 transactions.
  • The SPOTIFY row is back to Entertainment.
  • The Oct 6 Payment Thank You row shows Transfer in again, and on Transfers the Oct 6 $836.91 checking → card pair is listed.
  • Transactions (All time) reads 257.

4. IndexedDB rows store the CSV values, not the edits (Rebuild)

  1. In the normal window, go to Transactions, search TARGET 00021, open the Oct 17 row (−$75.63).
  2. Change Category to Housing and tick Subscription. Click Save changes.
  3. Go to Settings → Data & reset → Rebuild from your folder → Rebuild → Click again to confirm.
  4. Wait for Rebuilt from "…": 257 transactions re-imported. Check TARGET is still Housing with the Subscription flag (the edit is kept).
  5. Press F12 → Application → IndexedDB → finlens_db → transactions. Use the key filter or scroll to find the TARGET 00021 row dated Oct 17 (amount −75.63). Click the refresh icon first.
  6. Close DevTools. Click Clear transaction edits → Clear → Click again to confirm.
  7. Press F5, set All time, and search TARGET 00021 again.

Expected:

  • In step 5 the row has categories: ["Shopping"], type: "debit" and isSubscription: false.
  • After the clear, TARGET (Oct 17) shows Shopping and no flag.
  • After the reload it still shows Shopping and no flag.

Before this fix: the IndexedDB row holds ["Housing"] and isSubscription: true, and in a browser that boots from IndexedDB the clear brings the edit back.

5. Transaction rules still flag after clearing (regression)

  1. Go to Transactions and click Transaction rules at the top.
  2. In When description contains, type LIBERTY INTERNET. Set Flag as to Bill. Click Add rule.
  3. Search LIBERTY INTERNET. Confirm the rows show a Bill flag.
  4. Open the Oct 15 row (−$59.99). Untick Bill, then click Save changes. The row no longer shows Bill.
  5. Go to Settings → Data & reset → Clear transaction edits → Clear → Click again to confirm.

Expected:

  • The Oct 15 LIBERTY INTERNET row shows the Bill flag again (it comes from the rule).
  • The other LIBERTY INTERNET rows still show Bill.
  • The rule is still listed under Transaction rules.

6. A savings transfer leg goes back to being a transfer

  1. Go to Transactions, search ONLINE TRANSFER TO SAVINGS, open the Oct 3 row (−$525.00).
  2. Change Type to Expense and Category to Shopping. Add moved in Notes. Click Save changes.
  3. Go to Settings → Data & reset → Clear transaction edits → Clear → Click again to confirm.

Expected:

  • On Transfers, the Oct 3 $525.00 checking → savings pair is back.
  • On Transactions, the row shows Transfer out and no note.
  • F12 → Console shows no red errors from the clear.

Please check before merging

  • On your own data, with your folder connected: Data & reset counts before and after Clear transaction edits match, and finlens-state.json still lists every transaction.
  • A new browser profile: pick the folder (FinLens restores from the file), edit a transaction, then Clear transaction edits. Nothing disappears.
  • The DB.importTransactions() change belongs in this PR rather than its own: DB.loadAll()'s originals are only right if the rows hold the CSV's values.
  • Not copying the transactions into an empty IndexedDB store is the behavior you want.
  • finlens-state.json grows by two fields per transaction (_originalCategories, _originalType). That's acceptable.
  • The two bugs found and not fixed have their own PRs, stacked on this one: Rebuild from a folder with no CSV (v1.16.2: Fix Rebuild from your folder clearing everything when the folder has no CSV it can read #25) and importing only some CSVs (v1.16.3: Fix importing some CSV files losing the other loaded transactions #26).
  • Manual QA passed in Edge/Chrome with a real folder

https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft


Generated by Claude Code

…er database is empty (v1.16.1)

DataCleanup.clearEdits() replaced the loaded transactions with IndexedDB's rows.
After a restore from finlens-state.json (a new browser, cleared site data) that
store is empty or partial, so every transaction vanished from memory, and with a
folder connected _finish() then wrote the empty list to finlens-state.json.
master has the same code.

- clearEdits() now rebuilds each loaded transaction without its edit, from the
  transaction itself (DataCleanup._unedited()): original description, category
  and type, no notes or plan link, flags from the rules, then detectTransfers().
  No transaction is dropped or added; the transactions store isn't written.
- Transactions keep their CSV category and type: mkTx() records
  _originalCategories and _originalType, reconstituteTx() carries them,
  DB.loadAll() takes them from the row, and finlens-state.json saves them.
- A transaction from a <=v1.16.0 file with no row has neither: an edited
  category/type, or a transfer, is worked out again from the description and
  amount (exact for checking and savings; a card's own columns can't be).
- DB.importTransactions() stores the CSV's category, type and rule flags, not
  the edits mkTx() applied, so an import while edits exist (Rebuild from your
  folder) no longer saves the edits into the row.
- Version bumped to v1.16.1 (CHANGELOG, footer, README, Settings, CLAUDE.md);
  CLAUDE.md §4.2, §4.5, §10 and §20 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
gitluis pushed a commit that referenced this pull request Nov 2, 2026
…e-tab

Merges cleanup-stale-docs-and-dead-code (#38), the top of the fix chain
stacked on #21, so #10 can merge last. No rebase.

Conflicts:
- Versions: 1.17.0 kept in the footer, README, Settings -> General and
  CLAUDE.md §1. CHANGELOG: 1.17.0, then 1.16.15 ... 1.16.1, then 1.16.0.
- CLAUDE.md: "Last updated" is #10's note followed by the chain's
  history; §3's views-db.js line names both the Database tab and the
  Changelog view that reads CHANGELOG.md.
- views-db.js: #10's rebuilt DB Schema code, with #30's plan link note
  ({type,id}); the Changelog banner keeps "4. CHANGELOG" with #38's
  text and code (loadChangelog(), no embedded copy).
- views-settings.js: #10's tab-bar comment and version line.
- #10's wording about the embedded changelog, which #38 removed, is
  updated in CLAUDE.md §19 and the 1.17.0 entry.

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

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), with
clarity-insights' port of #14 to the rebuilt AI tab.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
gitluis pushed a commit that referenced this pull request Nov 2, 2026
…e-status-indicator

Brings the Clarity redesign and fix stack (#16-#21, #24-#38, #10) into #23,
so its backup status can be rebuilt on the app bar.

All seven files #23 touched conflicted (CHANGELOG.md, CLAUDE.md, README.md,
index.html, js/core.js, js/views-data.js, js/views-settings.js). Each was
resolved by taking the redesign's version: the sidebar #23 built on is gone.
The tree now equals settings-database-tab at 477f357. The next commit
rebuilds #23's changes on the app bar's sync badge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
gitluis pushed a commit that referenced this pull request Nov 2, 2026
…database-tab

Brings in the second fix chain (#24-#38 already merged here; now the twelve
fixes v1.16.16-v1.16.27). Version stays v1.17.0; CHANGELOG runs 1.17.0,
1.16.27 ... 1.16.0, 1.10.5 ...

Conflicts:
- CHANGELOG.md: 1.17.0 entry on top of the chain's changelog.
- README.md, index.html, js/views-settings.js, CLAUDE.md section 1: v1.17.0.
- CLAUDE.md Last updated: #10's note, then the chain's history from v1.16.27.
- js/views-db.js: #10's rewritten DB Schema kept; the chain's one change there
  (ruleCategories in the app_state note, v1.16.25) applied to #10's note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Z8iBXzUjiQbYziDZ8CZft
@gitluis gitluis added bug Something isn't working data loss Fixes a bug that loses or corrupts saved data labels Nov 3, 2026 — with Claude
@gitluis gitluis added this to the Clarity stack (v1.12.0 → v1.18.1) milestone Nov 3, 2026 — with Claude
…ar-edits-wipes-transactions

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

# Conflicts:
#	js/views-settings.js
@gitluis gitluis changed the title v1.16.1: fix "Clear transaction edits" wiping every transaction when the browser database is empty v1.16.1: Fix "Clear transaction edits" wiping every transaction when the browser database is empty Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working data loss Fixes a bug that loses or corrupts saved data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants