Skip to content

fix(editor): remove redundant publish success callout#278

Draft
DavidBabinec wants to merge 1 commit into
mainfrom
fix/remove-publish-success-callout
Draft

fix(editor): remove redundant publish success callout#278
DavidBabinec wants to merge 1 commit into
mainfrom
fix/remove-publish-success-callout

Conversation

@DavidBabinec

@DavidBabinec DavidBabinec commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

What changed

  • remove the anchored page-count callout shown after a successful site publish
  • keep the existing inline Published button state as the success confirmation
  • route publish failures through the shared global bottom-right toast
  • delete the toolbar-specific popup markup, props, state, and styles entirely

Why

The page-count callout duplicated the button’s persistent success state and added unnecessary visual noise. Publish failures should use Instatic’s standard operation-error pattern instead of recreating the same anchored popup treatment.

Impact

Successful publishes now transition quietly to the existing checked Published button state. Failed publishes retain the inline Retry publish state while their detailed error appears in the standard bottom-right toast stack.

Verification

  • bun run lint -- src/admin/pages/site/toolbar/PublishButton.tsx src/admin/pages/site/toolbar/PublishActionGroup.tsx
  • bun run build
  • git diff --check

No regression test was added for this presentation-only cleanup, as requested.

@DavidBabinec
DavidBabinec force-pushed the fix/remove-publish-success-callout branch from 01a6b0d to cf81b0f Compare July 25, 2026 18:43
@DavidBabinec
DavidBabinec force-pushed the fix/remove-publish-success-callout branch from cf81b0f to cd315f0 Compare July 25, 2026 18:47
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