Skip to content

Use toast notifications for presets/samplers - #272

Merged
thomas9120 merged 1 commit into
mainfrom
beta
Jul 30, 2026
Merged

Use toast notifications for presets/samplers#272
thomas9120 merged 1 commit into
mainfrom
beta

Conversation

@thomas9120

Copy link
Copy Markdown
Owner

Replace blocking alerts/dialogs with toast notifications across presets, quick-launch and sampler modules. Add showToast plumbing (app.js -> presets/quick-launch/sampler) and a configure hook for presets; introduce showPresetActionStatus to forward preset status messages to the toast system. Update sampler-presets and quick-launch-ui to call toasts instead of alert()/dialog(), and adjust frontend smoke test to wait for toast messages. This makes UX non-blocking and centralizes status display handling. Files: ui/js/{app,presets,quick-launch-ui,sampler-presets}.js and tests/frontend/flag_sync_smoke.cjs.

Replace blocking alerts/dialogs with toast notifications across presets, quick-launch and sampler modules. Add showToast plumbing (app.js -> presets/quick-launch/sampler) and a configure hook for presets; introduce showPresetActionStatus to forward preset status messages to the toast system. Update sampler-presets and quick-launch-ui to call toasts instead of alert()/dialog(), and adjust frontend smoke test to wait for toast messages. This makes UX non-blocking and centralizes status display handling. Files: ui/js/{app,presets,quick-launch-ui,sampler-presets}.js and tests/frontend/flag_sync_smoke.cjs.
@thomas9120
thomas9120 marked this pull request as ready for review July 30, 2026 20:15
@thomas9120 thomas9120 self-assigned this Jul 30, 2026
@thomas9120
thomas9120 merged commit aec52c1 into main Jul 30, 2026
5 checks passed
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.

1 participant