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

Ideal nav updateLastVisitedPath action #14

Closed
wants to merge 1,997 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1997 commits
Select commit Hold shift + click to select a range
08ef17a
fix lint error
rayane-djouah Dec 29, 2023
b29ee2e
Merge branch 'main' into fix/32127-merged-account
paultsimura Dec 29, 2023
0f6fdd3
Fix merge conflicts
paultsimura Dec 29, 2023
85f27fc
Clean up the code
mountiny Dec 29, 2023
fa1df2d
Fix lint
mountiny Dec 29, 2023
939632e
Merge pull request #33490 from dukenv0307/fix/31582
pecanoro Dec 29, 2023
24020a2
Merge branch 'main' into fix/33143-timepicker-selection
paultsimura Dec 29, 2023
1bab5a9
fix: lint
koko57 Dec 29, 2023
3f2c9c7
Revert "Fix RequestMoney tabs animations"
shubham1206agra Dec 29, 2023
c46769b
Support single-digit removal & replacement
paultsimura Dec 29, 2023
23f7ee8
Merge pull request #33761 from shubham1206agra/revert-32577-perf/requ…
mountiny Dec 29, 2023
2cda438
Update version to 1.4.19-2
OSBotify Dec 29, 2023
03dd713
make props optional
rayane-djouah Dec 29, 2023
3a58358
Address PR feedback
mountiny Dec 29, 2023
1e8d47f
fix expression for when login is empty string
rayane-djouah Dec 29, 2023
f21ecce
using || instead of ??
rayane-djouah Dec 29, 2023
89d7479
Merge pull request #32898 from bernhardoj/fix/31622-revert-edit-amoun…
tylerkaraszewski Dec 29, 2023
ebeb5b0
Merge pull request #33729 from Expensify/Rory-UnpinCloudflar
marcochavezf Dec 29, 2023
e357d3d
using undefined instead of null for default pendingAction
rayane-djouah Dec 29, 2023
e6301ac
Merge branch 'main' into vit-harvestingPolicyKey
mountiny Dec 29, 2023
a7eac8f
fix secondaryUserAvatar statement
rayane-djouah Dec 29, 2023
ee3f3b3
fix for when delegateAccountID is empty string
rayane-djouah Dec 29, 2023
a74cc7a
Update version to 1.4.20-0
OSBotify Dec 29, 2023
4adc9cb
fix shouldDisableDetailPage statement
rayane-djouah Dec 29, 2023
a191972
use null instead of undefined for pendingAction default
rayane-djouah Dec 29, 2023
7238366
fix lint error
rayane-djouah Dec 29, 2023
0733b12
run prettier
rayane-djouah Dec 29, 2023
ebac098
Bump Xcode version to 15.1
mountiny Dec 29, 2023
7cd1a1a
Merge pull request #33724 from neonbhai/helpdot-route-update
marcochavezf Dec 29, 2023
68d9663
Try Xcode_15.0.1
mountiny Dec 29, 2023
4aecc34
Merge pull request #33752 from rayane-djouah/fix-default-avatar-not-s…
mountiny Dec 29, 2023
cca0b9d
Update version to 1.4.20-1
OSBotify Dec 29, 2023
48a0c82
Merge pull request #31495 from koko57/refactor/31312-consolidate-getd…
puneetlath Dec 29, 2023
38bb94e
Merge pull request #33077 from VickyStash/ts-migration/optionRow-comp…
mountiny Dec 29, 2023
d30cc3f
Merge branch 'main' into 24955-migrate-withKeyboardState-hoc
fvlvte Dec 29, 2023
9014148
Merge branch 'main' into 24955-migrate-withKeyboardState-hoc
fvlvte Dec 29, 2023
b53b28b
Skip workflow tests on pull request edited
roryabraham Dec 29, 2023
833d3c0
Merge pull request #33775 from Expensify/vit-bumpXcode
roryabraham Dec 29, 2023
9e04f84
Fix typo
mountiny Dec 29, 2023
65b588e
When merchant is set to empty do not make api request
mountiny Dec 29, 2023
8c9a30d
Merge pull request #33564 from dukenv0307/fix/33296
robertjchen Dec 29, 2023
fd31080
Linked issue.
fvlvte Dec 29, 2023
c5a8392
Fixed Welcome message - Hmm its not here not displayed for wrong link
samilabud Dec 18, 2023
b1c6883
Merge pull request #29267 from fvlvte/24955-migrate-withKeyboardState…
mountiny Dec 29, 2023
f630d73
Merge branch 'main' into welcome_message_wrong_link_33230
samilabud Dec 29, 2023
89ee303
Merge pull request #33785 from Expensify/vit-fixMerchantRegression
mountiny Dec 30, 2023
035f468
Merge pull request #31356 from kubabutkiewicz/ts-migration/TextInput/…
Beamanator Dec 30, 2023
f23b55a
Merge pull request #33425 from rayane-djouah/introduce-useResponsiveL…
roryabraham Dec 30, 2023
96cce5d
Update version to 1.4.20-2
OSBotify Dec 30, 2023
0c2599a
Fix types
roryabraham Dec 30, 2023
018585b
Use IconAsset instead of IconProps
roryabraham Dec 30, 2023
8e06e63
Remove unused React import
roryabraham Dec 30, 2023
69e462f
Merge pull request #33451 from ZhenjaHorbach/settings-no-popup-on-vie…
Dec 30, 2023
b6f4f0c
Merge pull request #33728 from Expensify/Rory-ActivePolicyID
Dec 30, 2023
924bee7
Merge pull request #33790 from Expensify/Rory-FixTypes
roryabraham Dec 30, 2023
8cb48e4
Merge pull request #32253 from software-mansion-labs/ts-migration/blo…
Dec 30, 2023
e76361b
show join button
bernhardoj Dec 30, 2023
bc40171
fix regex
bernhardoj Dec 30, 2023
7b08bdb
fix: Codeblocks does not wrap.
Krishna2323 Dec 30, 2023
acf2db6
Update fix
ZhenjaHorbach Dec 30, 2023
28b86ed
Merge branch 'main' into no-emoji-list-after-expanding
ZhenjaHorbach Dec 30, 2023
d0e03fe
fix type
shubham1206agra Dec 30, 2023
b7b84b6
Merge branch 'main' into Migrate-ReportActionItemSingle.js-component-…
rayane-djouah Dec 30, 2023
44ab91f
Fix bug with closing popups for mobile
ZhenjaHorbach Dec 30, 2023
2488eb7
Fix prettier issues
ZhenjaHorbach Dec 30, 2023
7e37ba9
Fix eslint issues
ZhenjaHorbach Dec 30, 2023
40cd5a3
use default tax amount to check invalidTaxAmont
teneeto Dec 30, 2023
21d6849
Merge branch 'main' of github.com:teneeto/App into feat/31672/add-new…
teneeto Dec 30, 2023
5978ea3
Fix type issue
ZhenjaHorbach Dec 30, 2023
7433cdb
Merge pull request #33796 from shubham1206agra/fix-type-header
mountiny Dec 31, 2023
91352ea
Merge branch 'Expensify:main' into Migrate-ReportActionItemSingle.js-…
rayane-djouah Dec 31, 2023
af69ba7
Merge pull request #33552 from rayane-djouah/Migrate-ReportActionItem…
mountiny Dec 31, 2023
111debc
Use memo for the scheduled submit variabel
mountiny Dec 31, 2023
fb09abc
Update src/components/MoneyTemporaryForRefactorRequestConfirmationLis…
DylanDylann Dec 31, 2023
c2c343f
merge main
DylanDylann Dec 31, 2023
913d1a8
Merge branch 'main' into fix/33474-offline-download-receipt
namhihi237 Dec 31, 2023
d05d599
Merge remote-tracking branch 'upstream/main' into fix/issue-32401
aswin-s Dec 31, 2023
d9f3471
fix: move footer padding to const file
aswin-s Dec 31, 2023
fe49e4f
Merge pull request #33217 from dukenv0307/fix/32497
MariaHCD Jan 1, 2024
093e8a4
Allow missing smartscan fields on non-expense IOU requests
paultsimura Jan 1, 2024
1aea9ac
Allow missing smartscan fields on non-expense IOU requests
paultsimura Jan 1, 2024
0e5b4d9
Merge remote-tracking branch 'origin/fix/33786-smartscan-error' into …
paultsimura Jan 1, 2024
12eefc2
Moved logic inside the condition that validates the report ID
samilabud Jan 1, 2024
05c1cfb
Changed goback to using navigate to go home
samilabud Jan 1, 2024
9025a25
Merge branch 'main' into welcome_message_wrong_link_33230
samilabud Jan 1, 2024
6b1a002
Redirecting to same report page without reportActionID when it is not…
samilabud Jan 1, 2024
80503c8
Additional lines removed
samilabud Jan 1, 2024
513ee80
Confirming ready to open app after reportActionID validation
samilabud Jan 1, 2024
becc82a
Added suggestion to redirect
samilabud Jan 1, 2024
36ef4ed
Fixed lint issue
samilabud Jan 1, 2024
f1644e9
Merge branch 'main' of github.com:teneeto/App into feat/31672/add-new…
teneeto Jan 1, 2024
2fd6cb1
Merge branch 'main' into fix/33577-show-join-button
bernhardoj Jan 2, 2024
cb4fc64
Merge pull request #33483 from bernhardoj/fix/32970-don't-focus-if-po…
jasperhuangg Jan 2, 2024
b3fe02a
Merge pull request #33500 from samh-nl/fix/issue-25488
jasperhuangg Jan 2, 2024
0464310
Merge branch 'main' into fix/31391-inconsistent-form-error
bernhardoj Jan 2, 2024
4678d77
fixed calendar picker test
shubham1206agra Jan 2, 2024
4381515
Merge branch 'main' into fix/31706
ishpaul777 Jan 2, 2024
320ff54
Merge pull request #33826 from shubham1206agra/fix-test-2
MonilBhavsar Jan 2, 2024
8e17db4
FIX conflicts
ishpaul777 Jan 2, 2024
62588ea
Merge branch 'fix/31706' of https://github.com/ishpaul777/App into fi…
ishpaul777 Jan 2, 2024
1d29f34
use useLocalize hook instead of withLocalize
HezekielT Jan 2, 2024
9bf4dec
Merge branch 'Expensify:main' into migrate-LocationErrorMessage-to-ty…
HezekielT Jan 2, 2024
ed1d784
Merge branch 'main' into no-emoji-list-after-expanding
ZhenjaHorbach Jan 2, 2024
c94f137
Merge branch 'main' into fix/32539
dukenv0307 Jan 2, 2024
687ace9
fix: Browser back button takes to previous modal while modal back but…
tienifr Jan 2, 2024
84de918
Merge branch 'main' into lhp-ideal-nav
WojtekBoman Jan 2, 2024
b1e4300
Remove the old comment from overlayStyles
WojtekBoman Jan 2, 2024
844fdd4
Merge branch 'main' of github.com:teneeto/App into feat/31672/add-new…
teneeto Jan 2, 2024
e5db886
Update colors
ZhenjaHorbach Jan 2, 2024
1d58bef
refactor & fix back button, and fix logo color
kosmydel Jan 2, 2024
7897986
add missing screen mappings
kosmydel Jan 2, 2024
497420f
refactor paddings
kosmydel Jan 2, 2024
ab9fb03
Merge branch 'main' into ts-fix/UserDetailsTooltip
blazejkustra Jan 2, 2024
cb8ffe7
adjust icons
kosmydel Jan 2, 2024
e4bffbf
Add JSDocs
paultsimura Jan 2, 2024
069d709
Merge branch 'main' into fix/33143-timepicker-selection
paultsimura Jan 2, 2024
6eb0649
Merge branch 'lhp-ideal-nav' into ideal-nav-merge-lhp
kosmydel Jan 2, 2024
4ea1be5
fix icon colors
kosmydel Jan 2, 2024
987ae7c
fix one more icon
kosmydel Jan 2, 2024
ae3e3c9
Fix typecheck
blazejkustra Jan 2, 2024
79ab0dd
Merge branch 'main' into ts-distance-map-view
esh-g Jan 2, 2024
ec52137
Merge branch 'main' into fix/33577-show-join-button
bernhardoj Jan 2, 2024
a98f640
Merge branch 'main' into fix/33412-loading-pdf
namhihi237 Jan 2, 2024
d0b8783
Merge pull request #32990 from DylanDylann/fix/28021-prevent-user-fro…
Gonals Jan 2, 2024
789c094
Merge pull request #33263 from neonbhai/manual-request-flow-button-fix
Gonals Jan 2, 2024
112619c
fix copy in account settings -> share code
kosmydel Jan 2, 2024
7386318
fix colors in WorkspaceSettings
kosmydel Jan 2, 2024
f25b870
Merge pull request #19 from software-mansion-labs/ideal-nav-merge-lhp
MaciejSWM Jan 2, 2024
624a310
Typing refactor
rayane-djouah Jan 2, 2024
f4cba31
Merge branch 'ideal-nav-merge' into @kosmydel/ideal-nav-fixes
kosmydel Jan 2, 2024
fc1dfdc
fix lint issues
kosmydel Jan 2, 2024
c635b20
Merge pull request #33837 from rayane-djouah/Migrate-ReportActionItem…
mountiny Jan 2, 2024
6cec2ec
Merge pull request #33232 from Expensify/monil-passCreatedTime
tgolen Jan 2, 2024
9bf0e9f
Merge pull request #33595 from DylanDylann/fix/33063
tgolen Jan 2, 2024
31f37bc
bottom bar styling, change icon
kosmydel Jan 2, 2024
50be122
Merge pull request #18 from software-mansion-labs/@kosmydel/ideal-nav…
MaciejSWM Jan 2, 2024
d831d77
Merge pull request #33707 from ZhenjaHorbach/no-emoji-list-after-expa…
Beamanator Jan 2, 2024
9844ba7
Merge pull request #33585 from namhihi237/fix/33474-offline-download-…
arosiclair Jan 2, 2024
9dc207f
Merge branch 'main' into ts-migration/popoverMenu-component
VickyStash Jan 2, 2024
1f8e365
Merge pull request #33403 from dukenv0307/fix/33363
arosiclair Jan 2, 2024
6ccdb65
TS fixes after merging main
VickyStash Jan 2, 2024
f245da7
Merge pull request #33538 from aswin-s/fix/issue-32401
puneetlath Jan 2, 2024
eedab7e
Merge pull request #33030 from Expensify/vit-harvestingPolicyKey
puneetlath Jan 2, 2024
19aa83b
Merge pull request #33525 from paultsimura/fix/33423-status-date
tylerkaraszewski Jan 2, 2024
9e57540
Merge pull request #33784 from Expensify/Rory-SkipWorkflowTestsOnEdited
tgolen Jan 2, 2024
2a091de
Update en.ts
jamesdeanexpensify Jan 2, 2024
787547c
Merge pull request #33397 from DylanDylann/fix/26946
francoisl Jan 2, 2024
58f97cd
Merge pull request #33553 from esh-g/ts-distance-map-view
cristipaval Jan 2, 2024
b9e8c54
Merge pull request #32671 from software-mansion-labs/ts-migration/mon…
francoisl Jan 2, 2024
7bb6268
Update Certinia.md
jamesdeanexpensify Jan 2, 2024
1ab17aa
Merge branch 'main' into fix/33786-smartscan-error
paultsimura Jan 2, 2024
e822ee5
Merge pull request #31648 from dukenv0307/fix/29916
thienlnam Jan 2, 2024
4388e1e
fix: delay in displaying comment length limit error
aswin-s Jan 2, 2024
e127d94
Remove duplicated code
paultsimura Jan 2, 2024
b8b675d
Merge pull request #33334 from rojiphil/32068-feature-locationbias
thienlnam Jan 2, 2024
5b02cf0
Merge pull request #33370 from dukenv0307/fix/33001
dangrous Jan 2, 2024
ff13beb
Merge pull request #33251 from nikosamofa/ts-migration/ReportWelcomeText
dangrous Jan 2, 2024
bab1a1d
Merge pull request #33742 from bernhardoj/fix/32682-invite-member
deetergp Jan 2, 2024
8ec1fc0
Merge pull request #33723 from samilabud/welcome_message_wrong_link_3…
roryabraham Jan 2, 2024
8cffccb
Merge pull request #33344 from paultsimura/fix/33143-timepicker-selec…
pecanoro Jan 2, 2024
a2fc252
Merge pull request #32708 from tienifr/fix/30298
amyevans Jan 2, 2024
33ff94c
Merge pull request #32492 from ishpaul777/fix/31706
francoisl Jan 2, 2024
d99257e
Merge pull request #33845 from Expensify/jamesdeanexpensify-patch-2
deetergp Jan 2, 2024
97dc7e5
Update en.ts
jamesdeanexpensify Jan 2, 2024
b53a425
Merge pull request #33850 from paultsimura/fix/33786-smartscan-error
Jan 2, 2024
b73384a
Update version to 1.4.20-3
OSBotify Jan 2, 2024
13edc94
Add an explanatory comment for an early "Hidden" return
paultsimura Jan 2, 2024
ea5c994
Merge pull request #33843 from Expensify/jamesdeanexpensify-patch-1
Jan 2, 2024
f2e9d23
Update version to 1.4.21-0
OSBotify Jan 2, 2024
a34c8cc
Update version to 1.4.21-1
OSBotify Jan 2, 2024
654bbf0
Merge branch 'Expensify:main' into tooltip-31894
chie2727 Jan 2, 2024
5049f8c
Merge pull request #32792 from paultsimura/fix/32127-merged-account
roryabraham Jan 3, 2024
8dbff7c
Merge branch 'main' into fix/33577-show-join-button
bernhardoj Jan 3, 2024
42d39bc
pass parent report id and parent report action id
bernhardoj Jan 3, 2024
9e760a7
Merge branch 'main' into fix/31391-inconsistent-form-error
bernhardoj Jan 3, 2024
6e234b9
Merge pull request #33793 from bernhardoj/fix/31391-inconsistent-form…
jasperhuangg Jan 3, 2024
a83eecc
Merge pull request #33200 from margelo/@chrispader/animated-status-ba…
roryabraham Jan 3, 2024
a793301
Update branch
ZhenjaHorbach Jan 3, 2024
b57f6e0
Merge pull request #33829 from tienifr/fix/33417
jasperhuangg Jan 3, 2024
5462451
Merge pull request #33791 from bernhardoj/fix/33577-show-join-button
srikarparsi Jan 3, 2024
2fe1174
Merge pull request #32903 from dukenv0307/fix/32539
techievivek Jan 3, 2024
cf21461
minor fix.
Krishna2323 Jan 3, 2024
7d2600a
Merge branch 'Expensify:main' into krishna2323/issue/33115
Krishna2323 Jan 3, 2024
c3ba248
fix: Drop file here modal does not dismiss when file is no longer dra…
tienifr Jan 3, 2024
3cf33ff
add comment
tienifr Jan 3, 2024
48f3a87
fix: revert timeout to 1500ms
aswin-s Jan 3, 2024
70f3b99
Merge branch 'main' of github.com:teneeto/App into feat/31672/add-new…
teneeto Jan 3, 2024
1bae03b
clean code
tienifr Jan 3, 2024
494d5fd
merge main
namhihi237 Jan 3, 2024
83c002e
Add home utility route
mateuuszzzzz Jan 3, 2024
27a51a4
Merge pull request #32550 from teneeto/feat/31672/add-new-input-field…
MonilBhavsar Jan 3, 2024
8ff9006
Merge branch 'main' into ws-currency-preview
esh-g Jan 3, 2024
306812c
Merge branch 'main' into ts-fix/UserDetailsTooltip
blazejkustra Jan 3, 2024
7c6b47d
Merge pull request #33499 from software-mansion-labs/lhp-ideal-nav
mountiny Jan 3, 2024
2b4d20d
Merge branch 'main' of https://github.com/mkhutornyi/Expensify-Fronte…
mkhutornyi Jan 3, 2024
034e93d
fix redundant dismiss call when keyboard is not shown
mkhutornyi Jan 3, 2024
f518ab9
Merge pull request #33171 from esh-g/ws-currency-preview
nkuoch Jan 3, 2024
53afb94
Merge pull request #32325 from chie2727/tooltip-31894
nkuoch Jan 3, 2024
446ceb1
Merge pull request #33586 from namhihi237/fix/33412-loading-pdf
MonilBhavsar Jan 3, 2024
3409b2c
[TS migration] Migrate 'ScreenWrapper' component to TypeScript
blazejkustra Jan 3, 2024
fb0b1d1
Merge pull request #29730 from Expensify/jack-allowNewAssigneeTask
rlinoz Jan 3, 2024
11ef0dc
Merge pull request #33597 from HezekielT/migrate-LocationErrorMessage…
youssef-lr Jan 3, 2024
b81690d
Merge pull request #33242 from VickyStash/ts-migration/popoverMenu-co…
rlinoz Jan 3, 2024
21894f4
Merge pull request #33421 from mkhutornyi/fix-32715
aldo-expensify Jan 3, 2024
3fa11a1
Merge pull request #33864 from tienifr/fix/33820
tgolen Jan 3, 2024
c109f36
Add shouldEnableMinHeight default value
blazejkustra Jan 3, 2024
3826e5d
Merge pull request #33730 from Expensify/beaman-showMarkedReimbursedA…
dangrous Jan 3, 2024
273fa79
Merge pull request #33243 from pasyukevich/feature/migrate-CurrencySy…
rlinoz Jan 3, 2024
b3f1456
Merge pull request #32562 from Expensify/alberto-fixReceiptError
NikkiWines Jan 3, 2024
b097996
Merge pull request #33848 from aswin-s/fix/issue-33612
tylerkaraszewski Jan 3, 2024
4ff30c7
Merge pull request #33252 from mkhutornyi/fix-33095
grgia Jan 3, 2024
cd7c599
Update react-native-picker-select package
blazejkustra Jan 3, 2024
4a86066
Merge pull request #33666 from Expensify/ionatan_donotapplysameupdate
iwiznia Jan 3, 2024
923db7f
adapt eslint rules
Jan 3, 2024
a0cbc39
fix: global.d.ts
Jan 3, 2024
d4ef6ca
Move location bias calculation to hook and use it on edit
aldo-expensify Jan 3, 2024
b36f281
Remove console.log
aldo-expensify Jan 3, 2024
62c85a1
add TS_STYLE update
Jan 3, 2024
82b76c1
add lint changes
Jan 3, 2024
9985659
Style
aldo-expensify Jan 3, 2024
19eb210
fix: more errors
Jan 3, 2024
8aec07c
fix: prettier
Jan 3, 2024
062c106
remove extra type keyword
Jan 3, 2024
1a20d7f
Merge branch 'main' into ts/ScreenWrapper
blazejkustra Jan 3, 2024
e48bd27
add eslint-plugin-import
Jan 3, 2024
de75fdb
Revert "Fix/26946: Reset amount when edit waypoint"
roryabraham Jan 3, 2024
d83960e
Merge pull request #33870 from software-mansion-labs/ts/ScreenWrapper
srikarparsi Jan 3, 2024
b6c1a37
Set DEVELOPER_DIR for iOS only
roryabraham Jan 3, 2024
6dcbd1e
Merge pull request #33275 from software-mansion-labs/ts-fix/UserDetai…
robertjchen Jan 3, 2024
3b385ef
Merge pull request #33269 from DylanDylann/fix/32835-invite-message-d…
johnmlee101 Jan 3, 2024
6817b6d
Merge branch 'main' into @chrispader/standardize-type-only-imports
Jan 3, 2024
8c5f3a7
fix: eslint
Jan 3, 2024
339987b
Merge pull request #32902 from DylanDylann/fix/29901
yuwenmemon Jan 3, 2024
e6616e3
Merge pull request #32475 from margelo/@chrispader/standardize-type-o…
roryabraham Jan 3, 2024
1037c94
Merge pull request #33887 from Expensify/aldo_enable-location-bias-on…
aldo-expensify Jan 3, 2024
8704845
Merge branch 'main' into revert-33397-fix/26946
roryabraham Jan 3, 2024
5021a16
Merge pull request #33896 from Expensify/revert-33397-fix/26946
tgolen Jan 3, 2024
7a4e0c7
Merge pull request #33900 from Expensify/Rory-TestDesktopBuildFix
marcaaron Jan 3, 2024
cccbecd
Update version to 1.4.21-2
OSBotify Jan 3, 2024
1d2b642
Merge pull request #33689 from ZhenjaHorbach/upload-photo-icon-remain…
roryabraham Jan 3, 2024
3b85e1f
Update version to 1.4.21-3
OSBotify Jan 3, 2024
4b9b55e
Update version to 1.4.21-4
OSBotify Jan 4, 2024
d4c3e63
Merge pull request #33794 from Krishna2323/krishna2323/issue/33115
jasperhuangg Jan 4, 2024
f47006e
Merge branch 'main' into ideal-nav-merge
WojtekBoman Jan 4, 2024
54100dc
Fix type imports
WojtekBoman Jan 4, 2024
b65dfd6
Fix import
mateuuszzzzz Jan 4, 2024
da8ffe3
Resolve conflicts
mateuuszzzzz Jan 4, 2024
ed06e2d
Revert "Resolve conflicts"
mateuuszzzzz Jan 4, 2024
a0b1406
Revert "Revert "Resolve conflicts""
mateuuszzzzz Jan 4, 2024
37209c9
Revert "Resolve conflicts"
mateuuszzzzz Jan 4, 2024
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
8 changes: 4 additions & 4 deletions assets/images/cards-and-domains.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/images/home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/images/new-expensify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/Expensify.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ const propTypes = {
/** Whether we should display the notification alerting the user that focus mode has been auto-enabled */
focusModeNotification: PropTypes.bool,

/** Last visited path in the app */
lastVisitedPath: PropTypes.string,

...withLocalizePropTypes,
};

Expand All @@ -93,6 +96,7 @@ const defaultProps = {
screenShareRequest: null,
isCheckingPublicRoom: true,
focusModeNotification: false,
lastVisitedPath: undefined,
};

const SplashScreenHiddenContext = React.createContext({});
Expand All @@ -103,6 +107,7 @@ function Expensify(props) {
const [isOnyxMigrated, setIsOnyxMigrated] = useState(false);
const [isSplashHidden, setIsSplashHidden] = useState(false);
const [hasAttemptedToOpenPublicRoom, setAttemptedToOpenPublicRoom] = useState(false);
const [initialUrl, setInitialUrl] = useState(null);

useEffect(() => {
if (props.isCheckingPublicRoom) {
Expand Down Expand Up @@ -183,6 +188,7 @@ function Expensify(props) {

// If the app is opened from a deep link, get the reportID (if exists) from the deep link and navigate to the chat report
Linking.getInitialURL().then((url) => {
setInitialUrl(url);
DemoActions.runDemoByURL(url);
Report.openReportFromDeepLink(url, isAuthenticated);
});
Expand Down Expand Up @@ -239,7 +245,9 @@ function Expensify(props) {
<SplashScreenHiddenContext.Provider value={contextValue}>
<NavigationRoot
onReady={setNavigationReady}
lastVisitedPath={props.lastVisitedPath}
authenticated={isAuthenticated}
initialUrl={initialUrl}
/>
</SplashScreenHiddenContext.Provider>
)}
Expand Down Expand Up @@ -275,6 +283,9 @@ export default compose(
key: ONYXKEYS.FOCUS_MODE_NOTIFICATION,
initWithStoredValues: false,
},
lastVisitedPath: {
key: ONYXKEYS.LAST_VISITED_PATH,
},
}),
)(Expensify);

Expand Down
4 changes: 4 additions & 0 deletions src/ONYXKEYS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ const ONYXKEYS = {
// Max width supported for HTML <canvas> element
MAX_CANVAS_WIDTH: 'maxCanvasWidth',

// Stores last visited path
LAST_VISITED_PATH: 'lastVisitedPath',

/** Collection Keys */
COLLECTION: {
DOWNLOAD: 'download_',
Expand Down Expand Up @@ -433,6 +436,7 @@ type OnyxValues = {
[ONYXKEYS.MAX_CANVAS_AREA]: number;
[ONYXKEYS.MAX_CANVAS_HEIGHT]: number;
[ONYXKEYS.MAX_CANVAS_WIDTH]: number;
[ONYXKEYS.LAST_VISITED_PATH]: string;

// Collections
[ONYXKEYS.COLLECTION.DOWNLOAD]: OnyxTypes.Download;
Expand Down
4 changes: 3 additions & 1 deletion src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ function getUrlWithBackToParam<TUrl extends string>(url: TUrl, backTo?: string):
}

const ROUTES = {
HOME: '',
HOME_ROOT: '',
// This is a utility route to allow navigating to the home screen explicitly
HOME: 'home',

ALL_SETTINGS: 'all-settings',

Expand Down
1 change: 1 addition & 0 deletions src/SCREENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import DeepValueOf from './types/utils/DeepValueOf';

const PROTECTED_SCREENS = {
HOME: 'Home',
HOME_ROOT: 'HomeRoot',
CONCIERGE: 'Concierge',
REPORT_ATTACHMENTS: 'ReportAttachments',
} as const;
Expand Down
2 changes: 0 additions & 2 deletions src/components/Icon/Expensicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ import EReceiptIcon from '@assets/images/eReceiptIcon.svg';
import Exclamation from '@assets/images/exclamation.svg';
import Exit from '@assets/images/exit.svg';
import Expand from '@assets/images/expand.svg';
import ExpensifyAppIcon from '@assets/images/expensify-app-icon.svg';
import ExpensifyFooterLogoVertical from '@assets/images/expensify-footer-logo-vertical.svg';
import ExpensifyFooterLogo from '@assets/images/expensify-footer-logo.svg';
import ExpensifyWordmark from '@assets/images/expensify-wordmark.svg';
Expand Down Expand Up @@ -186,7 +185,6 @@ export {
EmptyStateAttachReceipt,
Exclamation,
Exit,
ExpensifyAppIcon,
ExpensifyCard,
ExpensifyWordmark,
ExpensifyFooterLogo,
Expand Down
1 change: 0 additions & 1 deletion src/components/Icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,4 @@ function Icon({

Icon.displayName = 'Icon';

export type {IconProps};
export default Icon;
4 changes: 2 additions & 2 deletions src/components/IllustratedHeaderPageLayout.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import PropTypes from 'prop-types';
import React from 'react';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import useWindowDimensions from '@hooks/useWindowDimensions';
import useTheme from '../hooks/useTheme';
import useThemeStyles from '../hooks/useThemeStyles';
import HeaderPageLayout from './HeaderPageLayout';
import headerWithBackButtonPropTypes from './HeaderWithBackButton/headerWithBackButtonPropTypes';
import Lottie from './Lottie';
Expand Down
8 changes: 1 addition & 7 deletions src/components/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const defaultProps = {
shouldShowRightComponent: false,
titleWithTooltips: [],
shouldCheckActionAllowedOnPress: true,
isPaneMenu: false,
};

const MenuItem = React.forwardRef((props, ref) => {
Expand Down Expand Up @@ -235,7 +234,6 @@ const MenuItem = React.forwardRef((props, ref) => {
StyleUtils.getIconFillColor(
getButtonState(props.focused || isHovered, pressed, props.success, props.disabled, props.interactive),
true,
props.isPaneMenu,
)
}
/>
Expand Down Expand Up @@ -268,11 +266,7 @@ const MenuItem = React.forwardRef((props, ref) => {
height={props.iconHeight}
fill={
props.secondaryIconFill ||
StyleUtils.getIconFillColor(
getButtonState(props.focused || isHovered, pressed, props.success, props.disabled, props.interactive),
true,
props.isPaneMenu,
)
StyleUtils.getIconFillColor(getButtonState(props.focused || isHovered, pressed, props.success, props.disabled, props.interactive), true)
}
/>
</View>
Expand Down
55 changes: 25 additions & 30 deletions src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,42 +22,37 @@ type SearchProps = {

// Styles to apply on the outer element
style?: StyleProp<ViewStyle>;

/** Styles to apply to the outermost element */
containerStyle?: StyleProp<ViewStyle>;
};

function Search({onPress, placeholder, tooltip, style, containerStyle}: SearchProps) {
function Search({onPress, placeholder, tooltip, style}: SearchProps) {
const styles = useThemeStyles();
const {translate} = useLocalize();

return (
<View style={containerStyle}>
<Tooltip text={tooltip ?? translate('common.search')}>
<PressableWithFeedback
accessibilityLabel={tooltip ?? translate('common.search')}
role={CONST.ROLE.BUTTON}
onPress={onPress}
style={styles.searchPressable}
>
{({hovered}) => (
<View style={[styles.searchContainer, hovered && styles.searchContainerHovered, style]}>
<Icon
src={Expensicons.MagnifyingGlass}
width={variables.iconSizeSmall}
height={variables.iconSizeSmall}
/>
<Text
style={styles.searchInputStyle}
numberOfLines={1}
>
{placeholder ?? translate('common.searchWithThreeDots')}
</Text>
</View>
)}
</PressableWithFeedback>
</Tooltip>
</View>
<Tooltip text={tooltip ?? translate('common.search')}>
<PressableWithFeedback
accessibilityLabel={tooltip ?? translate('common.search')}
role={CONST.ROLE.BUTTON}
onPress={onPress}
style={styles.searchPressable}
>
{({hovered}) => (
<View style={[styles.searchContainer, hovered && styles.searchContainerHovered, style]}>
<Icon
src={Expensicons.MagnifyingGlass}
width={variables.iconSizeSmall}
height={variables.iconSizeSmall}
/>
<Text
style={styles.searchInputStyle}
numberOfLines={1}
>
{placeholder ?? translate('common.searchWithThreeDots')}
</Text>
</View>
)}
</PressableWithFeedback>
</Tooltip>
);
}

Expand Down
Loading
Loading