-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[$500] Web - Workspace - Workspace created in offline mode is not grayed out on Choose a workspace page #35732
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
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @tylerkaraszewski ( |
We think that this bug might be related to #wave8-collect-admins |
Sounds somewhat similar to #35702. |
Job added to Upwork: https://www.upwork.com/jobs/~0124a63474e95d7dc5 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Workspace - Workspace created in offline mode is not grayed out on Choose a workspace page What is the root cause of that problem?The main problem with issue is that we don't pass pending action App/src/pages/WorkspaceSwitcherPage.tsx Lines 125 to 142 in 6a889f1
What changes do you think we should make in order to solve the problem?To fix this issue we can update this function and add a new field
I add pendingFields?.generalSettings because when we update the general setting we add pending action there But I think we can update optimistic data and add pendingAction field App/src/libs/actions/Policy.ts Lines 828 to 855 in d122676
Plus we have problem with OptionRow since we get crash app since we use App/src/components/OptionRow.tsx Lines 163 to 205 in 664626c
To fix this we need delete Hoverable and use only PressableWithFeedback(In any case we only need hovered state ) Or move ![]() What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Workspace - Workspace created in offline mode is not grayed out on choosing a workspace page. What is the root cause of that problem?In the
App/src/pages/home/sidebar/PressableAvatarWithIndicator.js Lines 59 to 61 in 3ab4e6e
Also, the Thus, the Line 297 in 3ab4e6e
App/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx Lines 66 to 67 in 3ab4e6e
What changes do you think we should make in order to solve the problem?For the For example :
Alternatively, we could wrap the Lastly, for the What alternative solutions did you explore? (Optional)Create a |
Demoting, not a blocker |
Triggered auto assignment to @kevinksullivan ( |
@mountiny @tylerkaraszewski I just reviewed an offline issue for Delete Workspace. Both the issues need different changes, but there might be an overlap such as changing the wrapping order. But are we planning to consolidate all the new Workspace list offline issues in one? or we can work on these separately? |
I think we can work on this in one issue, create and delete workspace offline and ensure the feedback is correct. |
okay that makes sense. then let's handle these issues separately. @mananjadhav please select a proposal when you have time 🙇 |
Current assignee @tylerkaraszewski is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Sorry, I don't mind your decision |
@mananjadhav could you check @ZhenjaHorbach's comment? |
I'll check the comment and the proposal again to confirm. |
Hey all, I have to say about this #35732 (comment) which I think should be part of the expected result.
I believe that this is because my proposal included handling the
Secondly, it also handles the pending action for the Finally, I believe my solution was less complicated and regression-prone than changing Onyx's data.
Therefore, my proposal should fix all the cases as @mananjadhav stated in this #35732 (comment) I can provide the test branch if you want to review it. However, I am happy with the C+'s and engineer's decisions. Thanks. |
In my proposal I do not indicate that we are obliged to change the onyx's data And I don't mind if your proposition is better ) |
App/src/libs/actions/Policy.ts Lines 828 to 855 in d122676
@ZhenjaHorbach, then it seems I did not understand this part, before mentioning the
The |
We don't use SidebarUtils.getOptionData inside WorkspaceSwitcherPage ) This is an idea to update, but I have already proposed an option without Onyx changes ![]() |
@ZhenjaHorbach, we do. It works. It will also handle the home screen. Also, I think we need to fix the |
In WorkspaceSwitcherPage we use only OptionRow instead of OptionRowLHNData (And here we use SidebarUtils.getOptionData) Sorry, if I'm wrong, but can you double-check ?) |
It should work because I have tested it. However, let's hear the C+'s decision. |
Folks I was finishing up some PRs, and I'll be focusing on this one today. Please bear with me for one day. |
@tylerkaraszewski @mananjadhav @kevinksullivan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@tylerkaraszewski, @mananjadhav, @kevinksullivan Eep! 4 days overdue now. Issues have feelings too... |
I checked the comments/proposals again, and I can see the code has changed since we last reviewed. @Tony-MK @ZhenjaHorbach do either of you want to revise their proposals? |
Issue not reproducible during KI retests. (First week) |
Closing out unless this is reproducible again after the mentioned changes. |
@kevinksullivan, this issue is still reproducible on the latest main branch. Furthermore, once a workspace is created, the workspace settings page should grayed out. Similar to when a workspace name is updated. Could we confirm this? Thank you |
The expected result of graying out the options in the workspace switcher is wrong. I suppose there was confusion about highlighting the focused option and pending action. However, is it true that when the workspace is created, the workspace's initial page should grayed out? Similarly, when a workspace name is updated. Thank you. |
Uh oh!
There was an error while loading. Please reload this page.
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: 1.4.36-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Newly created workspace in offline should be grayed out
Actual Result:
Workspace created in offline mode is not grayed out
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6365353_1706909617540.Recording__2017.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: