Skip to content

Conversation

@camilevahviraki
Copy link
Contributor

🍰 Pullrequest

This PR enhances the message controls in Cypht by adding a Custom Actions dropdown.

  • Clicking the Custom Actions button opens a dropdown listing:

    • Existing user-defined actions (filters marked as is_custom_action)
    • A link “Add Custom Action” that opens the Sieve filter modal to create a new action
  • Newly created filters via this modal are automatically marked as is_custom_action and appear in the dropdown.

  • Each custom action can be applied manually to selected messages.

This improves the UX by keeping the toolbar clean while allowing easy access to user-defined message actions.

Issue:

@marclaporte marclaporte requested a review from kroky October 28, 2025 01:37
. '<div class="dropdown-menu custom-actions p-2" aria-labelledby="filter_message">';

if (!empty($custom_actions)) {
foreach ($custom_actions as $filter) {
Copy link
Member

@kroky kroky Oct 29, 2025

Choose a reason for hiding this comment

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

This seems incomplete - custom_actions will always be empty for now. If this PR is still a draft, please use the draft state, so we can review after it comes out of draft mode.

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