Project

General

Profile

Actions

Feature #101509

open

Hotkey to clear caches

Added by Johannes Przymusinski [jop-software.de] 12 months ago. Updated 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-07-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Based on Feature #101507: Provide API for keyboard shortcuts I'd like to have / add shortcuts for clearing the cache.

I propose:

  • ALT + C for cacheCmd=pages
  • ALT + X for cacheCmd=all

Those keys are more or less arbitrary and follow loosely what Shopware 6 uses for keybindings in their Administration.
I'm open to other proposals, as my initial suggestions, I picked what I'm already familiar with.

I'd like to work on that and provide a corresponding patch for this.

Actions #1

Updated by Andreas Kienast 12 months ago

In general I like the proposal, but I'm not sure about the keys. An extension may extend this with additional items and then won't get hotkeys by default. Since the "Clear Cache" menu is already usable via keyboard, it would be fine for me to use Alt+C (or alike) to open the menu only.

Then, the currently existing limitations are in effect which would make it mandatory to register the same hotkey multiple times - in the scaffold and in the iframe.

Actions #2

Updated by Johannes Przymusinski [jop-software.de] 12 months ago

Sounds like a good idea to "just" open the menu here to be more flexible.

I'll implement it with ALT+C for now, when there are any other (maybe better) suggestions, please let me know.

Actions #3

Updated by Riccardo De Contardi 2 months ago

  • Category set to Backend User Interface
Actions

Also available in: Atom PDF