Skip to content

feat(publish): move renderMode / host selectors into an Advanced settings toggle - #61

Merged
vianmora merged 1 commit into
developfrom
feat/publish-advanced-settings-toggle
Sep 8, 2026
Merged

vianmora merged 1 commit into
developfrom
feat/publish-advanced-settings-toggle

Conversation

@vianmora

@vianmora vianmora commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The two self-hosting selectors (Rendering / Hosting) from #60 now live inside a collapsible Advanced settings disclosure at the bottom of the Publish panel — most users publish "Static / This instance" and never need to see them.

  • Closed by default.
  • Auto-opens on mount when a non-default target is selected (renderMode !== "ssr" or host !== "local"), so a per-project choice that was persisted or seeded from the old buildMode:<id> key stays visible.
  • Open/closed remembered in localStorage under publish:advancedOpen — a global UI preference, not per-project.
  • Same Collapsible + ghost Button + chevron pattern as style-panel/shared/show-more.tsx.

No behaviour change to usePublishTarget, the wire, or domains.tsx — purely a layout wrapper.

🤖 Generated with Claude Code

https://claude.ai/code/session_017rF3HMB1Z7V3LLsYaUrELs

…ings toggle

The two self-hosting selectors (Rendering, Hosting) are now inside a
collapsible "Advanced settings" disclosure in the Publish panel, closed by
default. It opens automatically on mount when a non-default target is
selected (renderMode !== "ssr" or host !== "local") so a persisted or
seeded choice stays visible. Open/closed is remembered globally in
localStorage (publish:advancedOpen) — a UI preference, not per-project.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017rF3HMB1Z7V3LLsYaUrELs
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:39 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:42 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:42 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:42 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:42 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:42 — with GitHub Actions Active
@vianmora
vianmora deployed to development September 8, 2026 19:42 — with GitHub Actions Active
@vianmora
vianmora merged commit 16cb8c7 into develop Sep 8, 2026
27 checks passed
@vianmora
vianmora deleted the feat/publish-advanced-settings-toggle branch September 8, 2026 19:44
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

🧪 Test images for this PR

Role Image Status
builder ghcr.io/webstudio-community/builder:feat-publish-advanced-settings-toggle ✅ built
publisher ghcr.io/webstudio-community/webstudio-publisher:builder-feat-publish-advanced-settings-toggle ❌ build failed (run)

Point BUILDER_IMAGE / PUBLISHER_IMAGE on the Coolify test stack at these two tags — they are built from the same fork commit and must be deployed together.

Updated for 61a196619731e0926a490bd561b127b9ce0e31e8 · 2026-09-08 19:46 UTC

vianmora added a commit that referenced this pull request Sep 14, 2026
…ings toggle (#61)

The two self-hosting selectors (Rendering, Hosting) are now inside a
collapsible "Advanced settings" disclosure in the Publish panel, closed by
default. It opens automatically on mount when a non-default target is
selected (renderMode !== "ssr" or host !== "local") so a persisted or
seeded choice stays visible. Open/closed is remembered globally in
localStorage (publish:advancedOpen) — a UI preference, not per-project.


Claude-Session: https://claude.ai/code/session_017rF3HMB1Z7V3LLsYaUrELs

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
vianmora added a commit that referenced this pull request Sep 21, 2026
…ings toggle (#61)

The two self-hosting selectors (Rendering, Hosting) are now inside a
collapsible "Advanced settings" disclosure in the Publish panel, closed by
default. It opens automatically on mount when a non-default target is
selected (renderMode !== "ssr" or host !== "local") so a persisted or
seeded choice stays visible. Open/closed is remembered globally in
localStorage (publish:advancedOpen) — a UI preference, not per-project.


Claude-Session: https://claude.ai/code/session_017rF3HMB1Z7V3LLsYaUrELs

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

This branch was successfully deployed

2 active deployments
development — 61a19661 Deployed Sep 8, 2026 by vianmora via builder-e2e (shard-3) #243
empty — 61a19661 Deployed Sep 8, 2026 by vianmora via tests (empty, packages) #243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant