Skip to content

Expose display_name field in the service form#3078

Open
Fantu wants to merge 1 commit into
Icinga:masterfrom
M2Rbiz:expose-service-display_name
Open

Expose display_name field in the service form#3078
Fantu wants to merge 1 commit into
Icinga:masterfrom
M2Rbiz:expose-service-display_name

Conversation

@Fantu

@Fantu Fantu commented Jun 17, 2026

Copy link
Copy Markdown

The display_name property already exists on IcingaService and is rendered into the generated config, but the web form never exposed it, so it could only be set through manual SQL or the REST API. This adds a Display name text field to the service form, mirroring the existing host form behaviour.

A dedicated addDisplayNameElement() is added and wired into all three setup paths (service objects and apply rules, host-related services and service-set services), skipping templates just like the host form does.

Fixes #608
Fixes #2659
Fixes #2957
Refs #932
Refs #2509

The `display_name` property already exists on `IcingaService` and is
rendered into the generated config, but the web form never exposed it,
so it could only be set through manual SQL or the REST API. This adds a
`Display name` text field to the service form, mirroring the existing
host form behaviour.

A dedicated `addDisplayNameElement()` is added and wired into all three
setup paths (service objects and apply rules, host-related services and
service-set services), skipping templates just like the host form does.

Fixes Icinga#608
Fixes Icinga#2659
Fixes Icinga#2957
Refs Icinga#932
Refs Icinga#2509

Assisted-by: Claude Code (Opus 4.8)
Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
@cla-bot

cla-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

Thank you for your pull request. Before we can look at it, you'll need to sign a Contributor License Agreement (CLA).

Please follow instructions at https://icinga.com/company/contributor-agreement to sign the CLA.

After that, please reply here with a comment and we'll verify.

Contributors that have not signed yet: @Fantu

Details
  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Please contact us if you think this is the case.

  • If you signed the CLA as a corporation, your GitHub username may not have been submitted to us. Please reach out to the responsible person in your organization.

@Fantu

Fantu commented Jun 17, 2026

Copy link
Copy Markdown
Author

cla was signed

@bobapple

Copy link
Copy Markdown
Member

@cla-bot check

@cla-bot cla-bot Bot added the cla/signed label Jun 17, 2026
@Fantu

Fantu commented Jun 17, 2026

Copy link
Copy Markdown
Author

@bobapple thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants