Fix regression for the moderation state element in Action buttons in sticky header, which Gin provided a new API for sticky form actions

Created on 4 July 2024, 5 months ago
Updated 28 July 2024, 4 months ago

Problem/Motivation

Varbase had πŸ“Œ Move the Save as Draft moderation state element next to preview and Save in the Edit content with workflow Fixed
But after ✨ Move Action buttons to sticky header Fixed

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
  • 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 API for sticky form actions
πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024