-
Notifications
You must be signed in to change notification settings - Fork 3.2k
workspace-Refreshing airlines page user directed to previous settings page #61202
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
Comments
Triggered auto assignment to @stephanieelliott ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-04-30 16:51:30 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Refreshing airlines page user directed to previous settings page. What is the root cause of that problem?When reloading the page,
What changes do you think we should make in order to solve the problem?We should save App/src/pages/settings/Security/AddDelegate/UpdateDelegateRole/UpdateDelegateRolePage.tsx Lines 31 to 32 in 29a77ed
Implementation:
const [isSelectorModalVisible, setIsSelectorModalVisible] = useState(route.params.isSelectorModalVisible ?? false);
const [categoryID, setCategoryID] = useState<string>(route.params.categoryID ?? '');
const [groupID, setGroupID] = useState<string>(route.params.groupID ?? '');
useEffect(() => {
Navigation.setParams({
isSelectorModalVisible,
categoryID,
groupID,
});
}, [isSelectorModalVisible, categoryID, groupID]); Optional: We can put Fullscreen loading indicator to the page as well for after the reload More details can be further discussed in PR phase POC Screen.Recording.2025-04-30.at.23.48.27.movWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None, navigation issue. What alternative solutions did you explore? (Optional)OR we can create a separate page for category selector modal. Test branch for alternative solution. Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Seems like this behavior is consistent on all platforms - if the user doesn't actively make a selection and refeshes, we treat it as exiting without input and return to the Settings page. I think this is a reasonable fallback and not something we need to change. |
@stephanieelliott There's a several PRs has been merged that fixed the same issue on other pages. For example: #60626 - Workspace Invite Message page So IMO we should fix this issue as well to maintain consistency across App. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: V9.1.38-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: N/a
Email or phone of affected tester (no customers): Slottwo1 [email protected]
Issue reported by: Applause Internal Team
Device used: Redminote note 10s android 13
App Component: Workspace Settings
Action Performed:
Expected Result:
Refreshing airlines page user must not be directed to previous settings page.
Actual Result:
Refreshing airlines page user directed to previous settings page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6817687_1746021528010.Screenrecorder-2025-04-30-19-23-00-559.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: