Skip to content

Feature/publish changes#18365

Closed
melohagan wants to merge 13 commits intomasterfrom
feature/publish-changes
Closed

Feature/publish changes#18365
melohagan wants to merge 13 commits intomasterfrom
feature/publish-changes

Conversation

@melohagan
Copy link
Copy Markdown
Collaborator

@melohagan melohagan commented Mar 20, 2026

Description

Count the number of changes in the publish button. If there are no changes, then just show Publish

Addresses

Screenshots

changes

Launchcontrol

Show the number of unpublished changes directly in the Publish button and mark workspace apps as having unpublished changes when screens are saved. This makes it clear what will be published across automations, workspace apps, and tables.

@melohagan
Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review

@cubic-dev-ai
Copy link
Copy Markdown
Contributor

cubic-dev-ai Bot commented Mar 20, 2026

@cubic-dev-ai review

@melohagan I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@melohagan melohagan marked this pull request as ready for review March 20, 2026 15:41
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 32ec8afb92

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/builder/src/stores/builder/screens.ts
Comment thread packages/builder/src/components/common/PublishMenu.svelte Outdated
$: workspaceAppChanges = $workspaceAppStore.workspaceApps.filter(
workspaceApp => workspaceApp.publishStatus?.unpublishedChanges
).length
$: changeCount = automationChanges + workspaceAppChanges
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we not add agents and tables in here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some additional changes needed (such as adding the unpublishedChanges field for agents) so I've made those in this PR: #18389


setWorkspaceAppUnpublishedChanges(workspaceAppId: string) {
this.store.update(state => {
if (!state.workspaceApps[workspaceAppId]) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the use case for this?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triggers when an app change is made in a screen within the Design section, e.g. adding a form field component, moving a component around the canvas, etc.

@melohagan melohagan closed this Mar 31, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants