-
Notifications
You must be signed in to change notification settings - Fork 3k
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: Workspace member has option to edit categories #43975
Conversation
@dannymcclain @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] |
src/languages/es.ts
Outdated
memberTitle: (workspaceName: string) => `${workspaceName} no tiene ninguna categoría activada.`, | ||
otherWorkspace: 'Categorice este gasto eligiendo un espacio de trabajo diferente, o ', | ||
askYourAdmin: 'pida a su administrador', | ||
enableForThisWorkspace: ' que habilite categorías para este espacio de trabajo.', |
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.
Were these spanish translations approved in the slack channel @daledah ?
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.
I'm applying to join the general Slack channel. @allgandalf, can you help me post a thread to approve these Spanish translations?
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.
@daledah , we are planning to go the other way with this PR of not displaying the workspace with no categories, I will update you over this PR about the new expected result by EOD today
Important @daledah, the new expected result from this PR is as follows: |
friendly bump @daledah |
i'll update today |
@allgandalf i updated, please check again with my solution |
@daledah can you update the Videos on all platforms, they still seem to be on the old logic |
Sorry for delay, I'll update today |
@allgandalf i updated, please check again 🙏 |
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.
Small improvement
Co-authored-by: Gandalf <[email protected]>
@allgandalf i updated |
Thanks for updating i will review this tomorrow, working on other high priority PR's today |
This has conflicts @daledah |
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 pending C+ review. I left a few optional improvement ideas. Also, could you please update the test steps to expect that the workspace without categories isn't an option?
@daledah friendly bump |
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, but please update the test steps.
could you please update the test steps to expect that the workspace without categories isn't an option?
@neil-marcellini i updated |
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.
Left some comments...
@allgandalf since your comments don't relate to the functionality of the code, would you please also test now and hopefully we can get this merged soon? We can fix small things in a follow up if needed. |
works for me, starting review now |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-15.at.5.54.58.PM.movAndroid: mWeb ChromeScreen.Recording.2024-07-15.at.5.57.14.PM.moviOS: NativeScreen.Recording.2024-07-15.at.5.49.48.PM.moviOS: mWeb SafariScreen.Recording.2024-07-15.at.5.51.01.PM.movMacOS: Chrome / SafariScreen.Recording.2024-07-15.at.5.34.37.PM.movMacOS: DesktopScreen.Recording.2024-07-15.at.5.42.07.PM.mov |
@neil-marcellini , i guess you have the access to edit the PR description, can you please update the QA steps to: Precondition: User should have an workspace with all categories Disabled:
|
@allgandalf I can't reproduce this bug. Please add detailed steps. Screen.Recording.2024-07-10.at.06.02.33.mov |
Steps to reproduce:
Screen.Recording.2024-07-10.at.1.44.58.PM.mov |
@allgandalf This bug also appears in main, it seems unrelated to my PR. Looks like after creating a new workspace, all channels are duplicated, so the suggestions are also duplicated. Screen.Recording.2024-07-11.at.21.54.32.mp4 |
This bug doesn't appear on main @daledah , the video which you attached is on local dev environment, I tested on staging and production the reported bug doesn't appear there: Screen.Recording.2024-07-12.at.12.51.44.AM.movSo i guess the bug which is mentioned here is indeed a regression of our PR, can you please take a look at this @daledah 🙏 c.c. @neil-marcellini |
@allgandalf can you check with your latest main on local dev environment web-resize.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
✋ 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/neil-marcellini in version: 9.0.7-3 🚀
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 9.0.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
Details
Fixed Issues
$ #43623
PROPOSAL: #43623 (comment)
Tests
Precondition: User should have an workspace with all categories Disabled:
Offline tests
QA Steps
Same as 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
android.mov
Android: mWeb Chrome
android-mweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov