Skip to content

Feature: Add command palette for power users #1347

Description

@VaiTon

Feature: Add Command Palette for Power Users

Summary

Add a command palette to the OpenFoodFacts Explorer app, enabling power users to quickly trigger navigation, search, and frequently-used features via keyboard shortcuts (like Cmd+K or /).

Motivation

A command palette increases productivity and accessibility for experienced users. It streamlines common tasks, fits developer workflows, and is now standard in most modern SaaS admin apps and code tools.

Desired Capabilities

  • Open palette using keyboard shortcut (e.g., Cmd+K, /)
  • Quick navigation to routes (search, settings, product pages, etc.)
  • Trigger functions and actions (reload, clear cache, etc.)
  • Fuzzy search and autocomplete
  • Easy extensibility for adding future actions

Potential capabilities

  • Quick navigation to content pages
  • Individual settings search with inline toggling

Implementation Notes

  • Consider popular libraries such as cmdk (MIT, Svelte-compatible)
  • Follow Explorer's mobile-first and accessibility best practices
  • Should be dismissible and non-intrusive

References:

Metadata

Metadata

Assignees

No one assigned
    No fields configured for ✨ Enhancement.

    Projects

    Status
    Backlog
    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions