feat: export full net worth and BudgetLens bundle - #13
Open
cbangera2 wants to merge 6 commits into
Open
Conversation
cbangera2
marked this pull request as ready for review
August 1, 2026 01:38
There was a problem hiding this comment.
Pull request overview
Adds a new “BudgetLens bundle” export format and expands the extension’s wealth exports to include current net-worth breakdown snapshots and per-source account balances, along with a redesigned popup to make export choices clearer and allow snapshot-only exports without selecting a historical date range.
Changes:
- Added a versioned
budgetlens_*_to_*.jsonone-file export (transactions + wealth histories + current snapshots). - Added dated snapshot CSV exports for net worth breakdown and wealth account sources, and allowed snapshot-only exports without a date range.
- Updated popup UI/UX (new export grouping + fixed action bar) and expanded automated tests for the new parsing/export surface.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/popup.test.js | Adds popup behavior coverage for snapshot-only and bundle exports. |
| tests/content.test.js | Expands content-script tests for new snapshot parsers/CSV converters and bundle contract. |
| README.md | Documents the new bundle export and snapshot CSVs; updates Quick Start and changelog. |
| popup.js | Updates export selection logic to allow date-less snapshot exports and adds bundle export type. |
| popup.html | Redesigns the popup layout and introduces the new export options and action bar. |
| popup.css | Styles the new popup layout, including grouped options and the fixed action bar. |
| manifest.json | Bumps extension version to 2.2 and updates description for new capabilities. |
| content.js | Implements current net-worth breakdown + wealth account snapshot parsing, snapshot CSVs, and bundle JSON export. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if (!value || typeof value !== 'object' || visited.has(value)) return; | ||
| visited.add(value); | ||
|
|
||
| if (!Array.isArray(value) && value.rowTitle && value.rowValue) { |
Comment on lines
+14
to
+16
| <h1>Credit Karma Extractor</h1> | ||
| <p class="header-subtitle">Export transactions and wealth data to CSV</p> | ||
| </div> |
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
budgetlens_<start>_to_<end>.jsonexport containing transactions, overall net-worth history, investment history, the current five-category breakdown, and available account-source balancesnet_worth_breakdown_<date>.csvandwealth_accounts_<date>.csvsnapshots for standalone CSV workflowsBundle contract
The BudgetLens bundle uses
format: "budgetlens"andversion: 1. It includes only normalized export data and metadata; it does not contain HAR requests, cookies, credentials, tokens, or raw API responses.Limitations
Validation
Automated checks:
node --check background.jsnode --check content.jsnode --check popup.jsnode --test— 20 passinggit diff --checkCodex also inspected the live Credit Karma overview read-only to confirm the visible segment categories and validated the popup at its extension dimensions. The unpacked extension has not been manually tested by a human.
AI assistance
This pull request was materially assisted by OpenAI Codex. Codex analyzed the response structures, implemented the parsers, bundle contract, export flow, and popup changes, wrote synthetic tests, and ran the automated and read-only validations listed above. Human review and live unpacked-extension testing are still required.