-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix chat navigation #42684
Fix chat navigation #42684
Conversation
Hi @c3024 there seems to be a problem with mobile platforms when using the it seems that the here is the log of the ios: any ideas how to proceed? cc @WojtekBoman |
Should we use the |
This bug happens only when we refresh, right? So, is it applicable for native apps? |
just made a test .. yes its not applicable for native apps. now should i create two new components specifically for the web in both the |
I think that is what we should do. Platform specific code within a single file is against guidelines. |
Bump on this @abzokhattab |
how is this going? @abzokhattab |
Sorry @c3024 for the delay .. i had some problems running the project on ios .. The PR is ready. Please let me know if you have any comments. |
Reviewer Checklist
Screenshots/VideosAndroid: Native42684-android.mp4Android: mWeb Chrome42684-androidmWeb.mp4iOS: Native42684-iOS.mp4iOS: mWeb Safari42684-iOSmWeb.mp4MacOS: Chrome / Safari42684-webChrome.mp4MacOS: Desktop42684-desktop.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@abzokhattab Can you please fix the conflicts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay!
(Ooh, althought you've got conflicts now @abzokhattab, sorry!) |
just merged into main again @NikkiWines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - though I noticed that the order of the workspaces differs each time as we're moving the currently selected workspace to the top of the list. I'm not sure if that's our expected behavior but it's not really a bug at this time so let's
sike, conflicts again |
ops ... just merged again @NikkiWines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✋ 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/NikkiWines in version: 1.4.82-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.82-4 🚀
|
Hey, I noticed that we split the If we've already split the |
const navigateToChats = useCallback(() => { | ||
const route = activeWorkspaceID ? (`/w/${activeWorkspaceID}/home` as Route) : ROUTES.HOME; | ||
Navigation.navigate(route); | ||
}, [activeWorkspaceID]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be related, when user is already in home and presses the home tab page blinks #43585
Details
Fixed Issues
$ #42153
PROPOSAL: #42153 (comment)
Tests
Offline tests
Same as in Tests
QA Steps
Same as in Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-06-04.at.3.40.10.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-06-04.at.3.42.25.PM.mov
iOS: Native
Screen.Recording.2024-06-04.at.2.59.46.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-06-04.at.3.49.02.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-05-21.at.12.31.14.PM.mov
MacOS: Desktop
Screen.Recording.2024-06-04.at.3.41.39.PM.mov