Skip to content

Add a clear-history control to the Dashboard #56

@theg1239

Description

@theg1239

Summary

  • There is no UI affordance to clear the recent launches list once it fills with test data.
  • Provide a button to purge the in-memory history and request the backend to truncate stored entries.

Why it matters

  • Helps users reset the app after demos or tests and reduces noise when verifying new routing rules.

Acceptance Criteria

  • Add a "Clear history" button to apps/desktop/src/pages/Dashboard.tsx, with a confirmation prompt to avoid accidental clicks.
  • Call a new Tauri command or extend the existing state to drop history entries (mirror behaviour of RoutingService::clear_active).
  • Surface a toast or inline message confirming the history was cleared.

Additional context

  • Updating RoutingService in apps/desktop/src-tauri/src/routing.rs to expose a clear_history command will likely be required.

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