Skip to content

Migrate ListGroup from react-bootstrap to custom implementation.#26409

Open
linuspahl wants to merge 9 commits into
masterfrom
migrate-bootstrap-list-group
Open

Migrate ListGroup from react-bootstrap to custom implementation.#26409
linuspahl wants to merge 9 commits into
masterfrom
migrate-bootstrap-list-group

Conversation

@linuspahl

@linuspahl linuspahl commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

We are migrating react-bootstrap based components to either a maninte based component or a custom implementation.

This PR migrates the ListGroup to a custom implementation. I tried migrating it to mantines List component, but it makes the implementation more complex and does not have many benefits.

One structural change. Before the ListGroup and ListGroupItem was not always an ul and li. When using a link for the ListGroupItem they were actually anchors and no longer list items. The custom implementation handles this differently and always uses an HTML list.

This simplifies the implementation and it has the benefit of following HTML best practices. Because of this change it was required to add a missing ListGroup in some cases.

/prd https://github.com/Graylog2/graylog-plugin-enterprise/pull/14527
Related to #26330
/nocl

@linuspahl linuspahl added the e2e-tests Run PR build with e2e tests. label Jun 19, 2026
@linuspahl linuspahl marked this pull request as ready for review June 19, 2026 13:21
@linuspahl linuspahl changed the title Migrate ListGroup from react-bootstrap to Mantine. Migrate ListGroup from react-bootstrap to custom implementation. Jun 19, 2026
@linuspahl linuspahl requested a review from dennisoelkers June 19, 2026 13:25
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.

1 participant