feat(quick-261022-k9k): admin save shortcuts and Create and new on record forms

- app/hotkeys.ts: dependency-free data-hotkey core (Ctrl/Cmd+S, Ctrl/Cmd+Enter,
  Ctrl/Cmd+Shift+S, Esc, / and ?), innermost-modal root, capture-phase modifier
  listener, platform labels and the help-dialog state
- Button hotkey prop (data-hotkey, aria-keyshortcuts); shortcuts installed by AppShell
- FormView: save keys and tooltips, Create and new on create forms via remountView
- phrasebook: form.create_and_new and the shortcuts group (en, pl)
This commit is contained in:
Jakub Zych
2026-10-22 21:00:57 +02:00
parent 1aff96f58a
commit 49accf675e
11 changed files with 465 additions and 9 deletions

View File

@@ -68,6 +68,7 @@ list:
form:
save: Save
save_and_close: Save and close
create_and_new: Create and new
cancel: Cancel
delete: Delete
none: — none —
@@ -139,6 +140,13 @@ settings:
empty: No settings are available.
saved: Settings saved
back: Back to settings
shortcuts:
title: Keyboard shortcuts
description: Shortcuts available on this screen.
hint: ":label (:keys)"
leave: Cancel and go back
search: Go to search
help: Show keyboard shortcuts
extension:
busy: Loading…
widget_failed: This control could not be loaded. Refresh the page; if it happens again, check the plugin's assets.

View File

@@ -74,6 +74,7 @@ list:
form:
save: Zapisz
save_and_close: Zapisz i zamknij
create_and_new: Utwórz i nowy
cancel: Anuluj
delete: Usuń
none: — brak —
@@ -149,6 +150,13 @@ settings:
empty: Brak dostępnych ustawień.
saved: Zapisano ustawienia
back: Wróć do ustawień
shortcuts:
title: Skróty klawiaturowe
description: Skróty dostępne na tym ekranie.
hint: ":label (:keys)"
leave: Anuluj i wróć
search: Przejdź do wyszukiwania
help: Pokaż skróty klawiaturowe
extension:
busy: Wczytywanie…
widget_failed: Nie udało się wczytać tej kontrolki. Odśwież stronę, a jeśli błąd wróci, sprawdź zasoby wtyczki.