#10401·notesnook

Add a Clear all action to command palette recents

Author: jashkarangiyaCreated Sep 18, 2026Updated Sep 18, 2026

What problem are you facing?

The command palette and quick-open dialog keep a Recent section, but entries can only be removed one at a time with the X button.

After opening many notes or running different commands, cleaning up the list becomes tedious. Clearing the app or browser data is too broad because it also affects unrelated local preferences.

What's the solution you'd like to see in Notesnook?

Please add a small Clear all action to the Recent section header.

It should:

  • remove only the command palette and quick-open recent history;
  • update the list immediately; and
  • keep the existing per-item X buttons available.

What alternatives have you considered?

Removing every entry individually works, but becomes cumbersome with a long list. Clearing all site or app data also works, but affects unrelated settings.

Additional context

Recent entries are stored under commandPalette:recent. There is already an action for removing one entry, while the Recent group header does not currently offer a bulk action.

Relevant files:

  • apps/web/src/dialogs/command-palette/commands.ts
  • apps/web/src/dialogs/command-palette/command-palette-dialog.tsx