Skip to content

Add bulk actions to message widget#25318

Open
maxiadlovskii wants to merge 23 commits intomasterfrom
feat/Add-bulk-actions-to-message-widget
Open

Add bulk actions to message widget#25318
maxiadlovskii wants to merge 23 commits intomasterfrom
feat/Add-bulk-actions-to-message-widget

Conversation

@maxiadlovskii
Copy link
Contributor

@maxiadlovskii maxiadlovskii commented Mar 13, 2026

Description

This PR adds bulk actions to the message table widget. One issue I found during development is that we might encounter a scenario where the search returns messages with the same ID but from different indexes. Because of that, we can't use the message ID as an identifier to store selected messages. To resolve this issue, I decided to use idex+message.id as an identifier. To help work with this type of ids I added the useSelectedMessageEntities hook, which contains methods we need across the application.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

/jpd https://github.com/Graylog2/graylog-plugin-enterprise/pull/13514
/nocl for now we adding only investigation actions related to enterprise

@maxiadlovskii maxiadlovskii changed the title Feat/add bulk actions to message widget Add bulk actions to message widget Mar 17, 2026
@maxiadlovskii maxiadlovskii added the e2e-tests Run PR build with e2e tests. label Mar 18, 2026
@maxiadlovskii maxiadlovskii marked this pull request as ready for review March 18, 2026 14:19
@linuspahl linuspahl self-assigned this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e-tests Run PR build with e2e tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants