000bb781122004b8d3bbb2cb02ec359e33eb4772
Products/Categories saveDraft() and deleteOne(), and Users setRole()/setStatus()/invite(), had no error handler at all - a failed mutation was completely silent. Also found and fixed the same premature-navigation bug as the Phase 1 cart fix: both product and category editor pages called router.navigate() immediately after facade.saveDraft(), before the save had resolved - so even after adding error feedback, the user would already be gone from the page before it could show. saveDraft() now takes an onSuccess callback and only the page navigates on actual success; on failure it stays put and shows a themed error dialog. Added a mutationError signal to all three facades and a themed app-dialog error alert on the products/categories editor + list pages and the users page. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
71.4%
HTML
15.3%
SCSS
11.9%
Shell
1.3%
JavaScript
0.1%