Skip to content
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

Add ability to Take/Upload Receipts #23046

Merged
merged 104 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
fc0224e
Start to add receipt scan
AndrewGable Jul 10, 2023
cea08ec
Use vision camera 3
AndrewGable Jul 10, 2023
e1b180e
Get Scan Receipt flow starting to work
AndrewGable Jul 11, 2023
add8675
Merge branch 'main' into andrew-scan
AndrewGable Jul 13, 2023
b1a5ba6
🧹 Cleaning up code
AndrewGable Jul 13, 2023
29e526b
Lots of fixes and improvements to camera
AndrewGable Jul 14, 2023
d4003d7
Start on web frontend
AndrewGable Jul 16, 2023
7d849ca
Add drag and drop on web
AndrewGable Jul 17, 2023
388a9a6
Add Receipt drop zone
AndrewGable Jul 17, 2023
ca74afc
Drag and drop is working-ish
AndrewGable Jul 17, 2023
0887b06
Add attachment picker to web button
AndrewGable Jul 17, 2023
ceff072
Clean up web Receipt Selector code 🧹
AndrewGable Jul 17, 2023
13a6e73
Fix web styles
AndrewGable Jul 18, 2023
0b3d13b
Cleaning up native platforms
AndrewGable Jul 18, 2023
a56e28d
Tweaking web styling
AndrewGable Jul 18, 2023
68cfdd1
Fix drag and drop hover style
AndrewGable Jul 18, 2023
ad5e575
Get mobile gallery working
AndrewGable Jul 18, 2023
ef99391
Remove some debug lines
AndrewGable Jul 18, 2023
3e1ca2c
Add permission page for native platforms
AndrewGable Jul 18, 2023
eef663c
WIP
jczekalski Jul 19, 2023
5cacdcc
Cleaning up code
AndrewGable Jul 19, 2023
befa17f
Merge branch 'main' into andrew-scan
AndrewGable Jul 19, 2023
58b7cc0
Fixing some lint
AndrewGable Jul 19, 2023
372733d
Fix translation and test
AndrewGable Jul 19, 2023
c84899f
Add translated strings
AndrewGable Jul 19, 2023
3ef73ff
Keep cleaning up code
AndrewGable Jul 19, 2023
9786f01
Add file validation
AndrewGable Jul 19, 2023
a3a8ba5
clean up
jczekalski Jul 20, 2023
002bb90
resolve conflicts
jczekalski Jul 20, 2023
3f67b9d
syntax improvement
jczekalski Jul 20, 2023
f42152f
revert change added for testing purposes
jczekalski Jul 20, 2023
2b58a42
use usePrevious hook instead of useRef
jczekalski Jul 20, 2023
29e7dbe
Clean up of code for emulators and mobile fixes
AndrewGable Jul 20, 2023
aadbc81
Clean up
AndrewGable Jul 20, 2023
3dd6a09
Add mWeb styles
AndrewGable Jul 20, 2023
60a9fa4
Merge branch 'main' into andrew-scan
AndrewGable Jul 20, 2023
1b747d9
Merge branch 'migrate-drag-and-drop' into andrew-scan
AndrewGable Jul 21, 2023
82fd605
Fix bug with navigating back and calculating view
AndrewGable Jul 21, 2023
090b651
Add isImage to determine whether to show file type image
AndrewGable Jul 21, 2023
4025cb1
Fix lint
AndrewGable Jul 21, 2023
bbbb331
Fix file types on web
AndrewGable Jul 21, 2023
ae94c30
Remove `withLocalize` and use hook
AndrewGable Jul 21, 2023
f84da2d
Add spanish translation
AndrewGable Jul 21, 2023
3d1aab4
Fix bugs found when switching between scan and manual
AndrewGable Jul 25, 2023
9d2dc80
Merge branch 'main' into andrew-scan
AndrewGable Jul 25, 2023
658c70b
Addressing more review feedback
AndrewGable Jul 25, 2023
cebdd0d
Clean up for PR reviews
AndrewGable Jul 25, 2023
cab8ed4
Apply suggestions from code review
AndrewGable Jul 25, 2023
aedefe0
Fix lint
AndrewGable Jul 25, 2023
c267999
Cleaning up names
AndrewGable Jul 26, 2023
f4da1b0
Remove unused props
AndrewGable Jul 26, 2023
c9db6b5
Use `Localize.translateLocal`
AndrewGable Jul 26, 2023
4f1471d
Remove lint
AndrewGable Jul 26, 2023
d24615f
Use React Navigation tabs
AndrewGable Jul 26, 2023
04ef94d
Remove all props and only use Onyx for tabs
AndrewGable Jul 27, 2023
7189bb9
Tweaking styles
AndrewGable Jul 27, 2023
1f97364
Fix style
AndrewGable Jul 27, 2023
ed108cc
FIx navigation
AndrewGable Jul 28, 2023
af221b0
Fix onPress events
AndrewGable Jul 28, 2023
ffc7dc0
Merge branch 'main' into andrew-scan
AndrewGable Jul 28, 2023
d733f30
Migrate drag and drop
AndrewGable Jul 28, 2023
7865d82
Fix lint
AndrewGable Jul 28, 2023
69998f5
Merge branch 'main' into andrew-scan
AndrewGable Jul 28, 2023
c002e31
Remove unused files
AndrewGable Jul 28, 2023
3423021
Fix lint
AndrewGable Jul 28, 2023
716c004
Only set drop effect on drag enter event
AndrewGable Jul 28, 2023
67fef0d
Use stopPropigation instead of not setting effect
AndrewGable Jul 29, 2023
e00e8b9
Cleaning up styles
AndrewGable Jul 31, 2023
623f87d
Merge branch 'main' into andrew-scan
AndrewGable Jul 31, 2023
50b0319
Revert bad merges
AndrewGable Jul 31, 2023
b1c5092
Resolve peer review comments
AndrewGable Jul 31, 2023
3bfcd5c
Fix currency
AndrewGable Jul 31, 2023
7e80c20
Handle empty params
AndrewGable Jul 31, 2023
47ec341
Cleaning up code
AndrewGable Jul 31, 2023
a4a4b60
Fix lint
AndrewGable Jul 31, 2023
aec4a91
Add JSDoc for prop types
AndrewGable Jul 31, 2023
c7634be
Add beta check
AndrewGable Jul 31, 2023
4428bc1
Use navigation params to determine FAB
AndrewGable Jul 31, 2023
6b3dea3
Rename callback
AndrewGable Aug 1, 2023
68d1044
Apply peer review feedback
AndrewGable Aug 1, 2023
ddd1126
Merge branch 'main' into andrew-scan
AndrewGable Aug 1, 2023
20cce36
Lint 🙈
AndrewGable Aug 1, 2023
b99c352
Fix navigation issue
AndrewGable Aug 1, 2023
78a4cd5
Apply peer review comments
AndrewGable Aug 1, 2023
a1190f7
Apply peer review changes to remove iouType from Onyx
AndrewGable Aug 1, 2023
1f8b968
Cleaning up code further 🧹
AndrewGable Aug 1, 2023
7f84439
Move fullScreenWrapper
AndrewGable Aug 1, 2023
d7563f8
Lint
AndrewGable Aug 1, 2023
49df616
Handle split bill case
AndrewGable Aug 2, 2023
317015e
Cleaning up code
AndrewGable Aug 2, 2023
998e401
Clean up code
AndrewGable Aug 2, 2023
19849b1
Move camera null check back to if stataement
AndrewGable Aug 2, 2023
e492c58
Merge branch 'main' into andrew-scan
AndrewGable Aug 2, 2023
a6673e4
Remove duplicated route
AndrewGable Aug 2, 2023
d30f1f0
Use zoom to find best camera
AndrewGable Aug 2, 2023
ca5e2f3
Address peer review comments
AndrewGable Aug 2, 2023
f341c40
Fix Android camera bug when navigating
AndrewGable Aug 2, 2023
81e39d4
Fix import order for lint
AndrewGable Aug 2, 2023
b75c8a9
Use `useIsFocused` hook
AndrewGable Aug 2, 2023
52a0df4
Fix permissions issue with redrawing camera after settings page
AndrewGable Aug 2, 2023
4ba983c
Clean up code 🖌️
AndrewGable Aug 2, 2023
d8b9cdd
Merge branch 'main' into andrew-scan
AndrewGable Aug 2, 2023
cd8256f
Add podfile changes
AndrewGable Aug 2, 2023
f8e0bd7
Update PropTypes
AndrewGable Aug 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ MYAPP_UPLOAD_STORE_FILE=my-upload-key.keystore

# Key Information
MYAPP_UPLOAD_KEY_ALIAS=ReactNativeChat-Key-Alias

# Disable Frame Processors for VisionCamera.
# We might want to re-enable them if we need QR code scanning or other frame processing features (maybe in VisionCamera V3)
disableFrameProcessors=true
196 changes: 196 additions & 0 deletions assets/images/hand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/receipt-doc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/receipt-generic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/receipt-html.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/receipt-svg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading