Merge develop into main #1
Reference in New Issue
Block a user
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- useUpdateUserById: new hook for PATCH /user/update/{user_id} (admin updating others) - user-permission-edit: switch to useUpdateUserById, move user_id from body to path - useAuthToken: extract bare useMutation in token route into a proper data hook - edit-profile: rename shadowed callback param (no behavior change) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>The "立即签到" button is rendered by bits-ui Dialog.Trigger as a <button>, not <a>. Change getByRole('link') to getByRole('button') on lines 120, 133, and 149 for selector consistency. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>The attendance tab test was providing a mock response with shape { status: 200, data: [ ... ] } (flat array). But +page.server.ts for the admin events page casts the response to read inner?.items ?? [], expecting shape { status: 200, data: { items: [ ... ] } }. Updated the mock to wrap the attendance array in an { items: [...] } object to match the server-side expectation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>- overview.md: M9 row flipped to shipped, links to spec/plan added, roadmap paragraph updated with actual deliverables, conventions updated to reflect dual-theme support - tests/e2e/auth.spec.ts: add GET /event/list override so the dashboard renders after the magic-link → token flow (was 500ing with no override) - tests/e2e/profile.spec.ts: use { exact: true } on username assertion to avoid strict-mode violation (username 'alice' matched 3 elements) - Formatting: prettier --write pass on polish spec/plan, layout.css, layout.svelte Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>