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

[pull] main from Expensify:main #42

Merged
merged 1,163 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1163 commits
Select commit Hold shift + click to select a range
f6095d7
Skip tests for unaffected PRs
roryabraham Oct 25, 2023
ce985ef
Skip typecheck for unaffected PRs
roryabraham Oct 25, 2023
f2d3c24
Review feedback and rename prop
neil-marcellini Oct 25, 2023
73ac84a
Skip deploy of app for unrelated changes
roryabraham Oct 25, 2023
575f32c
Update @xmldom/xmldom to avoid critical vulnerabilities
pecanoro Oct 25, 2023
7e81dae
WIP remove secondary login messages with members
neil-marcellini Oct 25, 2023
4b57858
Update Domain-Settings-Overview.md
sophiepintoraetz Oct 25, 2023
66d34a3
Update Domain-Settings-Overview.md
sophiepintoraetz Oct 25, 2023
b11e8b9
Update docs/articles/new-expensify/workspace-and-domain-settings/Doma…
sophiepintoraetz Oct 25, 2023
f135ee3
Move welcome comment to separate workflow
roryabraham Oct 25, 2023
cd3bc74
Remove unnecessary token
roryabraham Oct 25, 2023
9edcd3b
make the code more readable
bernhardoj Oct 25, 2023
27e2efb
revert check condition of reportName
tsa321 Oct 25, 2023
b7c5aec
Merge branch 'main' into ts-migration/SidebarUtils
blazejkustra Oct 25, 2023
8d42d7f
Resolve conflicts
blazejkustra Oct 25, 2023
9b76129
Merge branch 'main' into ts-migration/FormScrollView
blazejkustra Oct 25, 2023
7e06bd7
Merge branch 'main' into Sebryu-performance-initial-ref-optimization
sebryu Oct 25, 2023
11b629e
Merge pull request #30189 from Expensify/jack-updateReadME
rlinoz Oct 25, 2023
afde388
Merge branch 'main' into fix/issue-26985
sangar-1028 Oct 25, 2023
3271eb0
fix: remove vertical padding from buttonCTA
sangar-1028 Oct 25, 2023
769040b
Update Other-Export-Options.md
sonialiap Oct 25, 2023
b45b838
Merge branch 'main' into migrateWithReportOrNotFoundToTypeScript
JKobrynski Oct 25, 2023
c81a509
Merge pull request #30156 from dukenv0307/fix/29769
srikarparsi Oct 25, 2023
65710b5
Merge branch 'main' into fix/28934
dukenv0307 Oct 25, 2023
cd92671
merge main
dukenv0307 Oct 25, 2023
6c87286
Merge pull request #30171 from namhihi237/fix-29645-remove-email-doma…
youssef-lr Oct 25, 2023
cd3c863
Merge pull request #29528 from dukenv0307/fix/28934
youssef-lr Oct 25, 2023
ee9e5eb
Merge pull request #29244 from Expensify/lschurr-patch-3
nkuoch Oct 25, 2023
a8482e2
Merge pull request #29648 from Krishna2323/krishna2323/issue/27951
nkuoch Oct 25, 2023
a0cf156
Update Direct-Bank-Connections.md
flaviadefaria Oct 25, 2023
0d6fa8b
Merge pull request #28338 from ishpaul777/fix/quickly-pressing-differ…
MonilBhavsar Oct 25, 2023
0465f60
fix the translation
techievivek Oct 25, 2023
a37be42
Merge remote-tracking branch 'expensify/main' into from-migration/roo…
kowczarz Oct 25, 2023
6edeecf
Remove empty file
kowczarz Oct 25, 2023
5f10ae2
parent view grow
Pujan92 Oct 25, 2023
9b8e44f
Merge branch 'main' into fix/26393
Pujan92 Oct 25, 2023
38d647e
Merge pull request #29768 from JKobrynski/migrateWithReportOrNotFound…
cristipaval Oct 25, 2023
2442aaf
Apply suggestions from code review
justinpersaud Oct 25, 2023
c1db36c
fix: gets the correcct secondary avatar information when Report is a …
wlegolas Oct 19, 2023
88ea27a
chore: create unit test to validate the secondary avatar when the rep…
wlegolas Oct 19, 2023
00179cf
fix: lint issues
wlegolas Oct 20, 2023
d307a4a
fix: JSDoc styles
wlegolas Oct 20, 2023
751a380
chore: change test utils method to use the information for the owner …
wlegolas Oct 25, 2023
b9a9f8f
fix: remove incorrect doc information
wlegolas Oct 25, 2023
df0bc88
fix: prettier issues
wlegolas Oct 25, 2023
2d6e8ef
Merge pull request #30082 from ygshbht/fix-cursor-behavior-android-ch…
madmax330 Oct 25, 2023
38a3f93
Skip additional actions from imgbot
justinpersaud Oct 25, 2023
f38ed86
Merge pull request #30223 from tsa321/cda-lhn
amyevans Oct 25, 2023
0c2578e
Merge pull request #29943 from Expensify/beaman-removeOldUnusedEditTa…
cristipaval Oct 25, 2023
2e36e8c
Merge pull request #30068 from wlegolas/bugfix/issue-29614
techievivek Oct 25, 2023
2ce45e3
Merge pull request #29961 from tienifr/fix/29552
Gonals Oct 25, 2023
e6af6e9
Merge pull request #29683 from software-mansion-labs/ts-migration/car…
cristipaval Oct 25, 2023
934344a
removed error handling
lukemorawski Oct 25, 2023
d4d9f78
Merge pull request #30221 from Expensify/danielrvidal-patch-2
arosiclair Oct 25, 2023
b1ff839
Fix remove secondary login messages with members
neil-marcellini Oct 25, 2023
409b8b4
Update Direct-Bank-Connections.md
flaviadefaria Oct 25, 2023
5679952
Merge pull request #29515 from Expensify/MonteExpensify-patch-1
puneetlath Oct 25, 2023
3c9572d
Merge pull request #29323 from kushu7/fix-28249-anonymous-shortcut-issue
AndrewGable Oct 25, 2023
9f4a5a5
default to empty string
bernhardoj Oct 25, 2023
65d4e2b
Merge pull request #29017 from lukemorawski/22875-api_call_on_reveal_…
marcaaron Oct 25, 2023
8fc1de9
Update version to 1.3.91-0
OSBotify Oct 25, 2023
f19970f
Merge pull request #30270 from Expensify/jpersaud_imgbot
roryabraham Oct 25, 2023
6514698
Add isSplitRequest to IOU onyx
DylanDylann Oct 25, 2023
1e22431
Merge pull request #30192 from s-alves10/fix/issue-26985
flodnv Oct 25, 2023
5547726
refactor: rerite AuthScreen to funcitonal compoenent
barttom Sep 19, 2023
df47aa9
reafctor: switched to width dimmensions hook instead of HOC
barttom Sep 19, 2023
814d6e4
refactor: remove momnization
barttom Sep 19, 2023
31a0d4d
fix: moved striting timing to useEffect
barttom Sep 20, 2023
a44d5e7
refactor: restored initial Timing start
barttom Sep 20, 2023
3a3300b
refactor: comment eslint rule for effect hook
barttom Sep 27, 2023
568040a
refactor: added memiozation of AuthScreen component
barttom Oct 12, 2023
44c281e
refactor: prettier file after merge
barttom Oct 16, 2023
8a2c5e4
refactor: merge main
barttom Oct 18, 2023
f0981d1
fix: restore cmd+J shortcut
barttom Oct 25, 2023
a16c3ff
fix: fixwes after rebase
barttom Oct 25, 2023
8ee843a
fix lint
DylanDylann Oct 25, 2023
9a85f80
Merge pull request #30049 from bernhardoj/fix/26887-actions-draft
cead22 Oct 25, 2023
8609454
Merge pull request #29931 from esh-g/distance-name-field
neil-marcellini Oct 25, 2023
cfccd42
Update version to 1.3.91-1
OSBotify Oct 25, 2023
2e2b5c8
fix logic update isSplitRequest
DylanDylann Oct 25, 2023
bb8f28b
Merge pull request #29284 from VickyStash/ts-migration/useEnvironment…
francoisl Oct 25, 2023
36818f8
Update Tags.md
sarajojacobson Oct 25, 2023
3fd048d
fix chore
DylanDylann Oct 25, 2023
98654ad
Merge pull request #30260 from eh2077/28629-fix-email-pattern-not-rec…
neil-marcellini Oct 25, 2023
aeaa508
Update docs/articles/expensify-classic/workspace-and-domain-settings/…
sarajojacobson Oct 25, 2023
4073545
Update docs/articles/expensify-classic/workspace-and-domain-settings/…
sarajojacobson Oct 25, 2023
734f9e4
Merge pull request #28887 from Expensify/sophiepintoraetz-patch-1
tylerkaraszewski Oct 25, 2023
ac8cfd3
Merge pull request #27764 from barttom/refactor/16226/auth-screens-co…
marcochavezf Oct 25, 2023
e8fac34
Merge branch 'main' of https://github.com/ishpaul777/App
ishpaul777 Oct 25, 2023
c52b506
Merge pull request #30071 from software-mansion-labs/form-refactor/pr…
luacmartins Oct 25, 2023
a9a59be
Merge pull request #30163 from software-mansion-labs/form-migration/T…
luacmartins Oct 25, 2023
3d58961
Merge pull request #29785 from software-mansion-labs/form-migration/L…
luacmartins Oct 25, 2023
5dbfdf7
Merge pull request #30164 from software-mansion-labs/form-migration/T…
luacmartins Oct 25, 2023
713bdf0
Merge branch 'main' into Rory-SkipTestsForUnrelatedChanges
roryabraham Oct 25, 2023
19c05fa
update imgbot permissions
justinpersaud Oct 25, 2023
76be1d5
Remove outdated needs
roryabraham Oct 25, 2023
e807859
Just use github.token for welcome comment
roryabraham Oct 25, 2023
dc6ed4d
Merge pull request #30379 from Expensify/jpersaud_imgbot_permissions
roryabraham Oct 25, 2023
7eb0ba5
Fix lint, remove unused import
neil-marcellini Oct 25, 2023
3d89b84
[ImgBot] Optimize images
ImgBotApp Oct 25, 2023
7232418
Merge pull request #30383 from Expensify/imgbot
github-actions[bot] Oct 25, 2023
fa86c6a
Merge pull request #30058 from ZhenjaHorbach/iou-skeleton-changes-the…
stitesExpensify Oct 25, 2023
098157c
Merge pull request #30327 from Expensify/sonialiap-patch-3
stitesExpensify Oct 25, 2023
8f16ad4
Merge pull request #30091 from Expensify/marklouisdeshaun-patch-1
srikarparsi Oct 25, 2023
920480a
Merge pull request #30243 from TMisiukiewicz/fix/highlight-emoji-whil…
mountiny Oct 25, 2023
d81190d
Merge branch 'main' into isabelastisser-patch-1
dangrous Oct 25, 2023
9f5e5e6
Merge pull request #28352 from Expensify/isabelastisser-patch-1
dangrous Oct 25, 2023
56c5aa5
Merge pull request #29668 from Expensify/flaviadefaria-patch-1
nkuoch Oct 25, 2023
0e66062
Merge pull request #29924 from Expensify/Christinadobrzyn-patch-1
tylerkaraszewski Oct 25, 2023
bbc2f2d
regression fix NavigationAwareCamera
ikevin127 Oct 25, 2023
a3dd902
Merge pull request #30259 from parasharrajat/fix/bubbling-issue-for-e…
tylerkaraszewski Oct 25, 2023
5816df8
Merge pull request #30226 from Pujan92/fix/26393
francoisl Oct 25, 2023
348c010
Merge pull request #30363 from bernhardoj/fix/29192-regression
marcochavezf Oct 25, 2023
2bd247b
Build MacOS Desktop from Intel machines in order to support x86
AndrewGable Oct 25, 2023
3e4a079
Update version to 1.3.91-2
OSBotify Oct 25, 2023
0f1ad50
Merge pull request #30402 from Expensify/andrew-desktop-intel
marcaaron Oct 25, 2023
820d6e6
Update version to 1.3.91-3
OSBotify Oct 25, 2023
dee3f78
Update version to 1.3.91-4
OSBotify Oct 25, 2023
1ec799b
Merge pull request #30397 from ikevin127/fix/30373
thienlnam Oct 25, 2023
b4adb6b
Update version to 1.3.91-5
OSBotify Oct 25, 2023
5647304
Revert "Amount changing to zero when editing it by going back in spli…
marcochavezf Oct 25, 2023
9aa048c
Merge pull request #30403 from Expensify/revert-29654-28707-fix-amoun…
marcochavezf Oct 26, 2023
4760f76
Update version to 1.3.91-6
OSBotify Oct 26, 2023
05ae4c4
Merge pull request #28939 from Expensify/maddylewis-patch-2
maddylewis Oct 26, 2023
fb0899f
Memo HeaderView
janicduplessis Oct 26, 2023
64780a1
Reset isSplitRequest when reset IOU
DylanDylann Oct 26, 2023
9df120e
fix lint
DylanDylann Oct 26, 2023
46170f8
Merge branch 'main' into Sebryu-performance-initial-ref-optimization
sebryu Oct 26, 2023
6007e60
Update ReportScreen.js
janicduplessis Oct 26, 2023
5736941
Merge pull request #30335 from Expensify/techievivek_fix_translation
techievivek Oct 26, 2023
062c25d
Merge pull request #29891 from Expensify/CortneyOfstad-patch-1
Beamanator Oct 26, 2023
cd851f5
Merge pull request #29643 from software-mansion-labs/Sebryu-performan…
mountiny Oct 26, 2023
e44467e
fix: update style if icon is in button
sangar-1028 Oct 26, 2023
2c52130
Merge pull request #27429 from tienifr/fix/26990-warning-non-passive-…
danieldoglas Oct 26, 2023
414d591
Merge pull request #30213 from ahmedGaber93/issue-29923
danieldoglas Oct 26, 2023
998f8c6
fix: prettier
sangar-1028 Oct 26, 2023
685f8f7
resolve conflicts
BartoszGrajdek Oct 26, 2023
f0b7aea
Fix wrong ref
kowczarz Oct 26, 2023
02c6f00
Merge branch 'Expensify:main' into refactor/28902/flashlist-migration
adhorodyski Oct 26, 2023
c285013
chore: remove a redundant rename on the isOffline param
adhorodyski Oct 26, 2023
3d6ad2f
chore: reuse global paymentMethodHeight value on the list
adhorodyski Oct 26, 2023
d656c9c
update the screenshots template in the reviewer checklist
akinwale Oct 26, 2023
565ea7c
Merge remote-tracking branch 'expensify/main' into from-migration/roo…
kowczarz Oct 26, 2023
d20f983
Merge main into branch
puneetlath Oct 26, 2023
0d3830e
Remove one more case of canUseCategories
puneetlath Oct 26, 2023
a44824d
Merge pull request #29443 from software-mansion-labs/ts-migration/wit…
puneetlath Oct 26, 2023
f3d70cc
Prettier fix
puneetlath Oct 26, 2023
19077c1
Fix wrong ref passing
kowczarz Oct 26, 2023
ea9b46e
Merge pull request #30440 from akinwale/task-reviewer-checklist
Julesssss Oct 26, 2023
2d52929
Merge pull request #30266 from tienifr/fix/29905
rlinoz Oct 26, 2023
91642d2
Merge pull request #30234 from VickyStash/ts-migration/inlineSystemMe…
Gonals Oct 26, 2023
a67253b
Merge pull request #30406 from janicduplessis/@janic/header-memo
Gonals Oct 26, 2023
7e72ab7
Update Card-Settings.md
gabrielessner Oct 26, 2023
8c76d2a
Merge pull request #28296 from Expensify/yuwen-removeCatBeta
pecanoro Oct 26, 2023
9e50be4
Merge pull request #29869 from software-mansion-labs/form-migration/N…
luacmartins Oct 26, 2023
dae3c5a
Merge pull request #29952 from software-mansion-labs/form-migration/S…
luacmartins Oct 26, 2023
92677e3
Merge pull request #29095 from adhorodyski/refactor/28902/flashlist-m…
roryabraham Oct 26, 2023
ccf0b9f
Fix propType
kowczarz Oct 26, 2023
020ba40
Merge pull request #30417 from s-alves10/fix/issue-30400
chiragsalian Oct 26, 2023
99f4fe6
Merge pull request #29771 from software-mansion-labs/from-migration/r…
luacmartins Oct 26, 2023
9802795
Merge pull request #28596 from software-mansion-labs/ts-migration/Sid…
bondydaa Oct 26, 2023
6c2e087
Merge pull request #27306 from bernhardoj/fix/24366-iou-transaction
bondydaa Oct 26, 2023
d46a691
Update version to 1.3.91-7
OSBotify Oct 26, 2023
e47a256
Merge pull request #30013 from Expensify/marcaaron-fixGlobalUnreadInd…
marcaaron Oct 26, 2023
294afaf
Merge pull request #30321 from Expensify/rocio-xmldom
marcaaron Oct 26, 2023
a5e1e3f
Merge pull request #30317 from s-alves10/fix/issue-26012
thienlnam Oct 26, 2023
d7d19c1
hijack ref without hover support
kacper-mikolajczak Oct 26, 2023
6b9fc22
Add autoScrollToTopThreshold
roryabraham Oct 26, 2023
b335f2f
Merge pull request #30301 from s-alves10/fix/issue-28265
dangrous Oct 26, 2023
f06f1d6
Merge pull request #29989 from VickyStash/ts-migration/keyboardDismis…
thienlnam Oct 26, 2023
ff89240
Merge pull request #30450 from Expensify/gabrielessner-patch-1
stitesExpensify Oct 26, 2023
e824526
[ImgBot] Optimize images
ImgBotApp Oct 26, 2023
a75baa1
Merge pull request #30463 from Expensify/imgbot
github-actions[bot] Oct 26, 2023
b644611
Merge pull request #29757 from software-mansion-labs/ts-migration/For…
nkuoch Oct 26, 2023
4809055
Merge pull request #30241 from VickyStash/ts-migration/expensifyCashL…
NikkiWines Oct 26, 2023
a4ab410
Merge pull request #30227 from akinwale/task-26695
roryabraham Oct 26, 2023
6863ca6
Merge pull request #30461 from Expensify/Rory-FixAndroidScrollRegression
marcaaron Oct 26, 2023
53699cf
Update version to 1.3.91-8
OSBotify Oct 26, 2023
546f27e
Merge pull request #30029 from Expensify/jpersaud_osbotify_updates
roryabraham Oct 26, 2023
ac5470e
Merge branch 'main' into Rory-SkipTestsForUnrelatedChanges
roryabraham Oct 26, 2023
835f7f7
Add test change in JS file - tests and lint should run
roryabraham Oct 26, 2023
f9fa1db
Ok now only a ts change
roryabraham Oct 26, 2023
7cacd8e
Consistently use double-wildcarding
roryabraham Oct 26, 2023
bf72a7c
remove test ts change
roryabraham Oct 26, 2023
ac41cd8
Test markdown change
roryabraham Oct 26, 2023
ca0235a
Test markdown change in docs folder
roryabraham Oct 26, 2023
2e3037d
Remove test markdown change
roryabraham Oct 26, 2023
e51b21b
Merge pull request #30099 from mkhutornyi/fix-28036
jasperhuangg Oct 26, 2023
33f15e8
Separate out shell script linting
roryabraham Oct 26, 2023
0c7c06f
Ignore shell scripts in reassurePerformanceTests
roryabraham Oct 26, 2023
6aff07f
Update version to 1.3.92-0
OSBotify Oct 26, 2023
ebff489
Merge pull request #30315 from Expensify/Rory-SkipTestsForUnrelatedCh…
AndrewGable Oct 26, 2023
c9abaf6
Merge pull request #28587 from software-mansion-labs/ts-migration/pol…
AndrewGable Oct 26, 2023
e51f746
Merge pull request #29014 from Expensify/OfstadC-patch-1
chiragsalian Oct 26, 2023
83e2b97
Merge pull request #30186 from Expensify/rocio-DesktopSemver
tylerkaraszewski Oct 26, 2023
b15fc21
Merge pull request #29315 from JKobrynski/migrateUseReportScrollManag…
roryabraham Oct 26, 2023
eef8347
Merge pull request #29434 from HardikChoudhary24/fix/28149-wrong-RTL-…
neil-marcellini Oct 27, 2023
d4bce78
fix money request participants selector in manual
DylanDylann Oct 27, 2023
e0e51ed
Fix viewing attachments
youssef-lr Oct 27, 2023
d2844c9
Add dependencies to useCallback
youssef-lr Oct 27, 2023
1c8903f
Remove unneeded ref
youssef-lr Oct 27, 2023
8c9751c
chore: use predefined optionRowHeight instead of paymentMethodHeight …
adhorodyski Oct 27, 2023
81a05f8
Style fixes in Text.tsx
BartoszGrajdek Oct 27, 2023
9c0efa5
Fix tests
BartoszGrajdek Oct 27, 2023
d818938
Merge branch 'Expensify:main' into main
ishpaul777 Oct 27, 2023
ffa49c0
Add imgbot config
justinpersaud Oct 27, 2023
4191b39
revert optimization on empty state background
justinpersaud Oct 27, 2023
1fc2bbc
Merge pull request #29848 from jayeshmangwani/BaseSelectionList_recom…
puneetlath Oct 27, 2023
2d5953b
Merge pull request #30512 from Expensify/jpersaud_imgbot_fix
Julesssss Oct 27, 2023
ee5e6de
Update version to 1.3.92-1
OSBotify Oct 27, 2023
be779f0
Merge pull request #30287 from aman-atg/aman/fix-error-message-positi…
amyevans Oct 27, 2023
e000296
Update formatting per prettier
amyevans Oct 27, 2023
55b4240
Merge pull request #29338 from software-mansion-labs/ts-migration/Key…
rlinoz Oct 27, 2023
87f4598
Merge pull request #30369 from Expensify/sarajojacobson-patch-4
sarajojacobson Oct 27, 2023
044eabe
Merge pull request #29927 from pradeepmdk/fix/27616-plaid-model-open-up
tgolen Oct 27, 2023
1a45001
Merge pull request #29765 from software-mansion-labs/ts-migration/Sig…
AndrewGable Oct 27, 2023
93d7191
Merge pull request #30519 from Expensify/amy-run-prettier
stitesExpensify Oct 27, 2023
6777fb5
emoji/mention suggestion are displayed
HardikChoudhary24 Oct 27, 2023
4bc16b4
Include more paths in lint workflow
roryabraham Oct 27, 2023
3704cb5
Move comment to test change in .imgbotconfig
roryabraham Oct 27, 2023
5528457
include imgbotconfig
roryabraham Oct 27, 2023
e4e6fd8
Move comment back
roryabraham Oct 27, 2023
b529f96
Merge pull request #29936 from DylanDylann/fix/28751
amyevans Oct 27, 2023
22678a5
Merge pull request #28381 from fvlvte/24908-migrate-welcome-lib
Oct 27, 2023
8531566
Apply fix in AttachmentModal instead of BaseOptionsList
youssef-lr Oct 27, 2023
853d489
Merge pull request #30481 from Expensify/youssef_fix_attachments
tgolen Oct 27, 2023
e3df74f
Update version to 1.3.92-2
OSBotify Oct 27, 2023
3865284
Merge pull request #30486 from adhorodyski/refactor/28902/flashlist-m…
roryabraham Oct 27, 2023
11053d9
native emoji support added
HardikChoudhary24 Oct 27, 2023
28a1b81
Merge pull request #30497 from software-mansion-labs/ts-migration/tex…
chiragsalian Oct 27, 2023
de3ec13
Merge pull request #29970 from VickyStash/ts-migration/radioButtons-c…
Oct 27, 2023
c01af10
Revert "[Form Provider Refactor] RoomNameInput"
luacmartins Oct 27, 2023
43461ca
Merge pull request #30522 from Expensify/Rory-DontSkipTestsForHiddenJS
thienlnam Oct 27, 2023
f3e2cde
Merge pull request #30532 from Expensify/revert-29771-from-migration/…
pecanoro Oct 27, 2023
dfbaffe
Update QuickBooks-Online.md
isabelastisser Oct 27, 2023
9ffb7a3
Update version to 1.3.92-3
OSBotify Oct 27, 2023
e3f4311
Merge pull request #30521 from HardikChoudhary24/fix/emoji-mention-su…
neil-marcellini Oct 27, 2023
08557e9
fix/focus error input on click of CTA message
ishpaul777 Oct 27, 2023
8ec7327
fix linters
ishpaul777 Oct 27, 2023
4e72207
Merge pull request #30534 from Expensify/isabelastisser-patch-3
tylerkaraszewski Oct 27, 2023
533a373
Merge pull request #30536 from ishpaul777/fix/30510
luacmartins Oct 27, 2023
7da77b2
Update version to 1.3.92-4
OSBotify Oct 27, 2023
32603b6
Merge pull request #23702 from Expensify/neil-secondary-members
neil-marcellini Oct 27, 2023
a59d56f
Merge pull request #27994 from Expensify/srikar-addSubscribeToParentC…
chiragsalian Oct 28, 2023
8da0ab1
Merge pull request #30462 from kacper-mikolajczak/fix/30278/hoverable…
youssef-lr Oct 28, 2023
419e077
import alias config
b4s36t4 Oct 28, 2023
c250042
Merge branch 'main' of github.com:Expensify/App into feat/import-alias
b4s36t4 Oct 28, 2023
5d45f0f
run alias & lint config
b4s36t4 Oct 28, 2023
23898a1
fix typecheck issue
b4s36t4 Oct 28, 2023
e99c297
Merge pull request #26605 from b4s36t4/feat/import-alias
roryabraham Oct 28, 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
  •  
  •  
  •  
26 changes: 25 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const restrictedImportPatterns = [
];

module.exports = {
extends: ['expensify', 'plugin:storybook/recommended', 'plugin:react-hooks/recommended', 'plugin:react-native-a11y/basic', 'prettier'],
extends: ['expensify', 'plugin:storybook/recommended', 'plugin:react-hooks/recommended', 'plugin:react-native-a11y/basic', 'plugin:@dword-design/import-alias/recommended', 'prettier'],
plugins: ['react-hooks', 'react-native-a11y'],
parser: 'babel-eslint',
ignorePatterns: ['!.*', 'src/vendor', '.github/actions/**/index.js', 'desktop/dist/*.js', 'dist/*.js', 'node_modules/.bin/**', 'node_modules/.cache/**', '.git/**'],
Expand All @@ -49,8 +49,31 @@ module.exports = {
touchables: ['PressableWithoutFeedback', 'PressableWithFeedback'],
},
],
'@dword-design/import-alias/prefer-alias': [
'warn',
{
alias: {
'@assets': './assets',
'@components': './src/components',
'@hooks': './src/hooks',
// This is needed up here, if not @libs/actions would take the priority
'@userActions': './src/libs/actions',
'@libs': './src/libs',
'@navigation': './src/libs/Navigation',
'@pages': './src/pages',
'@styles': './src/styles',
// This path is provide alias for files like `ONYXKEYS` and `CONST`.
'@src': './src',
},
},
],
},
},
// This helps disable the `prefer-alias` rule to be enabled for specific directories
{
files: ['tests/**/*.js', 'tests/**/*.ts', 'tests/**/*.jsx', 'assets/**/*.js', '.storybook/**/*.js'],
rules: {'@dword-design/import-alias/prefer-alias': ['off']},
},
{
files: ['*.js', '*.jsx'],
settings: {
Expand Down Expand Up @@ -79,6 +102,7 @@ module.exports = {
},
],
curly: 'error',
'react/display-name': 'error',
},
},
{
Expand Down
1 change: 1 addition & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ self-hosted-runner:
labels:
- ubuntu-latest-xl
- macos-12-xl
- macos-13-xlarge
2 changes: 1 addition & 1 deletion .github/actions/composite/buildAndroidAPK/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
steps:
- uses: Expensify/App/.github/actions/composite/setupNode@main

- uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
- uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011
with:
ruby-version: "2.7"
bundler-cache: true
Expand Down
21 changes: 18 additions & 3 deletions .github/actions/composite/setupGitForOSBotifyApp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ outputs:
runs:
using: composite
steps:
- name: Check if gpg encrypted private key is present
id: key_check
shell: bash
run: |
if [[ -f .github/workflows/OSBotify-private-key.asc.gpg ]]; then
echo "::set-output name=key_exists::true"
fi

- name: Checkout
uses: actions/checkout@v3
if: steps.key_check.outputs.key_exists != 'true'
with:
sparse-checkout: |
.github

- name: Decrypt OSBotify GPG key
run: cd .github/workflows && gpg --quiet --batch --yes --decrypt --passphrase=${{ inputs.GPG_PASSPHRASE }} --output OSBotify-private-key.asc OSBotify-private-key.asc.gpg
shell: bash
Expand All @@ -47,7 +62,7 @@ runs:

- name: Generate a token
id: generateToken
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
uses: actions/create-github-app-token@9d97a4282b2c51a2f4f0465b9326399f53c890d4
with:
app_id: ${{ inputs.OS_BOTIFY_APP_ID }}
private_key: ${{ inputs.OS_BOTIFY_PRIVATE_KEY }}
app-id: ${{ inputs.OS_BOTIFY_APP_ID }}
private-key: ${{ inputs.OS_BOTIFY_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/authorChecklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
# then you also need to go into PHP and update the name of this job in the GH_JOB_NAME_CHECKLIST constant
checklist:
runs-on: ubuntu-latest
if: github.actor != 'OSBotify'
if: github.actor != 'OSBotify' && github.actor != 'imgbot[bot]'
steps:
- name: authorChecklist.js
uses: Expensify/App/.github/actions/javascript/authorChecklist@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
# This job only runs for pull request comments or pull request target events (not issue comments)
# It does not run for pull requests created by OSBotify
if: ${{ github.event.issue.pull_request || (github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'OSBotify') }}
if: ${{ github.event.issue.pull_request || (github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'OSBotify' && github.event.pull_request.user.login != 'imgbot[bot]') }}
steps:
- name: CLA comment check
uses: actions-ecosystem/action-regex-match@9c35fe9ac1840239939c59e5db8839422eed8a73
Expand Down
89 changes: 60 additions & 29 deletions .github/workflows/e2ePerformanceTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: Expensify/App/.github/actions/composite/setupNode@main

- name: Make zip directory for everything to send to AWS Device Farm
run: mkdir zip

Expand All @@ -137,7 +140,7 @@ jobs:

# The downloaded artifact will be a file named "app-e2e-release.apk" so we have to rename it
- name: Rename baseline APK
run: mv "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2e-release.apk" "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease-baseline.apk"
run: mv "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2e-release.apk" "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease-main.apk"

- name: Download delta APK
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
Expand All @@ -147,7 +150,7 @@ jobs:
path: zip

- name: Rename delta APK
run: mv "${{steps.downloadDeltaAPK.outputs.download-path}}/app-e2e-release.apk" "${{steps.downloadDeltaAPK.outputs.download-path}}/app-e2eRelease-compare.apk"
run: mv "${{steps.downloadDeltaAPK.outputs.download-path}}/app-e2e-release.apk" "${{steps.downloadDeltaAPK.outputs.download-path}}/app-e2eRelease-delta.apk"

- name: Copy e2e code into zip folder
run: cp -r tests/e2e zip
Expand All @@ -162,44 +165,72 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-west-2

- name: Schedule AWS Device Farm test run
- name: Schedule AWS Device Farm test run on main branch
uses: realm/aws-devicefarm/test-application@7b9a91236c456c97e28d384c9e476035d5ea686b
id: schedule-awsdf-main
with:
name: App E2E Performance Regression Tests
project_arn: ${{ secrets.AWS_PROJECT_ARN }}
device_pool_arn: ${{ secrets.AWS_DEVICE_POOL_ARN }}
app_file: zip/app-e2eRelease-baseline.apk
app_file: zip/app-e2eRelease-main.apk
app_type: ANDROID_APP
test_type: APPIUM_NODE
test_package_file: App.zip
test_package_type: APPIUM_NODE_TEST_PACKAGE
test_spec_file: tests/e2e/TestSpec.yml
test_spec_file: tests/e2e/TestSpecMain.yml
test_spec_type: APPIUM_NODE_TEST_SPEC
remote_src: false
file_artifacts: Customer Artifacts.zip
log_artifacts: debug.log
cleanup: true

- name: Unzip AWS Device Farm results
if: ${{ always() }}
run: unzip "Customer Artifacts.zip"

- name: Print AWS Device Farm run results
if: ${{ always() }}
run: cat "./Host_Machine_Files/\$WORKING_DIRECTORY/output.md"

- name: Print AWS Device Farm verbose run results
if: ${{ always() && runner.debug != null && fromJSON(runner.debug) }}
run: cat "./Host_Machine_Files/\$WORKING_DIRECTORY/debug.log"

# TODO: Once tests are more reliable we should uncomment this
# - name: Check if test failed, if so post the results and add the DeployBlocker label
# run: |
# if grep -q '🔴' ./Host_Machine_Files/\$WORKING_DIRECTORY/output.md; then
# gh pr edit ${{ inputs.PR_NUMBER }} --add-label DeployBlockerCash
# gh pr comment ${{ inputs.PR_NUMBER }} -F ./Host_Machine_Files/\$WORKING_DIRECTORY/output.md
# gh pr comment ${{ inputs.PR_NUMBER }} -b "@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker."
# else
# echo '✅ no performance regression detected'
# fi
# env:
# GITHUB_TOKEN: ${{ github.token }}
- name: Print logs if run failed
if: failure()
run: |
echo ${{ steps.schedule-awsdf-main.outputs.data }}
unzip "Customer Artifacts.zip" -d mainResults
cat ./mainResults/Host_Machine_Files/\$WORKING_DIRECTORY/debug.log

- name: Unzip AWS Device Farm main results
run: unzip "Customer Artifacts.zip" -d mainResults

- name: Delete Customer Artifacts.zip
run: rm "Customer Artifacts.zip"

- name: Schedule AWS Device Farm test run on delta branch
uses: realm/aws-devicefarm/test-application@7b9a91236c456c97e28d384c9e476035d5ea686b
with:
name: App E2E Performance Regression Tests
project_arn: ${{ secrets.AWS_PROJECT_ARN }}
device_pool_arn: ${{ secrets.AWS_DEVICE_POOL_ARN }}
app_file: zip/app-e2eRelease-delta.apk
app_type: ANDROID_APP
test_type: APPIUM_NODE
test_package_file: App.zip
test_package_type: APPIUM_NODE_TEST_PACKAGE
test_spec_file: tests/e2e/TestSpecDelta.yml
test_spec_type: APPIUM_NODE_TEST_SPEC
remote_src: false
file_artifacts: Customer Artifacts.zip
cleanup: true

- name: Unzip AWS Device Farm delta results
run: unzip "Customer Artifacts.zip" -d deltaResults

- name: Compare results
run: node tests/e2e/merge.js --mainPath ./mainResults/Host_Machine_Files/\$WORKING_DIRECTORY/main.json --deltaPath ./deltaResults//Host_Machine_Files/\$WORKING_DIRECTORY/delta.json --outputPath ./output.md

- name: Print results
run: cat "./output.md"

- name: Check if test failed, if so post the results and add the DeployBlocker label
run: |
if grep -q '🔴' ./output.md; then
gh pr edit ${{ inputs.PR_NUMBER }} --add-label DeployBlockerCash
gh pr comment ${{ inputs.PR_NUMBER }} -F ./output.md
gh pr comment ${{ inputs.PR_NUMBER }} -b "@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker."
else
echo '✅ no performance regression detected'
fi
env:
GITHUB_TOKEN: ${{ github.token }}
25 changes: 25 additions & 0 deletions .github/workflows/imgbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: imgbot Image Optimization

on: pull_request

permissions:
pull-requests: write
# The two permissions below are supposedly needed to allow a pull request to be merged.
# See https://github.com/cli/cli/discussions/6379
issues: write
contents: write

jobs:
approveAndMerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'imgbot[bot]' }}
steps:
- name: Approve imgbot PR
run: gh pr review --approve "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Merge imgbot PR
run: gh pr merge --auto --merge "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 2 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ on:
pull_request:
types: [opened, synchronize]
branches-ignore: [staging, production]
paths: ['**.js', '**.ts', '**.tsx', '**.json', '**.mjs', '**.cjs', 'config/.editorconfig', '.watchmanconfig', '.imgbotconfig']

jobs:
lint:
if: ${{ github.actor != 'OSBotify' || github.event_name == 'workflow_call' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@v3

- name: Setup Node
uses: Expensify/App/.github/actions/composite/setupNode@main
Expand All @@ -22,9 +23,6 @@ jobs:
env:
CI: true

- name: Lint shell scripts with ShellCheck
run: npm run shellcheck

- name: Verify there's no Prettier diff
run: |
npm run prettier -- --loglevel silent
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
uses: Expensify/App/.github/actions/composite/setupNode@main

- name: Setup Ruby
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011
with:
ruby-version: '2.7'
bundler-cache: true
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
name: Build and deploy iOS
needs: validateActor
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }}
runs-on: macos-12-xl
runs-on: macos-13-xlarge
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -190,7 +190,7 @@ jobs:
uses: Expensify/App/.github/actions/composite/setupNode@main

- name: Setup Ruby
uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011
with:
ruby-version: '2.7'
bundler-cache: true
Expand Down
Loading
Loading