feat(sse): toast notifications for project-board and milestone events #15
Reference in New Issue
Block a user
Delete Branch "sse-toasts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Builds on #7/#8 (project board SSE) and #14 (milestone SSE). Surfaces SSE changes as Gitea toasts in addition to the silent DOM patch, so users get an at-a-glance "what just changed" without staring at the bar/board.
Toasts
repo-projects.ts): card moved (#n → Column), card linked/unlinked, column renamed/removed, project deleted (warning toast + 1.5s delayed redirect so the reason is visible).repo-milestone-sse.ts): progress change (<title> · <closed>/<total> closed (<pct>%)), milestone deleted (warning + delayed redirect on the single-milestone view).column.reorderedandproject.updatedintentionally do not toast (noise).Behaviour
session_tagguard (the acting tab never toasts its own action).toast.tspreventDuplicates(default true) coalesces identical bursts; distinct transitions (e.g. 40%→60%→80%→100%) still produce one toast each.Frontend only — no backend, no new events, no new REST endpoints.
tsc --noEmit -p tsconfig.jsonclean,vite buildsucceeds.