You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-10-10] Web - Private note - Private notes closed when clicking save button after refreshing the page #28011
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Open any group chat from LHN if there is a group chat and then go to step 7. If there is no group chat, go to Step 3
Click the + icon from LHN
Click Send message
Add users by clicking Add to group
Click Create group
Click the header from the group chat and open detail RHN
Click on the user from the group members
Click Private notes
Click my notes
Click Notes
Add some value and Click save
Do step 11 again
Reload the page
Click the save button
Observe the result
Expected Result:
When clicking save the value should be saved and goes to Notes RHN
Actual Result:
When clicking the save button the RHN gets closed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.72-10 Reproducible in staging?: y Reproducible in production?: y 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 Notes/Photos/Videos: Any additional supporting documentation
changed the title [-]Private note: inconsistency- Private notes closed when clicking save button after refreshing the page[/-][+][$500] Private note: inconsistency- Private notes closed when clicking save button after refreshing the page[/+]on Sep 22, 2023
changed the title [-][$500] Private note: inconsistency- Private notes closed when clicking save button after refreshing the page[/-][+]Web - Private note - Private notes closed when clicking save button after refreshing the page[/+]on Sep 22, 2023
What changes do you think we should make in order to solve the problem?
HOME routes is being used as fallback here, we can use getPrivateNotesViewRoute function to get the route.and use instead of ROUTES.HOME.
account ID can be grabbed using - route.params.accountID
What alternative solutions did you explore? (Optional)
Also I want to point out about other pages,
After refresh, when we save the note and got notes list page. Upon clicking on back button in header, we are taken to HOME route.
The reason being same, after refresh the stack is cleared.
For fixing this we need to tweak the HeaderWithBackButton and provide new prop, fallbackRoute
And assign it default value as ROUTES.HOME.
And modify the onBackButtonPress method.
The new prop will be the string which takes user back to expected route.
changed the title [-]Web - Private note - Private notes closed when clicking save button after refreshing the page[/-][+][HOLD for payment 2023-10-10] Web - Private note - Private notes closed when clicking save button after refreshing the page[/+]on Oct 3, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.76-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-10-10. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@ntdiary] The PR that introduced the bug has been identified. Link to the PR:
[@ntdiary] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@ntdiary] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@ntdiary] Determine if we should create a regression test for this bug.
[@ntdiary] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@mallenexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
@mallenexpensify, sure, I will fill out the checklist soon. Also, I just accepted the offer from the service account, and then invited you in the room, not sure if this works. 😂
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@ntdiary] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No need
[@ntdiary] Determine if we should create a regression test for this bug. No need
[@ntdiary] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. No need
[@mallenexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Just a minor feature polish, not a regression. : )
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Sep 22, 2023
Job added to Upwork: https://www.upwork.com/jobs/~017083ab1bb282119f
[-]Private note: inconsistency- Private notes closed when clicking save button after refreshing the page[/-][+][$500] Private note: inconsistency- Private notes closed when clicking save button after refreshing the page[/+]melvin-bot commentedon Sep 22, 2023
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 22, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Sep 22, 2023
Triggered auto assignment to @joekaufmanexpensify (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.melvin-bot commentedon Sep 22, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary (
External)[-][$500] Private note: inconsistency- Private notes closed when clicking save button after refreshing the page[/-][+]Web - Private note - Private notes closed when clicking save button after refreshing the page[/+]BhuvaneshPatil commentedon Sep 22, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Private note - Private notes closed when clicking save button after refreshing the page
What is the root cause of that problem?
After refreshing, the navigation stack clears, and we go default HOME route
App/src/pages/PrivateNotes/PrivateNotesEditPage.js
Line 94 in 7bebfd3
What changes do you think we should make in order to solve the problem?
HOME routes is being used as fallback here, we can use
getPrivateNotesViewRoutefunction to get the route.and use instead ofROUTES.HOME.account ID can be grabbed using -
route.params.accountIDWhat alternative solutions did you explore? (Optional)
Also I want to point out about other pages,
After refresh, when we save the note and got notes list page. Upon clicking on back button in header, we are taken to HOME route.
The reason being same, after refresh the stack is cleared.
For fixing this we need to tweak the
HeaderWithBackButtonand provide new prop,fallbackRouteAnd assign it default value as ROUTES.HOME.
And modify the
onBackButtonPressmethod.The new prop will be the string which takes user back to expected route.
25 remaining items
[-]Web - Private note - Private notes closed when clicking save button after refreshing the page[/-][+][HOLD for payment 2023-10-10] Web - Private note - Private notes closed when clicking save button after refreshing the page[/+]melvin-bot commentedon Oct 3, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Oct 3, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.76-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-10-10. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon Oct 3, 2023
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
BhuvaneshPatil commentedon Oct 10, 2023
@mallenexpensify
Can you please consider timings for bonus, the delay happened because of weekends and timezone mismatch.
as you have mentioned
Thanks
mallenexpensify commentedon Oct 11, 2023
@BhuvaneshPatil I think that's fair, espec since Melv says 3 days ¯_(ツ)_/¯
Issue reporter: @misgana96 paid $50 via Upwork
Contributor: @BhuvaneshPatil paid $750 via Upwork, inc. 50% urgency bonus
Contributor+: @ntdiary paid $750 via Upwork.
@ntdiary can you please accept the job and reply here once you have? Can you also fill out the BZ checklist above? Thx
https://www.upwork.com/jobs/~017083ab1bb282119f
ntdiary commentedon Oct 11, 2023
@mallenexpensify, sure, I will fill out the checklist soon. Also, I just accepted the offer from the service account, and then invited you in the room, not sure if this works. 😂
ntdiary commentedon Oct 11, 2023
Just a minor feature polish, not a regression. : )
mallenexpensify commentedon Oct 11, 2023
Thanks @ntdiary , I updated the post above to denote you're paid.
Closing! Thanks for the help!