Skip to content

devex: Refactor workflow action menus into component #2776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

SuaYoo
Copy link
Member

@SuaYoo SuaYoo commented Jul 25, 2025

In preparation for #2751 and #2731

Changes

  • Adds new <btrix-workflow-action-menu> component that consolidates action menu from workflow list and detail views + update Storybook docs.
  • Adds .menu-item-success and .menu-item-danger classes + update background color on hover and focus to match Figma design.

Manual testing

  1. Log in as crawler
  2. Regression test menu actions in workflow detail and workflows list
    Note: We never added pause/resume to the workflow list actions, which may have been an oversight. I retained the omission in this PR.

Screenshots

Page Image/video
Storybook / Design / Action Menus Screenshot 2025-07-25 at 12 58 53 PM

@SuaYoo SuaYoo marked this pull request as ready for review July 25, 2025 20:05
@SuaYoo SuaYoo requested a review from emma-sg July 25, 2025 20:10
Copy link
Member

@emma-sg emma-sg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, all looks & works well as far as I've been able to test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants