Improve instant note saving error dialog#20639
Merged
BrayanDSO merged 1 commit intoankidroid:mainfrom Apr 5, 2026
Merged
Conversation
Contributor
|
Hi @bartonlu use semantic commits in your PR, it's been easy to review it better. Thanks! |
criticalAY
approved these changes
Apr 4, 2026
Contributor
criticalAY
left a comment
There was a problem hiding this comment.
Looks good to me! thankyou
Contributor
|
@bartonlu Please change the commit message to something meaningful |
Move the "Try Again" button to the right and the "Cancel" button to the left, aligning with Material 3 Guidelines. Make clicking "Try Again" immediately reattempt saving rather than simply closing the dialog, aligning with users' expectations.
bcb6c3d to
de13016
Compare
Contributor
Author
|
@Ayush-Patel-56 @criticalAY Thanks for the comments, I've changed the description of my commit! Let me know if you'd prefer a simple one-liner for this kind of change, or if explaining the reasoning for the change in the commit body is okay! |
Contributor
|
Looks better now, thanks! |
BrayanDSO
approved these changes
Apr 5, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose / Description
Previously, the "Try Again" button was on the left, and the "Cancel" button was on the right. As well, clicking "Try Again" did not actually automatically reattempt to save the card.
Fixes
Approach
This change swaps the order of the buttons and also triggers another save after clicking "Try Again"
How Has This Been Tested?
I added the following code:
savingErrorDialog.fixed.mp4
Learning (optional, can help others)
Describe the research stage
Links to blog posts, patterns, libraries or addons used to solve this problem
Checklist
Please, go through these checks before submitting the PR.