Repository navigation
refactor(viewer): pages table and visible pages rule - #443
Merged
Merged
Conversation
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.
What
src/viewer/app/pages.ts+ test:PAGES(Summary, Positions, Activity, Reports, Taxes, Salary),pageName,pageFacts(leaves)-> { fidelity, taxable, roth, k401, pay },visiblePages(facts),openPage(wanted, visible), leaf idsadp:401k,adp:pay,fidelity:<number>REFERENCE_PAGES: today's seven pages (Fidelity Summary, Positions, Activity, Reports, Taxes, ADP Summary, ADP Activity) with their source and the new page each becomes;referenceName,referenceSource,referenceTabs({ adp, taxYears })App.tsxdraws today's tabs from that table: thetabNamemap, theorder-1..order-8chain and theadpPagetest are gone (the order comes from the table, the merge switch keeps place 2)Why
Step 1 of the scope tree plan (one tree of accounts, pages shown only where the scope has data). Nothing the owner sees changes: the same seven tabs, same order, same rules (ADP pages once the 401k is read, Fidelity Taxes once a tax year is read)
Checks
bun test: 603 pass, 0 failparcel build --dist-dir ./.check/out+DIST=.check/out bun src/build/postbuild.ts.claude/tools/etfs/tc/check.shon the changed files: no outputgit diff --checkorder-Nclasses differ)