feat(toasts): success toast on Ticket / Company / Contact create + save (MAPPS-293) #307

Merged
YousifShkara merged 1 commit from feat/MAPPS-293-success-toasts into main 2026-06-21 11:09:01 +02:00
Owner

Successful mutations only redirected; the user had to infer success from the page change. Push a confirming success toast from the existing global toast surface (hooks::toast::push_toast) at the three top-level create / save sites that the QA report cited - Ticket create, Company create / edit, Contact create / edit. Each surfaces a single-sentence body keyed off the form mode ("Ticket created", "Company saved", etc.). The toast root is already mounted in AppLayout so no other plumbing changes. The remaining mutation surfaces (Project, Asset, Contract, Invoice, Site, line-item edits) follow the same pattern and are tracked as a follow-up; this PR captures the highest-frequency creates.

#MAPPS-293

Successful mutations only redirected; the user had to infer success from the page change. Push a confirming success toast from the existing global toast surface (`hooks::toast::push_toast`) at the three top-level create / save sites that the QA report cited - Ticket create, Company create / edit, Contact create / edit. Each surfaces a single-sentence body keyed off the form mode ("Ticket created", "Company saved", etc.). The toast root is already mounted in AppLayout so no other plumbing changes. The remaining mutation surfaces (Project, Asset, Contract, Invoice, Site, line-item edits) follow the same pattern and are tracked as a follow-up; this PR captures the highest-frequency creates. #MAPPS-293
feat(toasts): success toast on Ticket / Company / Contact create + save (MAPPS-293)
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 4m15s
Create release / Create release from merged PR (pull_request) Has been skipped
3530223e9f
Successful mutations only redirected; the user had to infer success from the page change. Push a confirming success toast from the existing global toast surface (`hooks::toast::push_toast`) at the three top-level create / save sites that the QA report cited - Ticket create, Company create / edit, Contact create / edit. Each surfaces a single-sentence body keyed off the form mode ("Ticket created", "Company saved", etc.). The toast root is already mounted in AppLayout so no other plumbing changes. The remaining mutation surfaces (Project, Asset, Contract, Invoice, Site, line-item edits) follow the same pattern and are tracked as a follow-up; this PR captures the highest-frequency creates.

#MAPPS-293
YousifShkara deleted branch feat/MAPPS-293-success-toasts 2026-06-21 11:09:01 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!307
No description provided.