Skip to content

Workflow Templates and Publishing Controls #3921

@theroinaochieng

Description

@theroinaochieng

Read the background on Publishing Templates if you're not familiar with how/why this feature works: https://docs.google.com/document/d/1UfcI9kbEOQAOJz4UM_O9FwCUeXazfc9iuF-iQack-eQ/edit?tab=t.0#heading=h.50x71rigbckv

  1. Add button to Workflow Settings Page
  2. Build new form
  3. Wire it all up
  4. Use the new style toast notification## 1. Add the "Publish Template"/"Update Template" button to the Workflow Settings page
Image Image

2. Add the new publish/update template form

Image Image

3. Make it work!

Ensure that published templates appear in the template browser.

4. Add a toast (using the new style toast, not the old style toast shown below)

Image

Acceptance Criteria

  1. Permissions match legacy implementation (superuser only)
  2. Publish should "save and publish" and this should be displayed in the toast
  3. Styles match legacy implementation
  4. Chip behavior matches legacy implementation

Basically, this is a 100% port. When testing verify that it matches the existing behavior 100% except for the new "save & publish" functionality

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions