Skip to content

fix(web): keep window dragging available during notifications - #919

Merged
nixuuu merged 1 commit into
devfrom
fix/in-app-toast-drag-area
Nov 17, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/in-app-toast-drag-area

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 17, 2026

Copy link
Copy Markdown
Member

Change

Showing an in-app toast disables every desktop title-bar drag region because the toast has data-window-no-drag. Move notifications from the top centre to the bottom-right and remove that marker, so title bars stay draggable while a notification is visible.

Use compact cards with theme-aware surfaces, 6 px padding in both axes, and a dismiss button. Keep existing actions such as Undo, notification lifetimes, and reduced-motion behavior. Long messages wrap, and narrow screens retain safe-area margins. Update desktop and notification documentation.

Fixes: #18

Verification

  • Web package typecheck passed (0 errors, 0 warnings).
  • Lint and formatting check passed for Toaster.svelte; git diff --check passed.
  • Checked the final UI in Chromium with sample data: light/dark, desktop and narrow/phone widths, short and long messages, Undo, dismiss, and reduced motion. Screenshots were reviewed and accepted in the thread.
  • Confirmed computed title-bar app-region: drag while the toast is visible. Physically dragging a native macOS window still needs a hardware check.
  • Full repository verification and builds are left to CI.

Copy audit (§8): passed for the new Dismiss notification accessible label and matching tooltip: concise imperative, sentence case, and explicit meaning without relying on the icon. Existing notification and action text stays unchanged. No new errors, empty states, jargon, or humor. Checked short and long text at desktop and phone widths.

Move in-app toasts below the title bars and remove the marker that suspends desktop drag regions. Use compact theme-aware cards with existing actions and a dismiss control.

Fixes: #18
@nixuuu
nixuuu enabled auto-merge (squash) November 17, 2026 08:46
@nixuuu
nixuuu merged commit dc4b04f into dev Nov 17, 2026
27 of 29 checks passed
@nixuuu
nixuuu deleted the fix/in-app-toast-drag-area branch November 17, 2026 09:00
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