[No QA] Migrate 'OptionsListUtilsTest.js', 'DateUtilsTest.js', 'SidebarLinks.perf-test.js', 'markdown.js' and 'ReportUtilsTest.js' to Typescript#39206
Conversation
…', 'SidebarLinks.perf-test.js', 'markdown.js' and 'ReportUtilsTest.js' to Typescript" This reverts commit 39aaa56.
|
@youssef-lr 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] |
| const formatEntryDuration = (entry) => { | ||
| if ('baseline' in entry && 'current' in entry) { | ||
| return format.formatDurationDiffChange(entry); | ||
| formattedDuration = format.formatDurationDiffChange(entry); |
There was a problem hiding this comment.
this is a bit more verbose, wondering why we needed this vs what we had before, did TS complain?
marcaaron
left a comment
There was a problem hiding this comment.
LGTM. Let's test it before we merge this time 😅
…25312-25313-to-typescript
|
@youssef-lr can you review this again and check that it's working so that we can merge this? Thanks 😄 |
…s failing because of daylight saving time
…25312-25313-to-typescript # Conflicts: # src/libs/OptionsListUtils.ts # tests/unit/OptionsListUtilsTest.ts
…25312-25313-to-typescript
|
@youssef-lr Kind bump 💌 |
|
@pac-guerreiro we have merge conflicts |
…25312-25313-to-typescript # Conflicts: # src/libs/OptionsListUtils.ts
|
@fabioh8010 @blazejkustra @youssef-lr merge conflicts resolved! |
|
@youssef-lr all yours! |
|
Testing now! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@pac-guerreiro conflicts sorry :/ I was not feeling well past few days apologies for the delay |
…25312-25313-to-typescript
|
@youssef-lr @fabioh8010 conflicts resolved, have fun! 😄 |
|
@youssef-lr Here is not showing any conflicts 🤔 |
|
Ok I was able to merge from mobile. Not sure why on desktop it was stuck like that. |
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.61-0 🚀
|
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.61-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀
|

Details
The original PR had to be reverted because it introduced errors on main.
Fixed Issues
$ #25309 #25310 #25311 #25312 #25313
PROPOSAL: N/A
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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(theme.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
N/A
Android: mWeb Chrome
N/A
iOS: Native
N/A
iOS: mWeb Safari
N/A
MacOS: Chrome / Safari
N/A
MacOS: Desktop
N/A