-
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
New Feature: Add a dedicated Workspaces
page in settings
#9971
Comments
Triggered auto assignment to @thienlnam ( |
I'll keep myself assigned for the CM portion. Passing this on to |
Love it! |
This will have to be on hold for API refactors (specifically for Policy_Create and Policy_Delete) cc @chiragsalian who is working on those -> currently held on Pattern B After that, the rest of the items can be completed by an external contributor / or internal to make it quicker to correspond to design and UI items Putting internal / on hold for now for these internal issues https://github.com/Expensify/Expensify/issues/215184 |
Workspaces
page in settings Workspaces
page in settings
Ah cool, fair enough! |
Still holding |
Discussed 1:1 with jack. Taking over the issue. |
The refactors all got unblocked and since those are the priority i'll first finish the API refactors and then get to this. |
Wahoo, nice! 😍 |
Ya, seriously! This is a nice improvement. |
If there's only one workspace, will we keep the same UI we have today? |
@NickTooker this help article about the free plan workspace might be helpful for you. We basically need a title and a little blurb to help inform and encourage users. |
Perfect! Thanks, @shawnborton - back shortly! |
For the title - I'm not sure we need to change much from the title in the current mock. I think this is exactly what we want the user to do. For the text - I am pulling from the help article that Shawn provided (which was great!). I think we want to convey what the workspace does, and that it needs to be set-up in order to access it's features. Let me know you initial thoughts and we can tweak this together! Create a Workspace |
I think that looks great and reads much better. Thumbs up from my end! |
awesome, thanks guys, i'll update the code. |
While working on the red brick road testing for another issue i just remembered that with the changes here whats best for showing the red dot. Currently on production its like this, Should we just show the red dot on the left of the avatars here? Thoughts @shawnborton? |
That makes sense to me - though i think I would put the red dot to the right of the avatars so that the red dot is always in the same spot near the arrow? |
Actually coming back to this, so shawn is it possible to provide mockups of how you want this to look with and without the red dot. Ideally, I would like things to be in the same place but I wanted to confirm the expectation. Will the avatars move a little left when there is a red dot and then move back more right when there is no red dot? Or were you thinking of static positions? |
This is exactly what I was thinking. Happy to provide a mock if needed, but I think with flexbox you would just add the red dot inbetween avatars and the right arrow, all vertically middle-aligned. |
okay sounds good, i'll try that out. |
okay, how does this look. Can you check if the alignments are good. Two screenshots, one without redbrick and one with, Let me know if this looks good. The screenshot includes badge i.e., 0.00 next to Payments to confirm the alignment of workspaces and that was the same. I wasn't sure if it was, if i need to move it around let me know. Or if anything else should be adjusted. |
I think that looks pretty good to me! Perhaps the badge/red dot could be 4px closer to the arrow though? |
I was looking back at the proposed copy for this screen, and I'm wondering if the suggestion below is still accurate and a bit more succinct? Assuming mostly admins will create workspaces, at least to start...
|
Sure, I moved the red dot 4px closer to the arrow. It looks like this, Cool. I'm not sure of the copy so I'll let @NickTooker weigh in while i build that screen. |
Sweet, that looks great to me - thanks Chirag! |
I agree with you, let's add maybe 4 or 8 more pixels in between title and body text to that main component. |
Nice, that looks good to me. |
Moved the copy discussion to slack to maybe finalize it with more speed. |
Woo! This looks awesome. Great work. |
Okay, I took some time fighting with the styles to get things consistent on Mobile/Web without any errors and testing took a bit of time too. Anyway, I finished testing, added screenshots, and just placed the code for review. |
Niceeee! Thanks, Chirag! ❤️ |
@chiragsalian I think the red dot may be missing for the "Workspaces" entry in the settings menu: Screen.Recording.2022-10-31.at.4.18.06.PM.movWe may want to replace this line: Line 51 in 2f4bad7
by if (hasPolicyMemberError(policyMemberList) || hasCustomUnitsError(policy) || hasPolicyError(policy)) { The detail with this fix is that it will make a red dot appear next to the workspace, and I think it shouldn't be there: so.. the better fix I think would be to replace the line here: App/src/pages/settings/InitialSettingsPage.js Line 132 in 2f4bad7
by .find(policy => PolicyUtils.getPolicyBrickRoadIndicatorStatus(policy, this.props.policyMembers) || PolicyUtils.hasPolicyError(policy)) |
That's odd. We tested the red dot for the Workspaces in the settings menu. I guess we must've missed a scenario since I tested it against members error and not an individual workspace error. Thanks for the catch. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Deliverables
Workspaces
as a menu item on the Avatar > Settings page, incl. a preview of 2 workspace avatars right-aligned on the rowNew workspace
green footer button to the bottom of that new pageNew workspace
from the three dots overflow menu that's accessed from a workspace (leaveDelete workspace
there)Platform:
Notes/Photos/Videos:
Figma file
Expensify/Expensify Issue URL: N/A
Issue reported by: @trjExpensify
(Internal) Slack conversation: https://expensify.slack.com/archives/C038T8LKKV5/p1657879133021399
View all open jobs on GitHub
CC: @shawnborton @JmillsExpensify as you may be interested in following along.
The text was updated successfully, but these errors were encountered: