refactor(frontend): utility dedup, component splits, dead code removal (#193–#200) #241

Merged
marcel merged 19 commits from refactor/issues-193-200 into main 2026-04-15 15:23:16 +02:00
4 changed files with 4 additions and 1 deletions
Showing only changes of commit 7fb6ec04ab - Show all commits

View File

@@ -321,6 +321,7 @@
"comment_btn_post": "Senden", "comment_btn_post": "Senden",
"comment_btn_reply": "Antworten", "comment_btn_reply": "Antworten",
"comment_edited_label": "(Bearbeitet)", "comment_edited_label": "(Bearbeitet)",
"comment_edit_hint": "Enter speichern · Esc abbrechen",
"comment_time_just_now": "gerade eben", "comment_time_just_now": "gerade eben",
"comment_time_minutes": "vor {count} Minute(n)", "comment_time_minutes": "vor {count} Minute(n)",
"comment_time_hours": "vor {count} Stunde(n)", "comment_time_hours": "vor {count} Stunde(n)",

View File

@@ -321,6 +321,7 @@
"comment_btn_post": "Send", "comment_btn_post": "Send",
"comment_btn_reply": "Reply", "comment_btn_reply": "Reply",
"comment_edited_label": "(Edited)", "comment_edited_label": "(Edited)",
"comment_edit_hint": "Enter to save · Esc to cancel",
"comment_time_just_now": "just now", "comment_time_just_now": "just now",
"comment_time_minutes": "{count} minute(s) ago", "comment_time_minutes": "{count} minute(s) ago",
"comment_time_hours": "{count} hour(s) ago", "comment_time_hours": "{count} hour(s) ago",

View File

@@ -321,6 +321,7 @@
"comment_btn_post": "Enviar", "comment_btn_post": "Enviar",
"comment_btn_reply": "Responder", "comment_btn_reply": "Responder",
"comment_edited_label": "(Editado)", "comment_edited_label": "(Editado)",
"comment_edit_hint": "Enter para guardar · Esc para cancelar",
"comment_time_just_now": "justo ahora", "comment_time_just_now": "justo ahora",
"comment_time_minutes": "hace {count} minuto(s)", "comment_time_minutes": "hace {count} minuto(s)",
"comment_time_hours": "hace {count} hora(s)", "comment_time_hours": "hace {count} hora(s)",

View File

@@ -70,7 +70,7 @@ const parsed = $derived(extractQuote(message.content));
oninput={(e) => onEditTextChange((e.currentTarget as HTMLTextAreaElement).value)} oninput={(e) => onEditTextChange((e.currentTarget as HTMLTextAreaElement).value)}
onkeydown={onEditKeydown} onkeydown={onEditKeydown}
></textarea> ></textarea>
<div class="mt-1 font-sans text-xs text-ink-3">Enter speichern · Esc abbrechen</div> <div class="mt-1 font-sans text-xs text-ink-3">{m.comment_edit_hint()}</div>
{:else} {:else}
<!-- svelte-ignore a11y_click_events_have_key_events --> <!-- svelte-ignore a11y_click_events_have_key_events -->
<!-- svelte-ignore a11y_no_static_element_interactions --> <!-- svelte-ignore a11y_no_static_element_interactions -->