Fix - mweb-expense-Context menu flickers&shown in create expense page in a workspace chat.#59014
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Android build is failing |
Reviewer Checklist
Screenshots/VideosAndroid: Native2025-04-01.15.22.31.movAndroid: mWeb Chrome2025-04-01.15.22.31.moviOS: Nativeios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopweb.mov |
|
I think we should enable shouldCallAfterModalHide only for mobile 2025-03-25.19.59.58.mov |
|
Fixed |
src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx
Outdated
Show resolved
Hide resolved
|
Done Thx |
Nice |
|
LGTM |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/amyevans in version: 9.1.22-0 🚀
|
Performance Comparison Report 📊
|
| Name | Duration |
|---|---|
| App start time contentAppeared_To_screenTTI | 1007.097 ms → 1175.246 ms (+168.149 ms, +16.7%) 🔴 |
| App start time TTI | 1684.764 ms → 1829.109 ms (+144.345 ms, +8.6%) 🔴 |
Show details
| Name | Duration |
|---|---|
| App start time contentAppeared_To_screenTTI | Baseline Mean: 1007.097 ms Stdev: 243.287 ms (24.2%) Runs: 546.5719820000231 594.6324159987271 594.8886840008199 613.6860160008073 620.3209469988942 632.5423280000687 632.7570840008557 634.8132410012186 635.202539999038 654.5304020009935 658.0918309986591 658.102267999202 660.9384570010006 670.7470830008388 680.5250190012157 684.3440399989486 696.1443799994886 704.0526540018618 1045.38937599957 1076.3640730008483 1085.0923900008202 1090.133358001709 1090.8917310014367 1106.6697250008583 1111.5904779992998 1114.085965000093 1115.7306599989533 1124.4613539986312 1130.1483240015805 1136.3556349985301 1137.7896130010486 1139.508179999888 1139.5337879993021 1144.959141999483 1148.9262050017715 1155.20228099823 1155.8106269985437 1156.4657130017877 1158.9460380002856 1159.3147980012 1159.3666479997337 1173.9941329993308 1175.043382000178 1175.6669940017164 1179.4355910010636 1181.9265040010214 1183.549263998866 1191.6513240002096 1193.5440119989216 1197.901519998908 1199.0259569995105 1199.227010000497 1201.0882969982922 1217.5671240016818 1218.329989001155 1224.4696639999747 1249.111182000488 1254.6586069986224 1271.8712610006332 1282.1311989985406 Current Mean: 1175.246 ms Stdev: 55.442 ms (4.7%) Runs: 1051.817593999207 1066.5478969998658 1076.235883001238 1081.1465369984508 1099.201071999967 1100.498966999352 1108.8433680012822 1114.558651998639 1118.3139850012958 1123.0609479993582 1128.7722220011055 1136.4123799987137 1136.9678639993072 1146.5796939991415 1154.8467269986868 1158.97521699965 1162.2975509986281 1163.6085290014744 1167.048501998186 1169.5513820014894 1172.556995999068 1173.1437060013413 1174.2777619995177 1181.3768289983273 1181.885664999485 1183.826099999249 1184.6317819990218 1187.0376809984446 1209.2186230011284 1210.938981000334 1211.964549999684 1215.0352099984884 1215.9265649989247 1219.1247220002115 1219.5878029987216 1224.0221940018237 1226.3022469989955 1227.6998590007424 1228.9219769984484 1231.7790989987552 1232.278560001403 1235.6608610004187 1238.846967998892 1263.672951001674 1264.1049069985747 1282.2170279994607 |
| App start time TTI | Baseline Mean: 1684.764 ms Stdev: 261.266 ms (15.5%) Runs: 1230.632415998727 1237.9384570010006 1250.6860160008073 1254.5719820000231 1281.102267999202 1291.3440399989486 1298.5423280000687 1299.202539999038 1301.7570840008557 1304.7470830008388 1305.5250190012157 1307.88868400082 1310.3209469988942 1322.0526540018618 1323.8132410012186 1353.0918309986591 1373.5304020009935 1428.1443799994886 1690.38937599957 1693.133358001709 1701.3640730008483 1713.0923900008202 1724.8917310014367 1742.5337879993021 1743.3556349985301 1743.6697250008583 1747.1483240015805 1761.959141999483 1765.085965000093 1781.20228099823 1790.508179999888 1806.3666479997337 1814.6513240002096 1816.3147980012 1828.8106269985437 1829.0882969982922 1834.9941329993308 1847.9460380002856 1848.549263998866 1856.043382000178 1866.0259569995105 1874.7896130010486 1885.6669940017164 1892.329989001155 1897.4355910010636 1897.5671240016818 1898.6586069986224 1902.7306599989533 1905.901519998908 1912.9265040010214 1917.4657130017877 1928.5904779992998 1937.5440119989216 1946.227010000497 1948.4613539986312 1949.9262050017715 1962.111182000488 1975.4696639999747 1994.8712610006332 2035.1311989985406 Current Mean: 1829.109 ms Stdev: 128.862 ms (7.0%) Runs: 1389.678355999291 1427.2257229983807 1465.0940669998527 1666.1465369984508 1696.558651998639 1699.817593999207 1700.201071999967 1747.235883001238 1762.4123799987137 1764.5478969998658 1771.2975509986281 1771.7722220011055 1779.2777619995177 1789.8467269986868 1793.9678639993072 1797.3139850012958 1798.5513820014894 1814.6085290014744 1834.0376809984446 1836.826099999249 1840.8433680012822 1849.938981000334 1852.0609479993582 1858.1247220002115 1863.9265649989247 1864.048501998186 1874.556995999068 1877.3768289983273 1886.1437060013413 1887.278560001403 1889.498966999352 1896.0352099984884 1897.964549999684 1904.2186230011284 1905.6608610004187 1913.5878029987216 1914.6998590007424 1917.9219769984484 1917.97521699965 1934.0221940018237 1936.6317819990218 1939.2170279994607 1939.885664999485 1948.672951001674 1955.3022469989955 1957.5796939991415 1961.846967998892 1962.7790989987552 1972.1049069985747 |
Meaningless Changes To Duration
Show entries
| Name | Duration |
|---|---|
| App start time nativeLaunchEnd_To_appCreationStart | 75.750 ms → 76.967 ms (+1.217 ms, +1.6%) |
| App start time nativeLaunch | 24.190 ms → 23.145 ms (-1.044 ms, -4.3%) |
| App start time appCreation | 67.867 ms → 66.068 ms (-1.799 ms, -2.7%) |
| App start time appCreationEnd_To_contentAppeared | 507.085 ms → 509.017 ms (+1.932 ms, ±0.0%) |
| App start time runJsBundle | 307.867 ms → 306.424 ms (-1.443 ms, ±0.0%) |
| App start time regularAppStart | 0.020 ms → 0.020 ms (+0.000 ms, ±0.0%) |
| App start time (CPU) | 146.639 % → 146.016 % (-0.622 %, ±0.0%) |
| App start time (FPS) | 60.000 FPS → 60.000 FPS |
| App start time (RAM) | 392.046 MB → 393.685 MB (+1.640 MB, ±0.0%) |
| App start time (CPU/JS) | 0.000 % → 0.000 % |
| App start time (CPU/UI) | 24.265 % → 23.915 % (-0.350 %, -1.4%) |
| Open search router TTI Load Search Options | 170.421 ms → 169.550 ms (-0.871 ms, -0.5%) |
| Open search router TTI Open Search Router TTI | 1354.761 ms → 1348.666 ms (-6.094 ms, ±0.0%) |
| Open search router TTI (CPU) | 142.696 % → 143.863 % (+1.167 %, +0.8%) |
| Open search router TTI (FPS) | 60.000 FPS → 60.000 FPS |
| Open search router TTI (RAM) | 424.134 MB → 423.358 MB (-0.777 MB, ±0.0%) |
| Open search router TTI (CPU/JS) | 0.000 % → 0.000 % |
| Open search router TTI (CPU/UI) | 23.886 % → 23.803 % (-0.083 %, ±0.0%) |
| Report typing Composer typing rerender count | 1.000 renders → 1.000 renders |
| Report typing Message sent | 474.153 ms → 472.790 ms (-1.363 ms, ±0.0%) |
| Report typing (CPU) | 93.687 % → 93.387 % (-0.300 %, ±0.0%) |
| Report typing (FPS) | 60.000 FPS → 60.000 FPS |
| Report typing (RAM) | 491.744 MB → 489.885 MB (-1.859 MB, ±0.0%) |
| Report typing (CPU/JS) | 0.000 % → 0.000 % |
| Report typing (CPU/UI) | 20.343 % → 20.190 % (-0.153 %, -0.8%) |
| Chat opening Chat TTI | 943.394 ms → 948.524 ms (+5.130 ms, +0.5%) |
| Chat opening (CPU) | 152.654 % → 152.624 % (-0.030 %, ±0.0%) |
| Chat opening (FPS) | 60.000 FPS → 60.000 FPS |
| Chat opening (RAM) | 422.532 MB → 420.340 MB (-2.192 MB, -0.5%) |
| Chat opening (CPU/JS) | 0.000 % → 0.000 % |
| Chat opening (CPU/UI) | 29.541 % → 29.892 % (+0.351 %, +1.2%) |
undefined
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.22-10 🚀
|
Details
Fixed Issues
$ #58188
PROPOSAL: #58188 (comment)
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
2025-03-25.01-47-30.mp4
iOS: Native
i.mp4
iOS: mWeb Safari
iw.mp4
MacOS: Chrome / Safari
w.mp4
MacOS: Desktop
d.mp4