Repository navigation
fix(settings): say Webflow's set-up isn't finished until a collection is saved - #1601
Merged
Merged
Conversation
… is saved Right after the token connected, the card said "Connected" in green, though nothing could be sent until a collection was picked and saved. - Until a collection is saved, the badge reads "Setup not finished" in amber, and a line above the pickers says what's left. It goes once saved. - Connecting says "Webflow connected. Now pick a collection and save." and moves focus to the collection picker. A new token on a site that's already set up keeps "Webflow connected". - Members read that pages can't go to Webflow until an admin or manager finishes the set-up. Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
approved these changes
Oct 27, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good, with a follow-up.
What I checked:
- Own change. One commit on 5bbd162, the commit before #1593: the card,
en.jsonand the card test. It merges clean on main (15b5b5f), with #1600, and on main with #1600 merged first. With both, the card test passes (20). - The badge.
- "Connected" (green) shows only with a saved collection. "Setup not finished" (amber, with
dark:classes) shows for a connected token without one. - A refused token keeps its own badge.
- Members get the same badge and the longer "No collection picked yet" line, without the admins' step line.
- "Connected" (green) shows only with a saved collection. "Setup not finished" (amber, with
- Connecting.
- The toast reads from the connection the API returns. A new token for a site that's already set up keeps its collection (
routes/cms.js), so it says "Webflow connected", and the picker doesn't take the focus. - The focus is kept per brand (
settingUpFor), and a save clears it. - The picker mounts only once the collections are read, so
autoFocusfocuses it then, andfocus()scrolls it into view.
- The toast reads from the connection the API returns. A new token for a site that's already set up keeps its collection (
- The step line shows while no collection is saved, and goes once a save returns one.
- Tests. The card tests pass (22 with the client test). With main's card and
en.json, the three new or changed tests fail and the rest pass. CI's web job doesn't run web tests. - Before the API deploy. Web only. It reads
collectionId, which the API on prod already returns, so nothing waits on a deploy.
Follow-up:
- A token that reaches several sites (
webflow-card.tsx:494,:512,:522). The API saves no site then. So the collection picker isn't shown and nothing takes the focus, while the line says to pick the collection. When no site is picked, focus the site picker instead. Word the line "pick the site and the collection" for that case.
The Framer card PRs that edit this file (#1578, #1580) still merge clean with this one.
7 of 12 tasks
This was referenced Oct 28, 2026
gkhngyk
pushed a commit
that referenced
this pull request
Oct 28, 2026
…veral, and focus its picker (#1676) * fix(settings): ask for the Webflow site first when a token reaches several, and focus its picker Follow-up from #1601. A token that reaches several sites saves no site, so after connecting the collection picker wasn't shown and nothing took the focus, while the toast and the setup line said to pick the collection. - The site picker takes the focus right after connecting when no site is saved (focusCollection && !siteId); the collection picker still takes it once a site is picked. - The toast reads "Webflow connected. Now pick the site and the collection, and save.", and the setup line "Last step: pick the site and the collection your pages go to, …" until a site is picked. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(settings): keep the Webflow setup line on the site while the sites are read Review follow-up. The line asked for the site only once more than one site was read, so with none saved it first said "pick the collection" while the sites loaded, then changed. With no site, it now asks for the site while they're read too (a token for several sites is the one that saves none), and after: unless the token reaches a single site, which is then taken. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
5 of 12 tasks
gkhngyk
added a commit
that referenced
this pull request
Oct 29, 2026
…is saved (#1719) * feat(cms): connect a brand's WordPress site with an Application Password and send pages to it as draft posts (#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(cms): mark a page published once its WordPress post is put live, read when the Library opens and daily (#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(cms): connect a brand's WordPress site from Settings › Integrations (#1331) Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(cms): send pages to WordPress from Send to CMS (#1331) The Send dialog (editor, Library row, bulk) offers the brand's WordPress site beside Webflow and the webhook. A remembered CMS that isn't ready goes to the webhook, never the other CMS. The toast says when a live post got a new draft and when JSON-LD was left out. The Library marks rows sent to WordPress and asks /wordpress-status once per brand per visit. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(server): run the API on Node 24 Node 20 is end of life since 2026-04-30, and Framer's official Server API package (framer-api, for Send to CMS #1331) needs Node 22 or later for its global WebSocket. Node 24 is LTS until April 2028. The Dockerfile, CI's server job and the server README move to 24; the web job stays on 20. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(cms): connect a brand's Framer project for Send to CMS (#1331) Framer's official Server API (framer-api, needs Node 22+): a brand's project connects with an API key made in it, sealed as WordPress's sign-in is. 00295 adds provider 'framer' (site_id = project id) and the 'framer' delivery target, and reserve_content_deliveries keeps one queued send per page for it too. Routes check the project, list the user's own collections with their fields, save the collection and field map (title to text, page to formatted text, required fields refused as for Webflow) and disconnect (Framer has no API to revoke a key). Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(cms): connect a brand's Framer project from Settings › Integrations (#1331) The Framer card connects the brand's project with an API key made in it, lists the project's own collections with their fields, suggests and saves which field takes the title, the page, meta and JSON-LD (required fields it can't fill and missing title or page fields marked), replaces the key, shows a refused key, and disconnects with a reminder to delete the key in Framer, which has no API to revoke it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(cms): let a brand's WordPress site be disconnected while the plan has ended Since #1589 a workspace whose plan has ended can't write, but taking back an outside account's access stays open (COST_STOPPING), as Webflow's disconnect does. WordPress's disconnect revokes the Application Password where the site allows, so it joins the list. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(cms): let a brand's Framer project be disconnected while the plan has ended Since #1589 a workspace whose plan has ended can't write, but taking back an outside account's access stays open (COST_STOPPING), as Webflow's and WordPress's disconnects do. Framer's disconnect deletes the project's API key, so it joins the list. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(settings): say Framer's set-up isn't finished until a collection is saved As on the Webflow card (#1601): - Connected without a collection, the Framer card shows an amber "Setup not finished" badge, not "Connected", until a collection is saved. - Connecting leaves the setup's last step: the toast says to pick a collection and save, and the collection picker takes the focus. A new key for the same project keeps its collection and says "Framer connected", as before. - Admins and managers see the last step spelled out above the picker. Members read that pages can't go to Framer until an admin or manager finishes the setup. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
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.
Summary
Settings › Integrations › Webflow says the set-up isn't finished until a collection is saved. Right after the token connected, the card said "Connected" in green and the toast "Webflow connected". Yet nothing could be sent until a collection was picked and saved. Ansvisor saw this in its own live set-up.
dark:). The green "Connected" shows only once a collection is saved.WordPress (#1571) and Framer (#1578) will get the same pattern once they merge. The settings card is also touched by #1593 and the Date field PR, on different lines. Whichever merges second may need a small merge of
webflow-card.tsxanden.json.Related issue
Part of #1331 (Send to CMS).
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
cd web && yarn vitest run src/components/settings/webflow-card.test.tsx:Checked in the browser at 1024 px, light and dark. This server has no Webflow set up, so the card's reads were stubbed in the page: a connected site with no collection saved, then a "Blog Posts" collection.
The connect step itself (its toast and the focus) needs a real token, so it's covered by the card's tests.
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run in
web/:yarn format,yarn lint(0 errors),yarn typecheck,yarn testandyarn build. The full test run happened while two dev servers were up for a browser check, andeditor/[draftId]/page.test.tsxtimed out under the load. Run alone, all 266 of its tests pass, and every other file passed in the full run.🤖 Generated with Claude Code