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 2024-01-18] [$500] Private Note - The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode. #30246
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
changed the title [-]Private Note - The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode.[/-][+][$500] Private Note - The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode.[/+]on Oct 24, 2023
@rakshitjain13 Thanks for the proposal! If we go ahead with this change, I think we'd probably want to always display the skeleton loader instead of the full screen loader otherwise coming back online there'd be an odd transition from Skeleton Loader -> Full Screen Loader -> Notes. cc @Expensify/design for feedback!
Show the loading indicator or skeleton instead of blocking user from using it (similar to other places like Address or WorkspaceMembers). So we need to update shouldShow props of FullPageNotFoundView. Also update the condition of
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: N/A - just needed more thorough testing
Determine if we should create a regression test for this bug. Yes
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.
Regression Test Proposal
Open the app and go offline
Open any chat which has private notes and tap on the header to open the chat details
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 Oct 24, 2023
Triggered auto assignment to @puneetlath (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.[-]Private Note - The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode.[/-][+][$500] Private Note - The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode.[/+]melvin-bot commentedon Oct 24, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01cb01f2ab30a52085
melvin-bot commentedon Oct 24, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 24, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (
External)rakshitjain13 commentedon Oct 24, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode
What is the root cause of that problem?
In PrivateNotesListPage.js , should shouldShow become true due to offline mode
App/src/pages/PrivateNotes/PrivateNotesListPage.js
Lines 127 to 133 in cc3c51c
What changes do you think we should make in order to solve the problem?
We have to update the condition with !network.isOffline in the above check and show OptionsListSkeletonView when the network is offline and loading
Screen.Recording.2023-10-24.at.6.48.57.PM.mov
What alternative solutions did you explore? (Optional)
NA
jjcoffee commentedon Oct 24, 2023
@rakshitjain13 Thanks for the proposal! If we go ahead with this change, I think we'd probably want to always display the skeleton loader instead of the full screen loader otherwise coming back online there'd be an odd transition from Skeleton Loader -> Full Screen Loader -> Notes. cc @Expensify/design for feedback!
rakshitjain13 commentedon Oct 24, 2023
@jjcoffee Thanks for the feedback and I think your suggestion makes more sense. Hence updated the proposal #30246 (comment)
hungvu193 commentedon Oct 25, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
The message 'Hmm... it's not here' displays instead of Skeleton UI when viewing Private Notes in Offline Mode.
What is the root cause of that problem?
We currently show NotfoundPage with below condition
App/src/pages/PrivateNotes/PrivateNotesListPage.js
Lines 128 to 132 in 1c85ebe
Since we only load when it's not offline, NotFoundPage will be shown in this case.
App/src/pages/PrivateNotes/PrivateNotesListPage.js
Lines 67 to 70 in 1c85ebe
What changes do you think we should make in order to solve the problem?
Create a variable call
isReconnecting:Show the loading indicator or skeleton instead of blocking user from using it (similar to other places like Address or WorkspaceMembers). So we need to update
shouldShowprops ofFullPageNotFoundView. Also update the condition ofWhat alternative solutions did you explore? (Optional)
Similar above but we will add a new variable called
isLoadingPrivateNoteand default to true.After that replace the
report.isLoadingPrivateNoteswithisLoadingPrivateNotes53 remaining items
jjcoffee commentedon Jan 18, 2024
Regression Test Proposal
Do we agree 👍 or 👎
jjcoffee commentedon Jan 18, 2024
Note that there's an outstanding regression that is waiting on @hungvu193's input.
puneetlath commentedon Jan 19, 2024
@hungvu193 are you planning to handle that shortly? We won't be able to pay this one out until you do.
hungvu193 commentedon Jan 21, 2024
Cool. I'm on it.
melvin-bot commentedon Jan 30, 2024
@puneetlath, @hungvu193, @jjcoffee Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
jjcoffee commentedon Jan 30, 2024
The PR that fixes the regression is merged by the way (not hit production yet).
jjcoffee commentedon Jan 31, 2024
Deployed to production! @puneetlath Can we update the HOLD for payment here to 2024-02-07? Thanks!
melvin-bot commentedon Feb 5, 2024
@puneetlath, @hungvu193, @jjcoffee Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Feb 7, 2024
@puneetlath, @hungvu193, @jjcoffee 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
puneetlath commentedon Feb 7, 2024
All paid. Thanks everyone!