-
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
Improve default workspace naming #11875
Conversation
Reviewing this now, missed it since didn't receive a notification for renaming the Title from |
@arosiclair If I deleted |
Ready for another review |
Ah sorry I also missed this one. As a rule of thumb, it's always a good idea to leave a "ready for review" comment when you remove |
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 and works well
Sorry, I wasn't able to complete the reviewer checklist and I'm going to be OOO next week. Feel free to add another reviewer if needed! |
Ready for re-review. @Santhosh-Sellavel can you complete the check list? @puneetlath Francois is out, you mind reviewing? |
Reviewing this now |
@arosiclair I'm running into something weird, check out here. Simulator.Screen.Recording.-.iPhone.13.-.2022-10-26.at.23.57.34.mp4Is this a separate bug or part of this? After deleting the workspace reappears. I am kind of stuck with it until I log out and log in back again. |
|
Is this valid and working as expected? Created three workspaces, S , S2, S3. Now went offline and deleted S3, creating a new workspace should the name should be S3 or S4. Screen.Recording.2022-10-27.at.3.29.14.AM.mov |
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, few doubts.
#11875 (comment)
#11875 (comment)
I ran into this in dev as well. This looks to be a separate issue with the
Since the delete on S3 is only pending while offline, the new workspace should be S4 |
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.
Found this Issue it has some console errors. Since this is a separate issue confirmed here, ignoring this one for this review and will raise this in slack!
So Approving, Looks good, and tests well!
C+ Reviewed
Checklist: #11875 (comment)
All you @puneetlath
@arosiclair looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
✋ 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 @arosiclair in version: 1.2.22-0 🚀
|
🚀 Deployed to production by @Julesssss in version: 1.2.22-3 🚀
|
Can you mention the BZ here? |
This bug was reported and fixed internally so no contributor payment should be necessary |
Ah actually, we need to pay out @Santhosh-Sellavel for his C+ review. I'll tag the issue. |
@Santhosh-Sellavel sorry about the delay with the payment, I was pinging you in the wrong repo 😅 Could you apply for this job so that I can issue a payment for your review? Let me know once you do that |
Done @sonialiap ! |
Hi, this PR missed an edge case when deleting the policy Onyx Why was it happening? When deleting a policy, we didn't remove any draft comments and the draft indicator icon. |
Details
Fixes an issue with deleted policies not being cleared from memory and uses natural numbering for default workspace names
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/229801
Tests
PR Review Checklist
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
Same as Tests
Screenshots
Web
Screen.Recording.2022-10-14.at.5.38.52.PM.mov
Mobile Web - Chrome
Screen.Recording.2022-10-14.at.6.56.28.PM.mov
Mobile Web - Safari
Screen.Recording.2022-10-14.at.7.02.48.PM.mov
Desktop
Screen.Recording.2022-10-14.at.5.49.11.PM.mov
iOS
Screen.Recording.2022-10-14.at.6.16.56.PM.mov
Android
Screen.Recording.2022-10-14.at.6.45.08.PM.mov