Graylog2 / Graylog2/graylog2-server
Collectors: Mark optional form fields in source forms
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## Context
Split from Graylog2/graylog-plugin-enterprise#13650 (sub-issue 4).
## Problem
In the Collectors source form (`SourceFormModal.tsx`), optional fields are not explicitly labeled. The `Name` field is marked `required`, but fields like `Description` and type-specific optional fields (e.g., Journald `Match Pattern`) have no "(Optional)" indicator. Users cannot tell at a glance which fields are mandatory.
## Suggested Fix
Mark optional fields with an "(Optional)" label, or consistently mark required fields with an asterisk — whichever pattern the rest of the Graylog UI follows.
## Relevant Files
- `graylog2-web-interface/src/components/collectors/sources/SourceFormModal.tsx`
Contributor guide
Assessment
This issue has not been assessed yet.