From b7fe539cf094f3b7146e8e97cdc1bd0ad341f210 Mon Sep 17 00:00:00 2001 From: lew Date: Mon, 23 Mar 2026 19:49:50 +0000 Subject: [PATCH] refactor(fend): character-level operations on the left, global operations on the right --- src/lib/components/CharacterSwitcher.svelte | 25 ++------ src/lib/components/Header.svelte | 67 +++++++++++++++++++-- src/lib/components/OutputPanel.svelte | 9 +-- src/lib/components/OutputTab.svelte | 35 +++-------- 4 files changed, 77 insertions(+), 59 deletions(-) diff --git a/src/lib/components/CharacterSwitcher.svelte b/src/lib/components/CharacterSwitcher.svelte index c1da745..fefd1ed 100644 --- a/src/lib/components/CharacterSwitcher.svelte +++ b/src/lib/components/CharacterSwitcher.svelte @@ -1,5 +1,4 @@ -
+
- - {#if roster.active} - - {/if} + + +
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 97604bc..75b1288 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -1,36 +1,78 @@ -
+

Aurora Records

{#if roster.characters.length > 0} + + + + {/if} -
+
{#if roster.saveStatus === 'saving'}Saving...{:else if roster.saveStatus === 'saved'}Saved{/if} -
+ +{#if confirmDelete && roster.active} + { confirmDelete = false; }}> +

Delete Character

+

Delete {displayName()}? This can't be undone.

+
+ + +
+
+{/if} diff --git a/src/lib/components/OutputPanel.svelte b/src/lib/components/OutputPanel.svelte index b8cd98c..813c7b2 100644 --- a/src/lib/components/OutputPanel.svelte +++ b/src/lib/components/OutputPanel.svelte @@ -1,7 +1,6 @@
@@ -45,5 +38,5 @@ {/each}
- +
diff --git a/src/lib/components/OutputTab.svelte b/src/lib/components/OutputTab.svelte index bfb86ca..f379f4c 100644 --- a/src/lib/components/OutputTab.svelte +++ b/src/lib/components/OutputTab.svelte @@ -1,10 +1,9 @@
{wordCount} words -
- - {#if onShare} - +
+
{output}