Skip to content

feat: Add schedule element button#3621

Merged
tvdeyen merged 4 commits intomainfrom
element-visibility-button
Mar 11, 2026
Merged

feat: Add schedule element button#3621
tvdeyen merged 4 commits intomainfrom
element-visibility-button

Conversation

@tvdeyen
Copy link
Copy Markdown
Member

@tvdeyen tvdeyen commented Feb 3, 2026

What is this pull request for?

Make the recently introduced public_on and public_until fields of elements usable by introducing UI to schedule element visibility.

Notable changes

Replaces the publish toggle with a split button which allows to schedule the element for publication.

Screenshots

CleanShot 2026-02-12 at 08 25 59@2x CleanShot 2026-03-04 at 18 25 20@2x CleanShot 2026-02-12 at 08 25 36@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 self-assigned this Feb 3, 2026
@tvdeyen tvdeyen changed the title Element visibility button feat: Add schedule element button Feb 3, 2026
@tvdeyen tvdeyen force-pushed the element-visibility-button branch 6 times, most recently from c97a425 to f739f8e Compare February 10, 2026 13:25
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.48%. Comparing base (64ec670) to head (842e3c9).
⚠️ Report is 53 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3621      +/-   ##
==========================================
+ Coverage   97.47%   97.48%   +0.01%     
==========================================
  Files         314      315       +1     
  Lines        8303     8354      +51     
==========================================
+ Hits         8093     8144      +51     
  Misses        210      210              

☔ 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 element-visibility-button branch 9 times, most recently from 601a4be to cc94e59 Compare February 12, 2026 07:50
@tvdeyen tvdeyen added this to the 8.2 milestone Feb 12, 2026
@tvdeyen tvdeyen marked this pull request as ready for review February 12, 2026 07:53
@tvdeyen tvdeyen requested a review from a team as a code owner February 12, 2026 07:53
@tvdeyen tvdeyen removed their assignment Feb 12, 2026
@tvdeyen tvdeyen force-pushed the element-visibility-button branch from cc94e59 to b7503f2 Compare February 12, 2026 16:10
@tvdeyen tvdeyen force-pushed the element-visibility-button branch 6 times, most recently from bdded4f to 9dbdd8d Compare February 19, 2026 12:47
@tvdeyen tvdeyen force-pushed the element-visibility-button branch 10 times, most recently from dd3c35b to 2932a4f Compare February 21, 2026 23:29
@tvdeyen tvdeyen force-pushed the element-visibility-button branch 4 times, most recently from e828685 to 1519d87 Compare March 2, 2026 10:05
@tvdeyen tvdeyen enabled auto-merge March 2, 2026 10:06
@tvdeyen tvdeyen disabled auto-merge March 2, 2026 10:10
@tvdeyen tvdeyen force-pushed the element-visibility-button branch from 1519d87 to 22aace7 Compare March 4, 2026 16:06
tvdeyen added 4 commits March 5, 2026 16:52
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
This allows to use a different icon while using
the setting type. Ie. warn icon and error style.
We want to be able to skip ingredient validations
while scheduling or publishing an element.
Replaces the public toggle with a split button
which allows to schedule the element for publication.
@tvdeyen tvdeyen force-pushed the element-visibility-button branch from 22aace7 to 842e3c9 Compare March 5, 2026 15:53
@tvdeyen tvdeyen merged commit 0908f40 into main Mar 11, 2026
27 checks passed
@tvdeyen tvdeyen deleted the element-visibility-button branch March 11, 2026 17:05
@tvdeyen tvdeyen added the enhancement New feature or enhancement label Mar 20, 2026
@alchemycms-bot alchemycms-bot Bot mentioned this pull request Mar 24, 2026
@alchemycms-bot alchemycms-bot Bot mentioned this pull request Apr 8, 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