Skip to content

fix: report saved recipe storage failures - #42

Merged
m4sh-wacker merged 2 commits into
OWASP:mainfrom
mannubaveja007:fix/issue-40-recipe-storage-failure
Nov 28, 2026
Merged

m4sh-wacker merged 2 commits into
OWASP:mainfrom
mannubaveja007:fix/issue-40-recipe-storage-failure

Conversation

@mannubaveja007

Copy link
Copy Markdown
Contributor

Closes #40. Propagates persistence failures to the store, preserves the current recipe list when writes fail, and reports save/delete failures in the recipe library. Verified: typecheck, lint, and 1,243 tests pass.

@m4sh-wacker

Copy link
Copy Markdown
Collaborator

One small UI improvement:

When deleting a recipe fails, the error message is displayed correctly. However, if the user retries and the deletion succeeds, the previous error message remains visible.

Could you clear the message after a successful deletion, consistent with the save handler?

Everything else looks good.

@m4sh-wacker
m4sh-wacker merged commit d5736af into OWASP:main Nov 28, 2026
6 checks passed
@m4sh-wacker

Copy link
Copy Markdown
Collaborator

Thank you, Mannu!

Really appreciate your work on this and the quick follow-up improvements.

The fix looks good, and I appreciate the care you put into handling the storage errors and improving the user experience.

Thanks for taking the time to contribute to DecodeBox and helping make the project more reliable.

Looking forward to more collaborations!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saving or deleting a saved recipe can silently fail

2 participants