Repository navigation
Add page navigation to multi-page PDF receipts #102776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ishpaul777
wants to merge
35
commits into
Expensify:main
Choose a base branch
from
ishpaul777:ishpaul-102435-pdf-page-nav
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+810
−62
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
45a5ddb
Add page navigation to multi-page PDF receipts
ishpaul777 bfc9bbf
Rename overlay flag to pass spellcheck
ishpaul777 174b5fb
Render only the visible receipt page when flipping pages
ishpaul777 0323b8e
Reset the last drawn receipt page when the receipt is replaced
ishpaul777 d1c1b19
Move the PDF page border to CONST and drop a duplicate map check
ishpaul777 27fb16d
Address review feedback on receipt page navigation
ishpaul777 8db1138
Stop the receipt page label from truncating
ishpaul777 9fac172
Keep the receipt page label on one line
ishpaul777 4210fd3
Tighten the receipt page pill spacing to match the mock
ishpaul777 76f4fe8
Let the receipt page pill size to its text instead of reserving width
ishpaul777 a3bcb48
Drop redundant useCallback now that React Compiler memoizes it
ishpaul777 544b768
Fix stale loaded/failed state and real bugs from MelvinBot's review
ishpaul777 dcd9692
Fix CI typecheck failures
ishpaul777 9e0a322
Apply design review: icon colors per state, stop pill jumping
ishpaul777 898ff8e
Shrink the receipt page pill's minWidth, it was too wide
ishpaul777 49b4326
Stop blocking hover-zoom over the page nav pill
ishpaul777 b14b0f6
Merge branch 'Expensify:main' into ishpaul-102435-pdf-page-nav
ishpaul777 efe57f7
Move the anti-jump minWidth to the label, per design
ishpaul777 ecdf048
Merge remote-tracking branch 'upstream/main' into ishpaul-102435-pdf-…
ishpaul777 0dab557
Block hover-zoom over the page nav pill after all
ishpaul777 a02766d
Bump the receipt page label's minWidth a bit
ishpaul777 1aee12c
Adjust receipt page navigator label's minWidth from 64 to 60 for impr…
ishpaul777 cd16a8a
Try a wider minWidth on the receipt page label
ishpaul777 e661391
Revert "Try a wider minWidth on the receipt page label"
ishpaul777 d7259c1
Mask the page label instead of reserving width for it
ishpaul777 09adc7f
Move page label before buttons in DOM order for screen readers
ishpaul777 67ac322
Announce page changes to screen readers via live region
ishpaul777 ed033e4
Merge upstream/main into ishpaul-102435-pdf-page-nav
ishpaul777 636cd48
Address review: type the style objects, document FIRST_PDF_PAGE, drop…
ishpaul777 d528280
Size the page navigator pill to its label so long translations and fo…
ishpaul777 3748623
Size the page navigator pill from its widest label instead of a fixed…
ishpaul777 033e501
Use absoluteFillObject for the page navigator label overlay
ishpaul777 8050a99
Apply oxfmt to CategoryPicker and TransactionUtils
ishpaul777 973ee70
Use StyleSheet.absoluteFill for the page navigator label overlay
ishpaul777 8fe7cde
Merge branch 'Expensify:main' into ishpaul-102435-pdf-page-nav
ishpaul777 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.