Skip to content

Rename Event Definition wizard "Fields" tab to "Additional Details"#26355

Merged
danotorrey merged 6 commits into
masterfrom
rename-fields-tab-additional-details
Jun 24, 2026
Merged

Rename Event Definition wizard "Fields" tab to "Additional Details"#26355
danotorrey merged 6 commits into
masterfrom
rename-fields-tab-additional-details

Conversation

@danotorrey

@danotorrey danotorrey commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Closes Graylog2/graylog-plugin-enterprise#14222

The Fields step on the Event Definition wizard has grown beyond Event Field — it now hosts the Tags input (and Mitre info). This PR renames the step to Additional Details.

Scope: the visible label, the internal STEP_KEYS entry, and the step's ?step= query-param value (fieldsadditional-details). The FieldsForm component and the underlying fields data on the event definition are unchanged.

This also renames the ?step=fields URL parameter to ?step=additional-details (/alerts/definitions/<id>/edit?step=fields to /alerts/definitions/<id>/edit?step=additional-details). For backwards compatibility, old bookmarked links using ?step=fields still resolve to the renamed step. An UPGRADING.md note was added for anyone who has bookmarked it.

image

/jpd Graylog2/e2e-tests#1666

Assisted with Claude Code

The Fields step has grown beyond event fields — it now hosts the Tags
input (and will host MITRE / detection-chain info), so the "Fields"
label no longer reflects what the tab contains. Rename the visible
label, the internal STEP_KEYS entry, and the step's `step` query
parameter value from `fields` to `additional-details`.

The FieldsForm component and the underlying `fields` data on the event
definition are left unchanged. Documented in UPGRADING.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@danotorrey danotorrey changed the title Rename Event Definition "Fields" wizard tab to "Additional Details" Rename Event Definition wizard "Fields" tab to "Additional Details" Jun 15, 2026
The changelog snippet linter requires at least one issue or pull request
number per entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

rename pr-26355.toml to follow changelog naming conventions

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching this. Done in 5f9b017.

@kingzacko1 kingzacko1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

tests successfully!

@danotorrey danotorrey added the e2e-tests Run PR build with e2e tests. label Jun 22, 2026
@danotorrey

Copy link
Copy Markdown
Contributor Author

I'll leave this open until tomorrow for any remaining feedback, then will merge it.

danotorrey and others added 2 commits June 23, 2026 09:24
Old bookmarked links using ?step=fields now resolve to the renamed
additional-details step instead of falling back to the default.
Updates UPGRADING.md accordingly and adds unit tests for the normalizer.
Also renames the changelog entry to pr-26355.toml per review.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@danotorrey

Copy link
Copy Markdown
Contributor Author

I also added backwards-compatibility support for the old step=fields URL param in 5f9b017. It was a small amount of code, so it seemed like a good idea and should only help. I'll spin-up a test instance to validate it once we have a green build.

Also added https://github.com/Graylog2/e2e-tests/pull/1666 to update e2e tests for this PR.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@danotorrey danotorrey requested a review from kingzacko1 June 23, 2026 18:48
@danotorrey

Copy link
Copy Markdown
Contributor Author

I also added backwards-compatibility support for the old step=fields URL param in 5f9b017. It was a small amount of code, so it seemed like a good idea and should only help. I'll spin-up a test instance to validate it once we have a green build.

Also added Graylog2/e2e-tests#1666 to update e2e tests for this PR.

@kingzacko1 Are you able to take one more look at this with the latest changes? e2e now passing with linked e2e PR, CL renamed, and I added backwards-compatibility handling for the old URL field /edit?step=fields.

@kingzacko1 kingzacko1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with the latest! Thanks, Dan!

@danotorrey

Copy link
Copy Markdown
Contributor Author

Thanks @kingzacko1! I forgot to request a review on the e2e test as well: https://github.com/Graylog2/e2e-tests/pull/1666 Can you review that side as well? Once that is good to go, I will merge both together since e2e's are now passing on this PR.

@kingzacko1

Copy link
Copy Markdown
Contributor

@danotorrey approved!

@danotorrey danotorrey merged commit d3765d8 into master Jun 24, 2026
27 checks passed
@danotorrey danotorrey deleted the rename-fields-tab-additional-details branch June 24, 2026 22:44
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