Skip to content

fix(welcome): epilepc note showed a raw {date} and a past shutdown date - #254

Merged
danileau merged 1 commit into
mainfrom
fix/epilepc-readonly-welcome
Nov 12, 2026
Merged

danileau merged 1 commit into
mainfrom
fix/epilepc-readonly-welcome

Conversation

@danileau

Copy link
Copy Markdown
Owner

Found while refreshing the docs (#253). The dashboard welcome card for people who migrated from epilepc had two problems in its read-only note:

  • A raw placeholder. The title key was "epilepc closes {date}", but WelcomeCard.svelte passed date to the body key, which has no placeholder. $t only replaces the params it is given, so every migrated user saw a literal {date}, in all four locales.
  • A past date. The value passed was 2026-10-31, the planned shutdown, which is now in the past. The operator's current decision is that epilepc stays read-only until at least the end of 2026, and what happens next depends on usage.

Fix: the title now says epilepc stays readable until at least the end of 2026 (de/en/fr/it, Swiss German without ß). The stray param is gone. The body ("Until then your old account stays open for reads and downloads…") reads correctly under the new title.

Testing

  • New WelcomeCard.readonly.test.ts: in every locale, no unfilled {placeholder} and no 2026-10-31; the component passes no params to these keys. All 5 tests fail on the old code.
  • Rendered the real component with a migrated session (registrationSource: 'migrate'): the text contains 2026 and no {date}.
  • vitest 2255 passed, svelte-check 0/0, build OK, changelog fragment valid. No API change.

@danileau
danileau merged commit 40ac95d into main Nov 12, 2026
4 checks passed
@danileau
danileau deleted the fix/epilepc-readonly-welcome branch November 12, 2026 16:59
@danileau danileau mentioned this pull request Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant