Skip to content

Setup page: first and last name, friendly name that fills in - #4

Merged
elyess merged 2 commits into
mainfrom
feat/setup-friendly-name
Nov 27, 2026
Merged

elyess merged 2 commits into
mainfrom
feat/setup-friendly-name

Conversation

@elyess

@elyess elyess commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The setup page asks for First name and Last name (both required). The account name joins them.
  • Friendly name replaces the optional family name field. It fills in with " Family" as the admin types, stops following once the admin types in it, and is saved as the family name. Every sync page already carries it, and the app shows it as the server's name.
  • Empty field or no script: the server uses the same suggestion.

Checks

  • php artisan test: 244 passed, 1 skipped (new cases in FamilyNameTest).
  • npm run docs:build: passes.
  • Safari on the iOS simulator against a local server: the field fills in from the names and keeps a typed value.

…t fills in from them

- First name and Last name (both required) replace "Your name"; the account name joins them with one space
- Friendly name replaces the optional family name field: a small script fills it with "<first> <last> Family" until the admin types in it; it is saved as the family name the app shows; empty gives the same suggestion
- Tests: joined name, required fields, length limit, fallback, the name in sync pull; the escaping test checks only for an injected script
- Docs: first-admin guide, API reference, changelog
@elyess
elyess merged commit 056dda4 into main Nov 27, 2026
6 checks passed
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