feat(brand): the product calls itself Fabled Minstrel (#8168)
release / go (push) Successful in 1m55s
release / web (push) Successful in 1m27s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m31s
release / android (push) Successful in 4m43s
release / Build signed APK (push) Successful in 5m23s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 25s
release / Verify release artifacts (tag releases only) (push) Skipped
release / go (push) Successful in 1m55s
release / web (push) Successful in 1m27s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m31s
release / android (push) Successful in 4m43s
release / Build signed APK (push) Successful in 5m23s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 25s
release / Verify release artifacts (tag releases only) (push) Skipped
Where Minstrel names itself to a person it now gives its full name: - the README heading, logo text and first line; - the default app name, which feeds the browser tab, link previews and the header; - the login heading, which now follows the app-name setting too; - the emails' brand line and sign-off; - the default From name for email. On a phone the header shows the mark alone, as the nav shows its icons alone; the left lane is too narrow for the full name, and the link's label still names it. Running text, email subjects, code identifiers and the Android launcher label keep "Minstrel". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
||||
seam against the app's own background. -->
|
||||
<meta name="theme-color" content="#14171A" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Minstrel</title>
|
||||
<title>Fabled Minstrel</title>
|
||||
<script>
|
||||
(function () {
|
||||
try {
|
||||
|
||||
@@ -18,13 +18,13 @@ describe('branding helpers', () => {
|
||||
expect(appName()).toBe('Family Jukebox');
|
||||
});
|
||||
|
||||
it('appName falls back to "Minstrel" when global is undefined', () => {
|
||||
expect(appName()).toBe('Minstrel');
|
||||
it('appName falls back to "Fabled Minstrel" when global is undefined', () => {
|
||||
expect(appName()).toBe('Fabled Minstrel');
|
||||
});
|
||||
|
||||
it('appName falls back to "Minstrel" when value contains an unrendered Go token', () => {
|
||||
it('appName falls back to "Fabled Minstrel" when value contains an unrendered Go token', () => {
|
||||
setGlobal({ appName: '{{ .AppName }}' });
|
||||
expect(appName()).toBe('Minstrel');
|
||||
expect(appName()).toBe('Fabled Minstrel');
|
||||
});
|
||||
|
||||
it('pageTitle with section returns "{appName} · {section}"', () => {
|
||||
|
||||
@@ -4,7 +4,7 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
const DEFAULT_APP_NAME = 'Minstrel';
|
||||
const DEFAULT_APP_NAME = 'Fabled Minstrel';
|
||||
|
||||
const isRenderedToken = (v: string | undefined): v is string =>
|
||||
typeof v === 'string' && v.length > 0 && !v.includes('{{');
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
// The notes keep the accent in both modes — one of the places the design
|
||||
// system sanctions the accent (the wordmark).
|
||||
//
|
||||
// aria-hidden: every current use sits directly beside the words "Minstrel",
|
||||
// so labelling it would make a screen reader announce the name twice. A
|
||||
// STANDALONE use would need its own label.
|
||||
// aria-hidden: every current use sits beside the product's name, as text or
|
||||
// as its link's label, so labelling the mark would make a screen reader
|
||||
// announce the name twice. A STANDALONE use would need its own label.
|
||||
let { size = 28, class: klass = '' }: { size?: number; class?: string } = $props();
|
||||
</script>
|
||||
|
||||
|
||||
@@ -68,12 +68,16 @@
|
||||
whenever search or the user menu grew, so the nav drifted off
|
||||
window-center. Grid pins each column to a fixed lane. -->
|
||||
<header class="grid grid-cols-3 items-center border-b border-border bg-surface px-3 md:px-4 py-2 gap-3 md:gap-6">
|
||||
<!-- On a phone the header's left lane is a third of the width, too
|
||||
narrow for the full name, so it shows the mark alone, as the nav
|
||||
shows its icons alone; the link's label still names it. -->
|
||||
<a
|
||||
href="/"
|
||||
aria-label={appName()}
|
||||
class="flex items-center gap-2 font-semibold text-sm md:text-base whitespace-nowrap justify-self-start"
|
||||
>
|
||||
<MinstrelMark size={28} class="shrink-0" />
|
||||
{appName()}
|
||||
<span class="hidden sm:inline" aria-hidden="true">{appName()}</span>
|
||||
</a>
|
||||
|
||||
<nav aria-label="Primary" class="flex items-center justify-center gap-1 md:gap-2 justify-self-center">
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
username: '',
|
||||
password: '',
|
||||
from_address: '',
|
||||
from_name: 'Minstrel',
|
||||
from_name: 'Fabled Minstrel',
|
||||
use_tls: true
|
||||
});
|
||||
let passwordInput = $state('');
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { pageTitle } from '#lib/branding.js';
|
||||
import { appName, pageTitle } from '#lib/branding.js';
|
||||
import { page } from '$app/state';
|
||||
import { goto } from '$app/navigation';
|
||||
import { login } from '#lib/auth/store.svelte.js';
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<main class="flex min-h-screen items-center justify-center bg-background text-text-primary">
|
||||
<div class="w-full max-w-sm rounded-lg border border-border bg-surface p-6 shadow-sm">
|
||||
<h1 class="mb-6 text-center text-2xl font-semibold">Minstrel</h1>
|
||||
<h1 class="mb-6 text-center text-2xl font-semibold">{appName()}</h1>
|
||||
<form class="space-y-4" onsubmit={handleSubmit}>
|
||||
<label class="block">
|
||||
<span class="mb-1 block text-sm text-text-secondary">Username</span>
|
||||
|
||||
Reference in New Issue
Block a user