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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -7,8 +7,8 @@
<meta name="summer-admin-base" content="__SUMMER_ADMIN_BASE__" />
<link rel="icon" href="./favicon.ico" sizes="48x48" />
<title>SummerCMS</title>
<script type="module" crossorigin src="./assets/index-BkkTf5-Z.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-C8x99JB6.css">
<script type="module" crossorigin src="./assets/index-D_tymZt6.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Bakgr9jB.css">
</head>
<body>
<div id="app"></div>

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"