Unify panel action feedback with shared toast notifications #315

Closed
opened 2026-12-04 16:04:26 +01:00 by parkel · 0 comments
Owner

Operators, managers, and customers should get immediate, consistent feedback after submitting a panel action. Today, feedback is split between workspace messages, live job status regions, and form validation. In #313 a rejected import submission looked like a no-op because the error was buried in the form.

Proposed shared pattern

  • Provide one Core toast area for signed-in workspaces, including Premium. Prefer the top right on desktop and a compact layout near the top on mobile. Do not steal focus or cover primary controls. Support keyboard dismissal and screen-reader announcements.
  • Use clear outcomes for actions such as saving settings, queueing a job, applying a configuration, and rejecting a request. Distinguish accepted or queued from actually applied or completed. Announce meaningful state transitions once, not every poll. Link to progress, results or recovery where useful and allowed.
  • Simple confirmations can dismiss automatically. Actionable errors and warnings remain until dismissed, and field-level errors stay next to their inputs. Keep durable progress, failures, and next steps visible on the affected page. Keep ordinary server-rendered feedback available if JavaScript is unavailable.
  • Start by reusing Django's messages framework for request feedback and the existing live status mechanism for job transitions. Pilot with DirectAdmin import, a configuration apply flow and another background job before converting remaining Core and Premium actions. Preserve role and account scoping. Do not show credentials or operator-only details to customers.
  • Document the pattern in Core's docs/panel-design.md and use the shared component from Premium. Verify desktop and mobile, both themes, redirects, validation errors and repeated refreshes.

This is in-panel action feedback, separate from email notifications and from any future notification inbox.

Operators, managers, and customers should get immediate, consistent feedback after submitting a panel action. Today, feedback is split between workspace messages, live job status regions, and form validation. In #313 a rejected import submission looked like a no-op because the error was buried in the form. ### Proposed shared pattern - Provide one Core toast area for signed-in workspaces, including Premium. Prefer the top right on desktop and a compact layout near the top on mobile. Do not steal focus or cover primary controls. Support keyboard dismissal and screen-reader announcements. - Use clear outcomes for actions such as saving settings, queueing a job, applying a configuration, and rejecting a request. Distinguish accepted or queued from actually applied or completed. Announce meaningful state transitions once, not every poll. Link to progress, results or recovery where useful and allowed. - Simple confirmations can dismiss automatically. Actionable errors and warnings remain until dismissed, and field-level errors stay next to their inputs. Keep durable progress, failures, and next steps visible on the affected page. Keep ordinary server-rendered feedback available if JavaScript is unavailable. - Start by reusing Django's messages framework for request feedback and the existing live status mechanism for job transitions. Pilot with DirectAdmin import, a configuration apply flow and another background job before converting remaining Core and Premium actions. Preserve role and account scoping. Do not show credentials or operator-only details to customers. - Document the pattern in Core's `docs/panel-design.md` and use the shared component from Premium. Verify desktop and mobile, both themes, redirects, validation errors and repeated refreshes. This is in-panel action feedback, separate from email notifications and from any future notification inbox.
parkel added the
kind
feature
area/panel
labels 2026-12-04 16:04:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#315