[Debug Mode] Show reason for RBR/GBR on LHN tabs#49962
Conversation
|
I need to add unit tests for the new hook that I created - Besides this, I also have to:
|
…rbr-gbr-on-lhn-tabs # Conflicts: # src/languages/en.ts
|
Today's update:
To continue tomorrow:
|
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
…rbr-gbr-on-lhn-tabs # Conflicts: # src/CONST.ts # src/languages/en.ts # src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
|
Today's update:
To continue tomorrow:
|
…rbr-gbr-on-lhn-tabs
|
Today's update:
Todo:
|
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
|
I forgot to leave my update yesterday, here it is:
Todo:
|
…rbr-gbr-on-lhn-tabs
|
All tasks done. This PR is now ready for review! |
|
Still waiting on final review from @DylanDylann |
1 similar comment
|
Still waiting on final review from @DylanDylann |
Screen.Recording.2024-10-17.at.09.41.43.movLet's use text color to be suitable with the background color |
| useEffect(() => { | ||
| setChatTabBrickRoad(getChatTabBrickRoad(activeWorkspaceID)); | ||
| }, [activeWorkspaceID, transactionViolations]); | ||
| }, [activeWorkspaceID, transactionViolations, reports, reportActions]); |
| hasChildReportAwaitingAction: 'Informe secundario pendiente de acción', | ||
| hasMissingInvoiceBankAccount: 'Falta la cuenta bancaria de la factura', | ||
| }, | ||
| indicatorStatus: { |
There was a problem hiding this comment.
@pac-guerreiro NAB: Did you confirm these translations?
There was a problem hiding this comment.
@DylanDylann thanks for the reminder! I just requested confirmation on expensify-open-source 😄
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
…rbr-gbr-on-lhn-tabs
- Fix text color in debug tab view when using light theme - Update route for custom units error
|
@DylanDylann all feedback addressed! I'll let you know when someone confirms the spanish translations 😄 |
|
@pac-guerreiro We have conflicts, please help to resolve it |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-18.at.10.50.23.movAndroid: mWeb ChromeScreen.Recording.2024-10-18.at.10.46.20.moviOS: NativeScreen.Recording.2024-10-18.at.10.50.08.moviOS: mWeb SafariScreen.Recording.2024-10-18.at.10.47.40.movMacOS: Chrome / SafariScreen.Recording.2024-10-18.at.10.44.13.movMacOS: DesktopScreen.Recording.2024-10-18.at.10.44.43.mov |
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
Outdated
Show resolved
Hide resolved
…rbr-gbr-on-lhn-tabs # Conflicts: # src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
|
@DylanDylann I just resolved the conflict and applied a fix for the problem you encountered 😄 |
|
Thank you @DylanDylann for the review! 😄 The spanish translations were confirmed by @Gonals 🙌 The PR is ready to be merged! |
puneetlath
left a comment
There was a problem hiding this comment.
This looks great and very thorough. Thank you!
|
@puneetlath looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Hmm, all the tests are passing. |
|
✋ 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/puneetlath in version: 9.0.52-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
| {message && <Text style={[StyleUtils.getColorStyle(theme.text), styles.lh20]}>{translate(message)}</Text>} | ||
| </View> | ||
| <Button | ||
| text="View" |
There was a problem hiding this comment.
Coming from #57974, applied translation to this text . :)
Details
Fixed Issues
$#49600
PROPOSAL: N/A
Tests
To trigger a GBR in Inbox
Make sure there are no reports with RBR
Inboxpage+on the chat editor and selectAssign TaskViewbutton after the messageTo trigger a RBR in Inbox
Category)View, you should be redirected to the expense reportTo trigger a GBR in Settings
Profile, then openContact methodView, you should be redirected to the contact method pageTo trigger a RBR in Settings
Profile, then openContact methodView, you should be redirected to the contact method pageOffline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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.-.Native.mp4
Android: mWeb Chrome
Android.-.Chrome.mp4
iOS: Native
iOS.-.Native.mp4
iOS: mWeb Safari
iOS.-.Safari.mp4
MacOS: Chrome / Safari
MacOS.-.Chrome.mp4
MacOS: Desktop
MacOS.-.Native.mp4