fix(admin): shadow-DOM-aware plain keys, commit drafts before shortcut saves and safe My account links (B-WR-01, B-WR-02, B-WR-03, B-WR-06, B-IN-01)

- plain-key shortcuts test composedPath()[0], and a custom element inside a
  form counts as editable (closed shadow roots)
- Ctrl/Cmd+S and Ctrl/Cmd+Enter blur the focused field before clicking, so a
  pending taglist draft or native change is committed, then refocus it
- safeUrl keeps javascript:/data: URLs out of href and window.open
- a failed contributions GET shows a toast and keeps the sections; a section
  with error true shows an error line
- My account confirm and stale texts get their own phrase keys
- rebuilt modules/boardwalk/dist
This commit is contained in:
Jakub Zych
2026-10-23 16:29:10 +02:00
parent 44835e4c6b
commit 88559d5731
11 changed files with 92 additions and 24 deletions

View File

@@ -372,6 +372,9 @@ myaccount:
avatar_hint: JPG, PNG, GIF or WebP, up to 2 MB.
avatar_saved: Avatar saved
avatar_removed: Avatar removed
action_confirm: "Run “:action”?"
action_stale: This action no longer applies. The page has been refreshed.
section_error: This section could not be loaded.
richeditor:
removed_elements:
one: ":count element was removed: :names"

View File

@@ -394,6 +394,9 @@ myaccount:
avatar_hint: JPG, PNG, GIF lub WebP, maksymalnie 2 MB.
avatar_saved: Zapisano awatar
avatar_removed: Usunięto awatar
action_confirm: "Wykonać „:action”?"
action_stale: Ta akcja nie ma już zastosowania. Strona została odświeżona.
section_error: Nie udało się wczytać tej sekcji.
richeditor:
removed_elements:
one: "Usunięto :count element: :names"