Repository navigation
feat(studio): L14b publish pill, published badges and publish-this - #1085
Open
LinuxDevil wants to merge 1 commit into
Open
LinuxDevil wants to merge 1 commit into
LinuxDevil wants to merge 1 commit into
Conversation
The builder toolbar and agent detail header show the publish state
("Not published" / "Published v7" / "Published v7 · edited") from the
L14a publishState; the pill's menu publishes the working copy (saving
dirty edits first) or jumps to the Versions tab. The timeline marks the
pinned version and offers "Publish this" on the others behind a
confirm dialog.
RestoreDialog and PublishVersionDialog share the new PendingActionDialog
skeleton; VersionsTab's save/restore/publish mutations moved to
useVersionActions to stay under the complexity ceiling.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.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.
Summary
Not published/Published v7/Published v7 · edited) driven by the L14apublishState, live-refreshing onagent.changedmeta/version/save/restore events.Already publishedwhen the working copy matches the pin; saves dirty edits first) and View versions.Publishedbadge and offers Publish this on every other non-baseline version behind aPublish v3?confirm dialog.RestoreDialogandPublishVersionDialognow share the newPendingActionDialogskeleton;VersionsTab's save/restore/publish mutations moved touseVersionActionsto stay under the complexity ceiling.Ticket:
audit/forge-builder/tickets/p7-lifecycle/L14b-published-pill-and-badges.mdTest plan
PublishPill.test.tsx(10) + extendedVersionsTab.test.tsx(16) — labels/tones/titles, dirty-save-then-publish, disabled-when-published, badges, dialog copy, toasts, refreshfallow auditcleanGenerated with Devin