Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pinia holds the session state (F2). pinia 3 with @pinia/nuxt 0.11 adds packages without changing any locked version. The lockfile is resolved so that npm 10 (CI) and npm 11 accept it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Covers the existing behaviour before the layout changes for F2. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Covers restoring a session, sign-in, registration, Google sign-in, sign-out, token refresh and missing configuration against an in-memory Supabase Auth. Fails until the store and useSupabaseAuth exist. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Holds who is signed in and wraps Supabase Auth: restore, sign in, register, Google, token refresh and sign out on this device. Failures are reported as codes so pages can translate them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Signed-out visitors are sent to the login page of their language, with a safe return path. Signed-in visitors skip the sign-in pages. - A page is left when its session ends. - Only the landing page is rendered on the server. The persistence tests move their language and title checks there. - The language switcher and navigation tests now run signed in, because they visit protected pages. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- A global middleware protects every page that does not declare "public" or "guest" access, and keeps the language when it redirects. - The "redirect" query parameter only accepts paths inside the app. - Leaving a protected page happens in one place when the session ends. - routeRules render only the landing page on the server, because the session is stored in the browser. - Placeholder pages for dashboard, login and register. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Covers the bearer token, the single 401 handler (renew once, then send to the login page), concurrent requests, and the mapping from backend and Supabase codes to message keys. Fails until useApi and errorKeys exist. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
useApi sends the access token to /api/*, renews it once after a 401 and otherwise ends the session and opens the login page. Backend codes and Supabase Auth codes map to messages in German, English and Dutch. Only types come from shared/, so zod stays out of the browser bundle. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fails until the danger and field colour roles exist. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Covers field labels, inline errors and focus, redirect after sign-in, translated failures, the confirmation message, the Google button against a mocked client, and the password rules. The minimum password length is checked against supabase/config.toml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Email and password with inline errors, focus on the first invalid field, translated failures, the "confirm your email" state and a Google button. The minimum password length matches the Supabase Auth setting. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- The header offers sign-in or sign-out, and the app navigation only appears when signed in. The language switcher works in both states. - The navigation starts at the dashboard. - /auth/callback exists once, without a language prefix, and explains failed returns without showing server text. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The header offers sign-in or sign-out and the app navigation appears only when signed in. /auth/callback receives Google sign-ins and confirmation links under one address and explains failures in the chosen language. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Reproduces a bug found in the browser: after switching the login page to English, signing in returned to the German page from "redirect". Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Reproduces a bug found against local Supabase: with Google switched off, the button left the app and showed the raw error of Supabase. The earlier test mocked an error that supabase-js does not return in this case. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Before redirecting, ask /auth/v1/settings whether Google is enabled and show a translated message otherwise. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Supabase recommends at least 8 characters. One test also requires supabase/config.toml to enforce the same length. That file belongs to the backend, so this test stays red until the backend sets minimum_password_length = 8. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The registration form now matches Supabase's recommendation. One test stays red on purpose until supabase/config.toml (backend) sets minimum_password_length = 8. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On Linux the persistence test cannot build the app: the macro defineI18nRoute(false) in pages/auth/callback.vue leaves Rollup with two versions of the page source. Windows does not show it, so a file check fails everywhere. More requests confirm that /auth/callback is never redirected to a language prefix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replaces defineI18nRoute(false), which broke the test build on Linux with "Multiple conflicting contents for sourcemap source". /auth/callback keeps its single address without a language prefix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.