Description
The synthetic-checks get and views get commands display metadata.name (the CRD/internal name) instead of spec.display.name (the human-readable display name).
For example, a view with metadata.name: "all-logs-" and spec.display.name: "All logs" would show Name: all-logs- instead of Name: All logs.
The same issue affects success and error messages in the create and update subcommands, as well as the apply command output for these asset types.
Dashboards already handle this correctly by using ExtractDashboardDisplayName() which reads from spec.display.name.
Affected commands
dash0 synthetic-checks get
dash0 synthetic-checks create
dash0 synthetic-checks update
dash0 views get
dash0 views create
dash0 views update
dash0 apply (for synthetic checks and views)
Expected behavior
All commands should display spec.display.name when available, falling back to metadata.name only when the display name is empty.