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 merge merge v3 #9

Merged
merged 937 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
937 commits
Select commit Hold shift + click to select a range
d54ac15
Merge branch 'main' into ts/FormAlertWrapper
blazejkustra Dec 13, 2023
87bf77e
fix: ts errors
chrispader Dec 13, 2023
ac7dbd7
fix: more ts errros
chrispader Dec 13, 2023
7e434eb
Merge branch 'main' into @chrispader/restructure-styles-and-theme-swi…
Dec 13, 2023
c87acff
fix: more
Dec 13, 2023
541ee35
fix: more
Dec 13, 2023
6039f5b
Merge pull request #32957 from allroundexperts/feat-32756
thienlnam Dec 13, 2023
47dac4a
Merge branch 'main' into @chrispader/fix-wrong-status-bar-colors
chrispader Dec 13, 2023
77847d3
Merge pull request #32930 from suneox/fix/19642-report-screen-unexpec…
thienlnam Dec 13, 2023
904cf56
Merge pull request #32974 from Expensify/snyk-upgrade-0eaa5e83fc0475e…
rlinoz Dec 13, 2023
e3b7252
fix: set global background style
chrispader Dec 13, 2023
119fff0
fix: status bar not chaning when changing theme from another device
chrispader Dec 13, 2023
b688242
remove unused import
chrispader Dec 13, 2023
d76eaef
Merge branch 'main' into @chrispader/restructure-styles-and-theme-swi…
Dec 13, 2023
a66319c
use || instead of ?? to prevent greyed out icon
NikkiWines Dec 13, 2023
802095e
fix: global background
chrispader Dec 13, 2023
3d8caed
update
chrispader Dec 13, 2023
d176479
add comments
chrispader Dec 13, 2023
820b50c
Also VBBA is paid via expensify
mountiny Dec 13, 2023
3df907c
Merge pull request #32679 from margelo/@chrispader/restructure-styles…
grgia Dec 13, 2023
99fb4ab
use linter friendly code
NikkiWines Dec 13, 2023
e37b156
fix: ThemePage changes
Dec 13, 2023
461dccf
uncomment screen
Dec 13, 2023
de73f30
Merge branch 'main' into @chrispader/theme-switching-going-live
Dec 13, 2023
c27c2f2
fix: illustrations type
Dec 13, 2023
8a7dc1c
Revert "Show child tags indented on the Tag list"
waterim Dec 13, 2023
00d51bf
Merge branch 'main' into @chrispader/fix-wrong-status-bar-colors
chrispader Dec 13, 2023
1ac76c7
ignore generators files
grgia Dec 13, 2023
c2c707d
fix: import
chrispader Dec 13, 2023
5f60d3c
Merge branch 'main' of github.com:kubabutkiewicz/expensify-app into t…
kubabutkiewicz Dec 13, 2023
747cc21
fix: typo
kubabutkiewicz Dec 13, 2023
fdb2b8a
fix: typo
kubabutkiewicz Dec 13, 2023
4db49a7
Use Paid in money request preview consistently
mountiny Dec 13, 2023
6abe035
fix: wrong file name
chrispader Dec 13, 2023
813d052
fix: status bar flashing
chrispader Dec 13, 2023
7c21b91
rename context
chrispader Dec 13, 2023
0423495
rename provider
chrispader Dec 13, 2023
73768c4
more linter
NikkiWines Dec 13, 2023
103c7cc
Use plural to match OldDot
mountiny Dec 13, 2023
feab7c5
Merge branch 'main' of github.com:kubabutkiewicz/expensify-app into t…
kubabutkiewicz Dec 13, 2023
93dfb53
Merge pull request #33017 from Expensify/georgia-fixLintMain
grgia Dec 13, 2023
08a805b
Merge branch 'main' of https://github.com/Expensify/App into nikki-fi…
NikkiWines Dec 13, 2023
a24f77b
Update variable name
mountiny Dec 13, 2023
48343f5
Merge branch 'main' into vit-fixNextStepsPlural
mountiny Dec 13, 2023
05e17a1
Resolve merge conflicts
mountiny Dec 13, 2023
ab996c7
Merge branch 'main' into @chrispader/theme-switching-going-live
Dec 13, 2023
517f7b5
Prettier
mountiny Dec 13, 2023
a3cef62
Merge pull request #33023 from Expensify/vit-fixNextStepsPlural
mountiny Dec 13, 2023
fe2d0d1
Merge pull request #33020 from Expensify/vit-fixPaymentMessage2
luacmartins Dec 13, 2023
f73d652
fix: listeners not removed
chrispader Dec 13, 2023
b950c1e
Merge pull request #30882 from neonbhai/popover-changes
jasperhuangg Dec 14, 2023
76c1c7e
Create Budgets
saracouto Dec 14, 2023
e81ed8f
Merge pull request #21669 from margelo/@chrispader/theme-switching-go…
grgia Dec 14, 2023
43ceb71
feat: use a proper icon
barttom Dec 14, 2023
16aeb28
Merge branch 'main' into ts-migration/reportActionItemTaskAction-comp…
VickyStash Dec 14, 2023
3d2e50f
Update useThemeStyles hook import to follow main branch updates
VickyStash Dec 14, 2023
5c0f3e4
Merge pull request #30051 from dukenv0307/fix/27995
techievivek Dec 14, 2023
5e49d8b
Merge branch 'main' into fix/32228
dukenv0307 Dec 14, 2023
eaf6d53
clean code
dukenv0307 Dec 14, 2023
6c11d1f
Fix for - Unable to leave public room
blazejkustra Dec 14, 2023
2273930
Revert some unrelated changes
blazejkustra Dec 14, 2023
4ccba51
Merge branch 'main' into ideal-nav-lhp
WojtekBoman Dec 14, 2023
ac358ef
Update notification preference when leaving public/private rooms
blazejkustra Dec 14, 2023
592c1b2
Remove test code
blazejkustra Dec 14, 2023
06c1735
Fix prop types error
kowczarz Dec 14, 2023
6f5fab2
Refactor LHPNavigatorContainer borderRadius
WojtekBoman Dec 14, 2023
8c701f2
Revert changes in RoomNameInputUtils
kowczarz Dec 14, 2023
a64e3cd
Merge pull request #33053 from software-mansion-labs/fix/Report-leave…
Julesssss Dec 14, 2023
dd91de4
Merge remote-tracking branch 'expensify/main' into kowczarz/fix-room-…
kowczarz Dec 14, 2023
8c7ebaf
Merge pull request #33005 from Expensify/nikki-fix-workspace-icon
Julesssss Dec 14, 2023
5e785e9
Update version to 1.4.12-1
OSBotify Dec 14, 2023
207d4ac
Update version to 1.4.12-2
OSBotify Dec 14, 2023
7753b91
Remove referral from SearchPage
WojtekBoman Dec 14, 2023
3ff9bcf
Merge branch 'main' of github.com:kubabutkiewicz/expensify-app into t…
kubabutkiewicz Dec 14, 2023
269237a
Merge branch 'main' into @chrispader/fix-wrong-status-bar-colors
chrispader Dec 14, 2023
86d5e8a
set keyboard appearance
chrispader Dec 14, 2023
3bbad0e
Remove borderRadius from the LHP on small screens
WojtekBoman Dec 14, 2023
31f79a6
Lint fix
kowczarz Dec 14, 2023
3ff0ef4
fix add comment
DylanDylann Dec 14, 2023
4223aac
fix comment
DylanDylann Dec 14, 2023
8fb343c
fix update comment
DylanDylann Dec 14, 2023
a85a5c0
fix refactor comment
DylanDylann Dec 14, 2023
33e9618
Merge branch 'main' into ts/DeeplinkWrapper
blazejkustra Dec 14, 2023
370afbc
Merge branch 'main' into ts/FormAlertWrapper
blazejkustra Dec 14, 2023
1953769
fix remove redundant code
DylanDylann Dec 14, 2023
a5d24ac
Merge remote-tracking branch 'upstream/main' into revert-32337-bugfix…
waterim Dec 14, 2023
cf71e1a
Merge branch 'main' into feat/use-attachment-gallery-everywhere
Dec 14, 2023
163468f
improve imports and exports
chrispader Dec 14, 2023
226b3d5
fix: more stuff
chrispader Dec 14, 2023
c175131
Rename Budgets to Budgets.md
saracouto Dec 14, 2023
5531728
set minimum double tap scale
chrispader Dec 14, 2023
a919369
Merge branch 'main' into pac-guerreiro/refactor/migrate-validatecode-…
pac-guerreiro Dec 14, 2023
072efdd
Update version to 1.4.13-0
OSBotify Dec 14, 2023
b4d1777
Merge pull request #32672 from margelo/@chrispader/fix-wrong-status-b…
grgia Dec 14, 2023
78ad3f9
Merge pull request #32423 from dukenv0307/fix/32228
mountiny Dec 14, 2023
cb0eec3
clear next steps on actions
rezkiy37 Dec 14, 2023
3ca5359
Update src/components/MultiGestureCanvas/propTypes.js
chrispader Dec 14, 2023
af087f6
Update src/components/MultiGestureCanvas/propTypes.js
chrispader Dec 14, 2023
89f5634
Update src/components/MultiGestureCanvas/propTypes.js
chrispader Dec 14, 2023
41bfc91
Update src/components/MultiGestureCanvas/propTypes.js
chrispader Dec 14, 2023
5cc91a6
Update src/components/MultiGestureCanvas/propTypes.js
chrispader Dec 14, 2023
27ab60c
Update src/components/MultiGestureCanvas/index.js
chrispader Dec 14, 2023
31b6455
remove defaultZoomRange
chrispader Dec 14, 2023
db5e3d4
fix: import
chrispader Dec 14, 2023
82b8d8c
Merge pull request #32936 from bernhardoj/fix/32733-close-account-sig…
Gonals Dec 14, 2023
2c822e5
Merge pull request #32432 from software-mansion-labs/kowczarz/fix-roo…
luacmartins Dec 14, 2023
b14b27f
Merge pull request #32890 from Expensify/RachCHopkins-patch-1
deetergp Dec 14, 2023
27357f4
Merge branch 'main' into wave8/breadcrumbs
MaciejSWM Dec 14, 2023
0f0d235
Merge branch 'main' into wave8/top-bar-search-no-usage
MaciejSWM Dec 14, 2023
387bc67
merge main
rlinoz Dec 14, 2023
4a78732
Merge branch 'main' into ts-migration/auto-update-time-component
blazejkustra Dec 14, 2023
c6c3e98
remove inconsistent param validation
arosiclair Dec 14, 2023
2f7707f
reduce number of array iterations
arosiclair Dec 14, 2023
01fad72
fix: upgrade electron-log from 4.4.7 to 4.4.8
snyk-bot Dec 14, 2023
4aa6b03
Merge pull request #32631 from tienifr/fix/30448
puneetlath Dec 14, 2023
5592222
Remove Dark UIUserInterfaceStyle
grgia Dec 14, 2023
bd25112
Merge pull request #32976 from Expensify/snyk-upgrade-d29720b15a59eca…
rlinoz Dec 14, 2023
fcdafdf
Rename variable to shouldShowServerError
paultsimura Dec 14, 2023
ef38cc0
set prev state when failure
rezkiy37 Dec 14, 2023
6c034ce
Fix StatusPage colors
grgia Dec 14, 2023
a318f0f
move native implementation to PushNotification lib
arosiclair Dec 14, 2023
5ae2f4c
Merge pull request #33088 from Expensify/snyk-upgrade-fec024213c6bf8b…
danieldoglas Dec 14, 2023
66ef49e
Merge pull request #31521 from software-mansion-labs/ts-migration/aut…
deetergp Dec 14, 2023
a620689
Change import path
MaciejSWM Dec 14, 2023
9a0c2e0
Change import paths
MaciejSWM Dec 14, 2023
7a6581c
ensure the app is visible before marking the report read
arosiclair Dec 14, 2023
17c1ea8
Merge pull request #32560 from VickyStash/ts-migration/reportActionIt…
thienlnam Dec 14, 2023
b8ffa63
revert old PR hardcoding dark theme
grgia Dec 14, 2023
43c71ba
prettier
grgia Dec 14, 2023
83a89fb
Merge pull request #32897 from DylanDylann/fix/31856-user-is-signed-o…
thienlnam Dec 14, 2023
be23d55
use unified type for ClearReportNotifications
arosiclair Dec 14, 2023
84acbc0
Merge branch 'main' of github.com:Expensify/App into arosiclair-clear…
arosiclair Dec 14, 2023
dc3cc66
undo accidental change
arosiclair Dec 14, 2023
d8034b7
reset react-native.config.js to main
grgia Dec 14, 2023
f10f708
Merge pull request #33094 from Expensify/georgia-fixIOSTheme
grgia Dec 14, 2023
9d2ea87
Update version to 1.4.13-1
OSBotify Dec 14, 2023
06662fa
Merge pull request #32245 from AmjedNazzal/Issue31789
francoisl Dec 14, 2023
13c433e
Fix light theme page keys
grgia Dec 14, 2023
d9f8772
Merge pull request #31676 from tienifr/fix/30644
srikarparsi Dec 14, 2023
70e7ec3
Merge pull request #29929 from Expensify/marco-checkEmailPrincipal
srikarparsi Dec 14, 2023
1199383
Merge pull request #30634 from margelo/perunt/e2e-chat-opening
dangrous Dec 14, 2023
50fdecc
Update version to 1.4.13-2
OSBotify Dec 15, 2023
1f72cef
Merge pull request #33100 from Expensify/georgia-fixStatusPage
AndrewGable Dec 15, 2023
4592a7c
Merge pull request #30877 from Expensify/Rory-PurgeCloudflareCache
roryabraham Dec 15, 2023
1234afe
Fix header text style
neonbhai Dec 15, 2023
67b547b
whitelisted budget notification action
techievivek Dec 15, 2023
993dd1d
fix missing policychange wordings
techievivek Dec 15, 2023
0b8ffcd
Merge pull request #33140 from Expensify/techievivek_add_BUDGET_NOTIF…
lakchote Dec 15, 2023
3a44f77
Merge pull request #33141 from neonbhai/achcontractstep-style-fix
jasperhuangg Dec 15, 2023
c959ad8
LHP code cleanup
WojtekBoman Dec 15, 2023
9ad0872
optimize search in BaseOptionSelector and implement in money request
TMisiukiewicz Dec 15, 2023
953e729
remove unnecessary value prop from money request
TMisiukiewicz Dec 15, 2023
7ccef7e
remove debounce from SearchPage
TMisiukiewicz Dec 15, 2023
770a525
update all occurencies of OptionsSelector
TMisiukiewicz Dec 15, 2023
dd00587
Update version to 1.4.13-3
OSBotify Dec 15, 2023
d6beb16
code review updates
TMisiukiewicz Dec 15, 2023
8bef4bb
Update version to 1.4.13-4
OSBotify Dec 15, 2023
3de56cb
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 Dec 15, 2023
c082a7c
Merge branch 'main' into fix/32559-login-multiple-errors
paultsimura Dec 15, 2023
173582f
Merge pull request #32947 from barttom/feat/32875/goto-classic-expens…
pecanoro Dec 15, 2023
ef1dea2
Migrate 'ReportActionItemThread.js' component to TypeScript
pasyukevich Dec 8, 2023
9a66001
remove redundant hoc
pasyukevich Dec 11, 2023
83b093e
fix type import, date format
pasyukevich Dec 11, 2023
ca46712
Retain hidden participants when creating an IOU request
paultsimura Dec 15, 2023
e23eebe
Merge pull request #32728 from software-mansion-labs/ts/DeeplinkWrapper
youssef-lr Dec 15, 2023
f5696ff
Merge pull request #31010 from DylanDylann/fix/30190-room-can-invite-…
Beamanator Dec 15, 2023
14bc32a
Merge pull request #32165 from DylanDylann/fix/31863
aldo-expensify Dec 15, 2023
121ca59
Merge pull request #32944 from paultsimura/fix/32559-login-multiple-e…
lakchote Dec 15, 2023
ab138ee
Merge pull request #32090 from anyongjitiger/main
Julesssss Dec 15, 2023
56e46de
Merge pull request #33156 from paultsimura/fix/33151-iou-hidden-user
Julesssss Dec 15, 2023
3b7cd1d
Update version to 1.4.13-5
OSBotify Dec 15, 2023
275bd03
Merge pull request #33012 from waterim/revert-32337-bugfix/issue-31753
amyevans Dec 15, 2023
fb9e622
Merge branch 'main' into ideal-nav-lhp
WojtekBoman Dec 15, 2023
ede3435
set readActionSkipped only when report is unread
arosiclair Dec 15, 2023
6c110a4
Merge pull request #31308 from margelo/feat/use-attachment-gallery-ev…
pecanoro Dec 15, 2023
916b33b
[TS migration] Migrate 'PinButton.js' component to TypeScript
pasyukevich Dec 13, 2023
83094a8
Merge branch 'main' into wave8/top-bar-search-no-usage
MaciejSWM Dec 15, 2023
d1dac19
Adjust NAB
MaciejSWM Dec 15, 2023
6785032
Merge pull request #32710 from pasyukevich/feature/migrate-ReportActi…
stitesExpensify Dec 15, 2023
345e928
add waitForCollectionCallback config
rezkiy37 Dec 15, 2023
18628be
fix typo
arosiclair Dec 15, 2023
3a3d6f3
Merge pull request #33033 from Expensify/saracouto-patch-1
danieldoglas Dec 15, 2023
4d45639
Fix overlay animationfor LHP
WojtekBoman Dec 15, 2023
18a7ccd
handle null next step
rezkiy37 Dec 15, 2023
6f52ee7
improve performance
rezkiy37 Dec 15, 2023
6fc070b
Merge pull request #33167 from Expensify/arosiclair-file-type-typo
Julesssss Dec 15, 2023
5b6700c
remove variable
rezkiy37 Dec 15, 2023
8ac3625
Revert the use of SET operation
paultsimura Dec 15, 2023
ea659d0
fix sign in modal
grgia Dec 15, 2023
e2eca1b
Merge pull request #33076 from rezkiy37/feature/33019-clear-next-steps
mountiny Dec 15, 2023
655c06c
use highlightBG color, prettier
grgia Dec 15, 2023
e6557ae
Use TS-safe string coercing
paultsimura Dec 15, 2023
48e771d
Merge pull request #32798 from software-mansion-labs/ts/FormAlertWrapper
grgia Dec 15, 2023
668af1c
Merge pull request #32439 from software-mansion-labs/wave8/top-bar-se…
Dec 15, 2023
02953bf
Refactor goBack function to handle LHP
WojtekBoman Dec 15, 2023
416229d
fix the default props usage and use hooks instead of HOC
rayane-djouah Dec 15, 2023
c53eca9
Merge pull request #33174 from paultsimura/fix/33098-revert-set-merge
bondydaa Dec 15, 2023
5d3fea9
Update text style using getItemColor
neonbhai Dec 15, 2023
3648e1b
replace WithTheme and WithThemeStyles HOC with useTheme and useThemeS…
rayane-djouah Dec 15, 2023
07599e9
Update Referral-Program.md
jamesdeanexpensify Dec 15, 2023
8defc1d
Use transparent lottie animations
grgia Dec 15, 2023
49b6e51
Update Referral-Program.md
jamesdeanexpensify Dec 15, 2023
af9d625
lint fixes
neonbhai Dec 15, 2023
a8a7e41
Prettier changes
neonbhai Dec 15, 2023
1cbea39
Add explaining comment
neonbhai Dec 15, 2023
2684a75
Fix typo
neonbhai Dec 15, 2023
d0fec94
Add stricter equality check
neonbhai Dec 15, 2023
f2429ac
Fix windows text color
neonbhai Dec 15, 2023
4d495f3
Rename variable
neonbhai Dec 15, 2023
960cdc7
Fix iOS native picker behavior
neonbhai Dec 15, 2023
c4007a7
Simplify logic
neonbhai Dec 15, 2023
cd532f5
prettier
neonbhai Dec 15, 2023
af154c4
Update comment
neonbhai Dec 15, 2023
616a997
Merge pull request #33188 from Expensify/jamesdeanexpensify-patch-1
jasperhuangg Dec 15, 2023
8eaec2d
Replace pickerOptionsTextColor with theme.text
neonbhai Dec 15, 2023
f1cfaf1
Remove pickerOptionsTextColor from App
neonbhai Dec 15, 2023
022ab2b
Merge pull request #31762 from Expensify/arosiclair-clear-read-notifi…
arosiclair Dec 15, 2023
0a331cb
Merge pull request #33194 from neonbhai/picker-style-fix
roryabraham Dec 15, 2023
18e9fd2
Update version to 1.4.13-6
OSBotify Dec 15, 2023
3ed43ff
Merge pull request #32968 from pasyukevich/feature/migrate-PinButton
stitesExpensify Dec 16, 2023
b42f9f0
Merge branch 'Expensify:main' into Migrate-Icon/index.js-to-function-…
rayane-djouah Dec 16, 2023
a6da78c
fix lint error
rayane-djouah Dec 16, 2023
5bc120d
fix failing test
rayane-djouah Dec 16, 2023
912fa3f
Merge pull request #26654 from rayane-djouah/Migrate-Icon/index.js-to…
roryabraham Dec 16, 2023
990815f
Merge pull request #33189 from Expensify/georgia-transparentLottie
nkuoch Dec 17, 2023
bc62838
Merge pull request #33181 from Expensify/georgia-joinDiscussion
arosiclair Dec 17, 2023
ea611d1
Update version to 1.4.13-7
OSBotify Dec 18, 2023
b54996f
Update leftModalNavigator comment
WojtekBoman Dec 18, 2023
f017c6b
Update version to 1.4.13-8
OSBotify Dec 18, 2023
d48e53b
Merge branch 'main' of github.com:kubabutkiewicz/expensify-app into t…
kubabutkiewicz Dec 18, 2023
7f17798
fix: resolve type issue
kubabutkiewicz Dec 18, 2023
648c000
Merge pull request #32473 from software-mansion-labs/ideal-nav-lhp
mountiny Dec 18, 2023
bc38b46
Fix LHP animation on smaller screens
WojtekBoman Dec 18, 2023
e5cc42e
Merge branch 'main' into wave8/breadcrumbs
MaciejSWM Dec 18, 2023
22864a4
Convert object to boolean before doing AND on it
MaciejSWM Dec 18, 2023
39784fb
Migrate Storybook file to TS
MaciejSWM Dec 18, 2023
f14e7b4
Add optional style prop
MaciejSWM Dec 18, 2023
e0cef1a
Export type to use in storybook
MaciejSWM Dec 18, 2023
0d30c94
Prop description
MaciejSWM Dec 18, 2023
53e4fd6
Adjust overlay style to LHP borderRadius
WojtekBoman Dec 18, 2023
1b377a6
Merge remote-tracking branch 'upstream/main' into perf/debounce-search
TMisiukiewicz Dec 18, 2023
6018a64
update search debounce to 300 ms
TMisiukiewicz Dec 18, 2023
c96a209
Merge pull request #32221 from software-mansion-labs/wave8/breadcrumbs
mountiny Dec 18, 2023
4aad839
fix linting
TMisiukiewicz Dec 18, 2023
08323cc
Merge pull request #33218 from software-mansion-labs/lhp-slide-animat…
mountiny Dec 18, 2023
e9d05f8
Merge pull request #31853 from callstack-internal/pac-guerreiro/refac…
aldo-expensify Dec 18, 2023
37d34e8
Merge pull request #32962 from callstack-internal/perf/debounce-search
mountiny Dec 18, 2023
11d7821
Merge pull request #31303 from kubabutkiewicz/ts-migration/FormAlertW…
rlinoz Dec 18, 2023
db08511
Merge branch 'main' into ideal-nav-merge-merge-v3
kosmydel Dec 18, 2023
59779d5
prettier
kosmydel Dec 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ module.exports = {
'rulesdir/prefer-underscore-method': 'off',
'rulesdir/prefer-import-module-contents': 'off',
'react/require-default-props': 'off',
'react/prop-types': 'off',
'no-restricted-syntax': [
'error',
{
Expand Down
64 changes: 33 additions & 31 deletions .github/scripts/findUnusedKeys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ LIB_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd ../../ && pwd)"

readonly SRC_DIR="${LIB_PATH}/src"
readonly STYLES_DIR="${LIB_PATH}/src/styles"
readonly STYLES_FILE="${LIB_PATH}/src/styles/styles.ts"
readonly UTILITIES_STYLES_FILE="${LIB_PATH}/src/styles/utilities"
readonly STYLES_FILE="${LIB_PATH}/src/styles/index.ts"
readonly UTILS_STYLES_FILE="${LIB_PATH}/src/styles/utils"
readonly UTILS_STYLES_GENERATORS_FILE="${LIB_PATH}/src/styles/utils/generators"
readonly STYLES_KEYS_FILE="${LIB_PATH}/scripts/style_keys_list_temp.txt"
readonly UTILITY_STYLES_KEYS_FILE="${LIB_PATH}/scripts/utility_keys_list_temp.txt"
readonly UTIL_STYLES_KEYS_FILE="${LIB_PATH}/scripts/util_keys_list_temp.txt"
readonly REMOVAL_KEYS_FILE="${LIB_PATH}/scripts/removal_keys_list_temp.txt"
readonly AMOUNT_LINES_TO_SHOW=3

Expand All @@ -29,7 +30,7 @@ ctrl_c() {
delete_temp_files
exit 1
}

count_lines() {
local file=$1
if [[ -e "$file" ]]; then
Expand All @@ -43,11 +44,11 @@ count_lines() {
show_unused_style_keywords() {
while IFS=: read -r key file line_number; do
title "File: $file:$line_number"

# Get lines before and after the error line
local lines_before=$((line_number - AMOUNT_LINES_TO_SHOW))
local lines_after=$((line_number + AMOUNT_LINES_TO_SHOW))

# Read the lines into an array
local lines=()
while IFS= read -r line; do
Expand Down Expand Up @@ -84,22 +85,22 @@ lookfor_unused_keywords() {

# Search for keywords starting with "styles"
while IFS= read -r keyword; do

# Remove any [ ] characters from the keyword
local clean_keyword="${keyword//[\[\]]/}"
# skip styles. keyword that might be used in comments
if [[ "$clean_keyword" == "styles." ]]; then
continue
fi

if ! remove_keyword "$clean_keyword" ; then
# In case of a leaf of the styles object is being used, it means the parent objects is being used
# we need to mark it as used.
if [[ "$clean_keyword" =~ ^styles\.[a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+$ ]]; then
# Keyword has more than two words, remove words after the second word
local keyword_prefix="${clean_keyword%.*}"
remove_keyword "$keyword_prefix"
fi
fi
fi
done < <(grep -E -o '\bstyles\.[a-zA-Z0-9_.]*' "$file" | grep -v '\/\/' | grep -vE '\/\*.*\*\/')
done < <(find "${SRC_DIR}" -type f \( "${FILE_EXTENSIONS[@]}" \))
Expand Down Expand Up @@ -134,10 +135,10 @@ find_styles_object_and_store_keys() {
if [[ ! "$line" =~ ^[[:space:]]*(const|let|var)[[:space:]]+([a-zA-Z0-9_-]+)[[:space:]]*=[[:space:]]*\{|^[[:space:]]*([a-zA-Z0-9_-]+\.)?[a-zA-Z0-9_-]+:[[:space:]]*\{|^[[:space:]]*\} ]]; then
continue
fi

if [[ "$line" =~ ^[[:space:]]*(const|let|var)[[:space:]]+([a-zA-Z0-9_-]+)[[:space:]]*=[[:space:]]*\{ ]]; then
key="${BASH_REMATCH[2]%%:*{*)}"
echo "styles.${key}|...${key}|${base_name}.${key}:${file}:${line_number}" >> "$STYLES_KEYS_FILE"
echo "styles.${key}|...${key}|${base_name}.${key}:${file}:${line_number}" >> "$STYLES_KEYS_FILE"
fi
done < "$file"
}
Expand Down Expand Up @@ -225,7 +226,7 @@ find_theme_style_and_store_keys() {

continue
fi

if [[ "$line" =~ ^[[:space:]]*([a-zA-Z0-9_-]+\.)?[a-zA-Z0-9_-]+:[[:space:]]*\{|^[[:space:]]*([a-zA-Z0-9_-])+:[[:space:]]*\(.*\)[[:space:]]*'=>'[[:space:]]*\(\{ ]]; then
# Removing all the extra lines after the ":"
local key="${line%%:*}"
Expand Down Expand Up @@ -295,63 +296,64 @@ lookfor_unused_spread_keywords() {
done < "$STYLES_FILE"
}

find_utility_styles_store_prefix() {
find_util_styles_store_prefix() {
# Loop through all files in the src folder
while read -r file; do
# Search for keywords starting with "styles"
while IFS= read -r keyword; do
local variable="${keyword##*/}"
local variable_trimmed="${variable// /}" # Trim spaces
echo "$variable_trimmed" >> "$UTILITY_STYLES_KEYS_FILE"
done < <(grep -E -o './utilities/[a-zA-Z0-9_-]+' "$file" | grep -v '\/\/' | grep -vE '\/\*.*\*\/')

echo "$variable_trimmed" >> "$UTIL_STYLES_KEYS_FILE"
done < <(grep -E -o './utils/[a-zA-Z0-9_-]+' "$file" | grep -v '\/\/' | grep -vE '\/\*.*\*\/')
done < <(find "${STYLES_DIR}" -type f \( "${FILE_EXTENSIONS[@]}" \))

# Sort and remove duplicates from the temporary file
sort -u -o "${UTILITY_STYLES_KEYS_FILE}" "${UTILITY_STYLES_KEYS_FILE}"
sort -u -o "${UTIL_STYLES_KEYS_FILE}" "${UTIL_STYLES_KEYS_FILE}"
}

find_utility_usage_as_styles() {
find_util_usage_as_styles() {
while read -r file; do
local root_key
local parent_dir

# Get the folder name, given this utility files are index.js
# Get the folder name, given this util files are index.js
parent_dir=$(dirname "$file")
root_key=$(basename "${parent_dir}")

if [[ "${root_key}" == "utilities" ]]; then
if [[ "${root_key}" == "utils" ]]; then
continue
fi

find_theme_style_and_store_keys "${file}" 0 "${root_key}"
done < <(find "${UTILITIES_STYLES_FILE}" -type f \( "${FILE_EXTENSIONS[@]}" \))
done < <(find "${UTILS_STYLES_FILE}" -type f \( -path "${UTILS_STYLES_GENERATORS_FILE}" -prune -o -name "${FILE_EXTENSIONS[@]}" \) -print)

}

lookfor_unused_utilities() {
# Read each utility keyword from the file
lookfor_unused_utils() {
# Read each util keyword from the file
while read -r keyword; do
# Creating a copy so later the replacement can reference it
# Creating a copy so later the replacement can reference it
local original_keyword="${keyword}"

# Iterate through all files in "src/styles"
while read -r file; do
# Find all words that match "$keyword.[a-zA-Z0-9_-]+"
while IFS= read -r match; do
# Replace the utility prefix with "styles"
# Replace the util prefix with "styles"
local variable="${match/#$original_keyword/styles}"
# Call the remove_keyword function with the variable
remove_keyword "${variable}"
remove_keyword "${match}"
done < <(grep -E -o "$original_keyword\.[a-zA-Z0-9_-]+" "$file" | grep -v '\/\/' | grep -vE '\/\*.*\*\/')
done < <(find "${STYLES_DIR}" -type f \( "${FILE_EXTENSIONS[@]}" \))
done < "$UTILITY_STYLES_KEYS_FILE"
done < "$UTIL_STYLES_KEYS_FILE"
}

echo "🔍 Looking for styles."
# Find and store the name of the utility files as keys
find_utility_styles_store_prefix
find_utility_usage_as_styles
# Find and store the name of the util files as keys
find_util_styles_store_prefix
find_util_usage_as_styles

# Find and store keys from styles.ts
find_styles_object_and_store_keys "$STYLES_FILE"
Expand All @@ -360,8 +362,8 @@ collect_theme_keys_from_styles "$STYLES_FILE"

echo "🗄️ Now going through the codebase and looking for unused keys."

# Look for usages of utilities into src/styles
lookfor_unused_utilities
# Look for usages of utils into src/styles
lookfor_unused_utils
lookfor_unused_spread_keywords
lookfor_unused_keywords

Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/createNewVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ on:
OS_BOTIFY_COMMIT_TOKEN:
description: OSBotify personal access token, used to workaround committing to protected branch
required: true
OS_BOTIFY_APP_ID:
description: Application ID for OS Botify App
required: true
OS_BOTIFY_PRIVATE_KEY:
description: OSBotify private key
required: true

jobs:
validateActor:
Expand Down Expand Up @@ -76,18 +70,16 @@ jobs:
token: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}

- name: Setup git for OSBotify
uses: ./.github/actions/composite/setupGitForOSBotifyApp
uses: ./.github/actions/composite/setupGitForOSBotify
id: setupGitForOSBotify
with:
GPG_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
OS_BOTIFY_APP_ID: ${{ secrets.OS_BOTIFY_APP_ID }}
OS_BOTIFY_PRIVATE_KEY: ${{ secrets.OS_BOTIFY_PRIVATE_KEY }}

- name: Generate version
id: bumpVersion
uses: ./.github/actions/javascript/bumpVersion
with:
GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }}
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}
SEMVER_LEVEL: ${{ inputs.SEMVER_LEVEL }}

- name: Commit new version
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/deployExpensifyHelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
projectName: helpdot
directory: ./docs/_site

- name: Setup Cloudflare CLI
run: pip3 install cloudflare

- name: Purge Cloudflare cache
run: /home/runner/.local/bin/cli4 --delete hosts=["help.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
env:
CF_API_KEY: ${{ secrets.CLOUDFLARE_TOKEN }}

- name: Leave a comment on the PR
uses: actions-cool/maintain-one-comment@de04bd2a3750d86b324829a3ff34d47e48e16f4b
if: ${{ github.event_name == 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion .storybook/theme.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {create} from '@storybook/theming';
import colors from '../src/styles/colors';
import colors from '../src/styles/theme/colors';

export default create({
brandTitle: 'New Expensify UI Docs',
Expand Down
8 changes: 6 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ GEM
declarative (0.0.20)
digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20231109)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.8.1)
emoji_regex (3.2.3)
escape (0.0.4)
Expand Down Expand Up @@ -261,6 +262,9 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.9.1)
unicode-display_width (2.5.0)
webrick (1.8.1)
word_wrap (1.0.0)
Expand Down Expand Up @@ -294,4 +298,4 @@ RUBY VERSION
ruby 2.6.10p210

BUNDLED WITH
2.1.4
2.4.7
1 change: 1 addition & 0 deletions __mocks__/@ua/react-native-airship.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const Airship = {
enableUserNotifications: () => Promise.resolve(false),
clearNotifications: jest.fn(),
getNotificationStatus: () => Promise.resolve({airshipOptIn: false, systemEnabled: false}),
getActiveNotifications: () => Promise.resolve([]),
},
contact: {
identify: jest.fn(),
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001041125
versionName "1.4.11-25"
versionCode 1001041308
versionName "1.4.13-8"
}

flavorDimensions "default"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import android.content.Context;
import android.database.CursorWindow;

import androidx.appcompat.app.AppCompatDelegate;
import androidx.multidex.MultiDexApplication;

import com.expensify.chat.bootsplash.BootSplashPackage;
Expand Down Expand Up @@ -67,9 +66,6 @@ public ReactNativeHost getReactNativeHost() {
public void onCreate() {
super.onCreate();

// Use night (dark) mode so native UI defaults to dark theme.
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);

SoLoader.init(this, /* native exopackage */ false);
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
Expand Down
Binary file modified assets/animations/Fireworks.lottie
Binary file not shown.
Binary file modified assets/animations/ReviewingBankInfo.lottie
Binary file not shown.
34 changes: 20 additions & 14 deletions desktop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {},
"dependencies": {
"electron-context-menu": "^2.3.0",
"electron-log": "^4.4.7",
"electron-serve": "^1.0.0",
"electron-log": "^4.4.8",
"electron-serve": "^1.2.0",
"electron-updater": "^6.1.6",
"node-machine-id": "^1.1.12"
},
Expand Down
5 changes: 0 additions & 5 deletions docs/_includes/floating-concierge-button.html

This file was deleted.

5 changes: 0 additions & 5 deletions docs/_includes/platform.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,4 @@ <h1 class="title">{{ platform.hub-title }}</h1>
{% include hub-card.html hub=hub platform=selectedPlatform %}
{% endfor %}
</div>

<div class="cards-group">
<!-- Concierge button anchored globally (rendered on narrow screens) -->
{% include floating-concierge-button.html id="floating-concierge-button-global" %}
</div>
</div>
Loading
Loading