feat: Provide education/confirmation before creating workspaces in New Workspace flows#52164
Conversation
… Workspace flows. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@dubielzyk-expensify @allgandalf One of you needs to 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] |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
Let me know when this is ready to review from a design standpoint? |
|
@dubielzyk-expensify waiting on some BE changes, I will ping you once we get them through, also @Krishna2323 please update the title to mention this one is on hold for BE |
|
@Krishna2323 can you fix the failing tests in the meantime ? |
|
bump @Krishna2323 |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@grgia, the response from backend does not return correct values for currency and avatar both. @allgandalf can you also test this out? Note for BE: file parameter should be treated as optional. Monosnap.screencast.2024-11-24.17-28-00.mp4 |
|
Hmm. That's strange- I wrote automated tests and the currency/file should be updated as part of the policy object. When you trigger OpenPolicy do you see the same data in the onyx response? |
|
Pulling locally to test the flow |
|
Hey @Krishna2323 when I pull your branch, I cant trigger the education create workspace flow, would you please send me testing steps 🙏 |
|
created a 🧵 on slack for better communication: https://expensify.slack.com/archives/C01GTK53T8Q/p1732533526435019 Lets get this one going 💪 |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
@grgia, sorry about that, I hadn't pushed the local changes to the remote at the time. It's updated now. You could easily test by pressing |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Still looking for a solution for this bug, the same can also be seen on workspace name page. |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@Expensify/design @allgandalf, the same issue was also happening on the profile name page, I have fixed that also. Profile name page issueMonosnap.screencast.2024-12-05.21-02-05.mp4After fixMonosnap.screencast.2024-12-05.21-03-26.mp4 |
|
I will review this one after dinner 👍 |
|
Cool, I'll run another test build for us. |
|
🚧 @shawnborton has triggered a test build. You can view the workflow run here. |
|
Thanks @shawnborton 🙇 |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
I don't think I feel super strongly either way. |
@shawnborton should we make that change? |
|
I think we can just leave this as-is, let's get this merged first and we can always follow up if we feel that it's necessary to change. |
allgandalf
left a comment
There was a problem hiding this comment.
great work and collaboration here from everyone 🚀 , lets get this one shipped
|
@Krishna2323 mind merging main 🙏 |
|
merged main. |
|
✋ 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/grgia in version: 9.0.73-0 🚀
|
|
This PR is reverted, will create a new one tomorrow. |
|
Thanks! For a list of all blockers caused by this PR, please see the revert here |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.73-8 🚀
|

Explanation of Change
Fixed Issues
$ #51504
PROPOSAL: #51504 (comment)
Tests
Create workspaceCreate workspace> Enter any custom nameNew workspace> Verify RHP is opened with avatar selector, name input and currency selector.New WorkspacebuttonOffline tests
Create workspaceCreate workspace> Enter any custom nameNew workspace> Verify RHP is opened with avatar selector, name input and currency selector.New WorkspacebuttonQA Steps
Create workspaceCreate workspace> Enter any custom nameNew workspace> Verify RHP is opened with avatar selector, name input and currency selector.New WorkspacebuttonPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4