-
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
fix gray-out and name issue in offline category update #51927
Merged
youssef-lr
merged 13 commits into
Expensify:main
from
huult:50563-fix-offline-category-update-gray-out-and-name
Dec 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
36a58e3
fix gray-out and name issue in offline category update
huult 724046b
Merge remote-tracking branch 'upstream/main' into 50563-fix-offline-c…
huult d582cc3
remove unused code
huult 09a7c37
Add RENAME_WORKSPACE_CATEGORY to ignore last update ID for fixing fir…
huult a929426
Merge remote-tracking branch 'upstream/main' into 50563-fix-offline-c…
huult d4ce223
remove renaming ws category
huult 1e406c7
Merge remote-tracking branch 'upstream/main' into 50563-fix-offline-c…
huult 91e7a4c
Merge remote-tracking branch 'upstream/main' into 50563-fix-offline-c…
huult 1b89a1f
Remove unused imports
huult 22b0f36
Merge remote-tracking branch 'upstream/main' into 50563-fix-offline-c…
huult 38d8ba7
Update MCC group for failure data
huult d9f7184
Merge remote-tracking branch 'upstream/main' into 50563-fix-offline-c…
huult 425e743
Update MCC group for failed data
huult File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1901,4 +1901,5 @@ export type { | |
ApprovalRule, | ||
ExpenseRule, | ||
NetSuiteConnectionConfig, | ||
MccGroup, | ||
}; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this really the case for
WRITE_COMMANDS.RENAME_WORKSPACE_CATEGORY
request?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.
Yes, I added it to fix the issue of updating the category. After that, when I go back and go to the settings, I see that the category is grayed out even though it was changed
VIDEO
Screen.Recording.2024-11-06.at.14.01.14.mp4
The RCA: lastUpdateIDFromClient is less than the previousUpdateID received, so we set this response, which did not clear the pendingAction. This issue occurred, and it only happens the first time.
This issue same RCA with #50780 #49329 and #44114
I raised this issue in Slack https://expensify.slack.com/archives/C01GTK53T8Q/p1730457202958539?thread_ts=1730392335.081509&cid=C01GTK53T8Q
I think this issue is out of the scope of this ticket and has a different RCA. However, if we don't fix it, we will need to perform a regression test. Can you advise?
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.
@eVoloshchak Could you review my comment above when you have time? Thank you
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.
@huult, it seems to me that this should be resolved on the backend ideally. Do you agree with that?
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.
@eVoloshchak Yes, if they are able to fix it, we should update from the BE side. This issue is not related to this ticket.
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.
@eVoloshchak what do you think?
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.
Yes, that's exactly what needs to be done. This should be fixed on the back end, it's not related to this PR
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.
@eVoloshchak I think we need to confirm with the internal team to avoid regression when testing this case, or we can add this command to the ignore list. Which option do you choose or suggest?
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.
@eVoloshchak Could you review this pull request so it can be completed? It has been open for 3 weeks and involves a small change, so your prompt review would be appreciated.
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.
@eVoloshchak I have removed this command from the ignore list.