Skip to content

feat(web): Releases tab for hosted v8 projects - #7839

Closed
tlgimenes wants to merge 10 commits into
split/39-org-rail-site-editorfrom
split/40-releases-tab
Closed

tlgimenes wants to merge 10 commits into
split/39-org-rail-site-editorfrom
split/40-releases-tab

Conversation

@tlgimenes

@tlgimenes tlgimenes commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Part of the v8 Studio stack, split from #7728, #7770 and #7766 (closed). Base: #7796. The top of the stack, #7843, has the same code as those three PRs combined.

Adds the Releases tab for hosted v8 projects: timeline, Make current, schema-mismatch warning. The releases view appears only when there is a source.

What to look at: Timeline, Make current, schema-mismatch warning; "releases" view only with a source

Cross-track: needs API-track plan PR 10 deployed before the tab works end to end; it compiles without it and stays behind the flag.

Stack (web track, plan PR 40 of 20–41): previous #7838 · next #7840

Business-language copy: the screen reads "Versions" (en, matching pt-br "Versões"): badge "Published", header "Published {when}" / "Nothing published yet", action "Publish this version" (confirm "Publish this version?", "Publish anyway" on a design mismatch). No sha, CDN, git or "current" on screen (sha in a tooltip). One toast per action, shared with Publish (id site-editor-publish): "Published · This version is live." or "Couldn't publish this version." + Try again, the API text behind Details. Load failure: "Couldn't load your versions." + Try again. Dates speak the viewer's language ("Published 2 hours ago" / "Publicada há 2 horas", via Intl.RelativeTimeFormat). A version with no release reads "Site update" (its own message, which may name git, sits in the tooltip). Clicking Try again turns the same toast into "Publishing…" until the outcome replaces it (sonner no longer deletes it 200 ms after the click).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

Adds the Releases tab for hosted v8 projects: timeline, Make current,
schema-mismatch warning. The `releases` view appears only when there is
a source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
tlgimenes and others added 9 commits October 9, 2026 11:53
The Releases screen speaks to business users: "Published" is the version
the site shows (badge, header "Published 2h ago", "Nothing published yet"),
and "Publish this version" replaces "Make current". No sha, CDN or git
words on screen; the sha moves to a tooltip and a row shows its version
note's title line only. The English tab and app card are renamed
"Versions", matching pt-br.

Publishing a version shows one toast, shared with the editor's Publish
(sonner id site-editor-publish): "Published · This version is live.", or
"Couldn't publish this version." with Try again and the error's own text
behind Details. A failed load offers Try again, with Details. The jargon
test now covers releases.* and the Versions nav labels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
Sonner merges an update into the toast with the same id, so a success after
a failed publish kept its Try again action and never closed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
# Conflicts:
#	apps/web/src/components/sections-editor/site-editor-toast.tsx
…s toast

"Publicada 2h ago" becomes "Publicada há 2 horas" (Intl.RelativeTimeFormat
by the chosen language). A version with no release reads "Site update",
its own message moving to the tooltip. Clicking Try again turns the same
toast into "Publishing…" instead of letting sonner delete it (and a fast
retry's outcome with it); a schema-mismatch confirm dismisses it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
@tlgimenes

Copy link
Copy Markdown
Contributor Author

Folded into #7887 (API) / #7888 (web, stacked on #7887). The tree of #7888 equals this stack's top (split/51-v8-per-site). The branch is kept.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

@tlgimenes tlgimenes closed this Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude PR authored by a coding agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant