Fix the account page after sign-in; point links at the new name - #44
Merged
Merged
Conversation
The repo is renamed and the Vercel project now answers on knotwork-suite.vercel.app (knotwork.vercel.app is taken). README, docs, marketing copy, the landing page, package.json and the support page's issues link move over; the framed marketing images are re-rendered with the new address in their browser bar. The old addresses still work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ns6xSyytpwWuhH7vCJ8Dam
… auth.users After signing in, the account page showed 'something went wrong'. Postgres log: 'structure of query does not match function result type — Returned type character varying(255) does not match expected type text in column 2'. return query does not convert, and auth.users.email is varchar(255). New migration casts it. The PGlite test stubs declared auth.users.email as text, which is why the existing wedding_people test passed; both stubs now match Supabase, and that test failed with the production error before the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ns6xSyytpwWuhH7vCJ8Dam
The round-table mark from suite/app/icon.svg, rendered for places that take a bitmap: 120x120 is Google's OAuth branding size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ns6xSyytpwWuhH7vCJ8Dam
Applied to the hosted project as 20261003142447; the file matches, so 'supabase db push' sees it as already run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ns6xSyytpwWuhH7vCJ8Dam
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Follow-up to #43.
Fix: "Something went wrong" on the account page after signing in
Every call to
wedding_people(who has access to a wedding) failed:The function declares
email text, butauth.users.emailisvarchar(255), andreturn querydoes not convert. Found in the Postgres log for a real Google sign-in; not specific to Google, every signed-in caller hit it.20261003142447_wedding_people_email.sqlcastsu.email::text. Same signature, so existing grants/revokes are kept.20261003142447, matching the file name). Verified there: the fix is in the function body,authenticatedcan execute andanoncannot, and calling it as a member returns the member row.lib/accountsandlib/documentsdeclaredauth.users.emailastext. Both now usevarchar(255)like Supabase; the existingwedding_peopletest failed with the production error before the fix and passes after.Rename follow-up
https://knotwork-suite.vercel.app(knotwork.vercel.appis taken) andgithub.com/JFrusher/Knotwork: README and badges, docs, marketing copy, landing page,package.json, the support page's issues link. The old addresses keep working.marketing/assets/images/logo-120.png/logo-512.png: the app mark (suite/app/icon.svg) as bitmaps; 120×120 is Google's OAuth branding size.Checks
Suite unit tests (1,938) and the account/document migration tests (167) pass locally.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ns6xSyytpwWuhH7vCJ8Dam
Generated by Claude Code