Skip to content

Add publish button with version status#3558

Merged
tvdeyen merged 14 commits intomainfrom
publish-page-button
Jan 16, 2026
Merged

Add publish button with version status#3558
tvdeyen merged 14 commits intomainfrom
publish-page-button

Conversation

@tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 14, 2026

What is this pull request for?

Page editors need visibility into whether they're working on unpublished
changes. This replaces the simple publish button with a button that
indicates when the draft version has changes not yet published.

Notable changes

The publish changes button has been moved to the right side of the toolbar, right where the content is edited.

For that to work well Alchemy's growl notifications (toast notifications where called growl back in the day) are now placed in the bottom center of the screen to make room for interactions in the toolbars that are on the top of the screen.

Screenshots

CleanShot 2026-01-15 at 11 37 03@2x CleanShot 2026-01-15 at 11 36 41@2x CleanShot 2026-01-15 at 11 36 56@2x

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 8.1 milestone Jan 14, 2026
@tvdeyen tvdeyen self-assigned this Jan 14, 2026
@tvdeyen tvdeyen force-pushed the publish-page-button branch 2 times, most recently from af59aec to b6e59f9 Compare January 14, 2026 22:18
@tvdeyen tvdeyen changed the title Publish page button Add publish button with version status Jan 14, 2026
@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.36%. Comparing base (d6f4ecd) to head (c66b832).
⚠️ Report is 84 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3558   +/-   ##
=======================================
  Coverage   97.35%   97.36%           
=======================================
  Files         308      309    +1     
  Lines        8025     8054   +29     
=======================================
+ Hits         7813     7842   +29     
  Misses        212      212           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen tvdeyen force-pushed the publish-page-button branch 2 times, most recently from 378ae9d to aa5bbfe Compare January 15, 2026 10:22
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
@tvdeyen tvdeyen force-pushed the publish-page-button branch from aa5bbfe to da10ddb Compare January 15, 2026 10:26
Page editors need visibility into whether they're working on unpublished
changes. This replaces the simple publish button with a button that
indicates when the draft version has changes not yet published.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
With the publish element button now having a
tooltip, we need to make it sure is visible.
The element window was placed on z-index: 20
in order to show the element window toolbar
tooltips. Placing them under the button allows
to remove the z-index, so the publish button
tooltip is now visible.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Due to the fact that page publishing
runs in a background worker, the public
version has not been updated yet. We
want the button to be disabled in this case,
no matter what.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Same as our own button

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Now that we have the publish page button
on the top right corner, the growl messages
are blocking interaction with it. The bottom
center is the less intrusive, while still
prominent place.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Rubocop says this is slow

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
The page version meta data columns need
to exist before we try to migrate it.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
This change needs to be published as well,
to take effect on a public page.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
Page meta data now lives on the page version.
We need to publish this to be effective.

Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
@tvdeyen tvdeyen force-pushed the publish-page-button branch from da10ddb to ed6b011 Compare January 15, 2026 11:54
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
@tvdeyen tvdeyen marked this pull request as ready for review January 15, 2026 13:43
@tvdeyen tvdeyen requested a review from a team as a code owner January 15, 2026 13:43
@tvdeyen tvdeyen removed their assignment Jan 15, 2026
@tvdeyen tvdeyen merged commit 87173fb into main Jan 16, 2026
19 checks passed
@tvdeyen tvdeyen deleted the publish-page-button branch January 16, 2026 09:12
@tvdeyen tvdeyen added the enhancement New feature or enhancement label Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants