Problem/Motivation
Varbase had #3436163: Move the Save as Draft moderation state element next to preview and Save in the Edit content with workflow
But after #3356717: Move Action buttons to sticky header
Steps to reproduce
Given I am a logged in user with the "Editor" user
When I go to "/node/add/page"
And wait
And I fill in "Test Basic page" for "Title"
And I fill in the rich text editor field "Body" with "Test Basic page body"
And I select "published" from "edit-moderation-state-0-state--2--gin-edit-form"
An extra step to click on the


Proposed resolution
- Integrate more with latest new Action button API in the Gin Admin theme.
- Enable sticky action buttons Beta New
Displays all actions of the form in the sticky header.- Keep the fix for the moderation status only
The sticky action buttons API allows for :
- Register form ids to apply Gin’s sticky action buttons.
- Alter the registered form ids to enable or disable Gin’s sticky form actions.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-10.0.0, varbase_workflow-3.0.6, varbase_workflow-3.0.7, varbase_workflow-3.0.8
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
When creating a new content

When Editing an existing content

API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Issue #3459076: Fixed regression for the moderation state element in Action buttons in sticky header, which Gin provided a new
APIfor sticky form actions


Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshah✅ Released varbase_workflow-3.0.6
Comment #14
rajab natshahGin Admin Theme 8.x-3.0-rc13 had a new release on: 8 Jul 2024 by: saschaeggi
https://www.drupal.org/project/gin/releases/8.x-3.0-rc13
Thank you, Sascha!
Comment #15
rajab natshahFollowed up with more fixes on this issue, which effected all create new or edit contents, with draft or publish moderation status
Comment #16
rajab natshah✅ Released varbase_workflow-3.0.7
Comment #17
rajab natshahAfter a review with the product owner and Razem.
The direction went to follow with the new change by the Gin Admin theme on #3356717: Move Action buttons to sticky header
Comment #18
rajab natshahComment #19
rajab natshahComment #20
rajab natshahComment #21
rajab natshahComment #23
rajab natshahComment #24
rajab natshahComment #25
rajab natshahComment #26
rajab natshahComment #27
rajab natshahComment #28
rajab natshah✅ Released varbase_workflow-3.0.8
Comment #29
rajab natshahComment #30
rajab natshahComment #31
rajab natshahComment #32
rajab natshah✅ Released varbase-10.0.0