Skip to content

Commit fee0a04

Browse files
committed
feat(settings): clarify Settings as Personal Settings
- Update page title from "Settings" to "Personal Settings" - Update heading and description to emphasize personal preferences - Update toast messages to include "personal" for clarity - Simplify button text from "Save Settings" to "Save"
1 parent 6de6c90 commit fee0a04

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/routes/(admin)/admin/settings/+page.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
isSubmitting = true;
1919
try {
2020
await updateDefaultAuthor(defaultAuthorId);
21-
toast.show("Settings saved", "success");
21+
toast.show("Personal settings saved", "success");
2222
} catch (error) {
2323
toast.show(
24-
error instanceof Error ? error.message : "Failed to save settings",
24+
error instanceof Error ? error.message : "Failed to save personal settings",
2525
);
2626
} finally {
2727
isSubmitting = false;
@@ -30,7 +30,7 @@
3030
</script>
3131

3232
<svelte:head>
33-
<title>Settings - ut.code(); CMS</title>
33+
<title>Personal Settings - ut.code(); CMS</title>
3434
</svelte:head>
3535

3636
<div class="space-y-6">
@@ -39,8 +39,8 @@
3939
<Settings class="h-5 w-5 text-white" />
4040
</div>
4141
<div>
42-
<h1 class="text-2xl font-bold text-base-content">Settings</h1>
43-
<p class="text-sm text-base-content/60">Manage your preferences</p>
42+
<h1 class="text-2xl font-bold text-base-content">Personal Settings</h1>
43+
<p class="text-sm text-base-content/60">Manage your personal preferences</p>
4444
</div>
4545
</div>
4646

@@ -71,7 +71,7 @@
7171

7272
<div class="card-actions">
7373
<button type="submit" class="btn btn-primary" disabled={isSubmitting}>
74-
{isSubmitting ? "Saving..." : "Save Settings"}
74+
{isSubmitting ? "Saving..." : "Save"}
7575
</button>
7676
</div>
7777
</form>

0 commit comments

Comments
 (0)