Skip to content

Advanced Keyboard Shortcuts & Visual Feedback #304

Closed as not planned
Closed as not planned

Description

@malibio

Problem Statement

Power users need comprehensive keyboard shortcuts and visual feedback for efficient tab/pane management:

  • Cmd+1-9 for quick tab switching
  • Visual notifications for background updates
  • Status indicators (loading, syncing, errors)
  • Enhanced keyboard navigation

Current State

What Exists:

What's Missing:

  • ❌ Cmd+1-9 for tab switching
  • ❌ Notifications for external updates
  • ❌ Loading/syncing indicators
  • ❌ Toast/banner system

Proposed Solution

Implement advanced UI/UX features:

  1. Cmd+1-9 shortcuts to switch to tabs 1-9
  2. Toast notification system for updates
  3. Loading indicators per tab/viewer
  4. Sync status indicators
  5. Error state display

Key Features

Keyboard Shortcuts:

  • Cmd+1 through Cmd+9: Switch to tab N
  • Cmd+Option+Left/Right: Navigate tab history
  • Cmd+Shift+[/]: Previous/next tab

Visual Feedback:

  • Toast notifications for background updates
  • Loading spinner in tab for loading content
  • Sync status indicator (synced, syncing, error)
  • Badge count for unviewed updates

Notifications:

  • "Node updated in background" toasts
  • "Sync complete" confirmation
  • Error messages with actionable info

Main Components Affected

New Files:

  • /packages/desktop-app/src/lib/components/toast-notification.svelte - Toast system
  • /packages/desktop-app/src/lib/stores/notification-store.ts - Notification state

Modified Files:

  • /packages/desktop-app/src/lib/components/layout/app-shell.svelte - Keyboard shortcuts
  • /packages/desktop-app/src/lib/components/layout/tab-system.svelte - Status indicators

Acceptance Criteria

  • Cmd+1-9 switches to tabs 1-9
  • Toast notifications for background updates
  • Loading indicators show during data fetch
  • Sync status visible in UI
  • Error states clearly communicated
  • All shortcuts documented and discoverable

Estimated Effort

6-8 hours

  • Keyboard shortcuts: 2 hours
  • Toast notification system: 2 hours
  • Status indicators: 2 hours
  • Testing and polish: 2 hours

Dependencies

Priority

Low-Medium - Nice-to-have polish features, not blocking core functionality

Notes

Focus on most impactful shortcuts first (Cmd+1-9). Toast system should be lightweight and non-intrusive.

Activity

  1. malibio commented on Aug 3, 2026

    @malibio
    CollaboratorAuthor

    Closing — partly built, partly unrelated to any current priority.

    Going through the items:

    Already built:

    • Tab keyboard navigation exists — ArrowLeft/ArrowRight between tabs at packages/desktop-app/src/lib/components/layout/tab-system.svelte:100-105, pane traversal at pane-manager.svelte:115-119
    • A toast/notification system exists, scoped to sync conflicts: lib/components/conflict-toast.svelte + lib/stores/conflict-notifications.svelte.ts
    • Status surfaces exist: lib/components/status-bar.svelte + lib/stores/status-bar.svelte.ts, update-banner.svelte, pro-sync-pill.svelte, enable-sync-pill.svelte, recovered-items-badge.svelte, lib/services/daemon-status.ts
    • Global shortcuts exist: Cmd+\ theme toggle (app-shell.svelte:583-584), Cmd/Ctrl+Shift+D diagnostics panel (design/components/diagnostic-panel.svelte:29-30)

    Not built: Cmd+1-9 tab switching, Cmd+W / Cmd+T, Home/End navigation, and a generic toast API (the existing one is conflict-specific, with no toast.success/error/info surface).

    The unbuilt items are small, independent polish rather than a coherent unit of work, and none is currently blocking anything. Closing rather than carrying a stale phase-8 bundle; re-file individually if any becomes wanted — Cmd+1-9 in particular is a cheap addition on top of the existing tab store.

    All stated dependencies (#206, #297, #298) are closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions