Skip to content

feat: add display name support for workspaces#940

Open
andyatmiami wants to merge 1 commit intokubeflow:notebooks-v2from
andyatmiami:chore/workspace-display-name
Open

feat: add display name support for workspaces#940
andyatmiami wants to merge 1 commit intokubeflow:notebooks-v2from
andyatmiami:chore/workspace-display-name

Conversation

@andyatmiami
Copy link
Contributor

@andyatmiami andyatmiami commented Feb 26, 2026

ℹ️ NO GH ISSUE

Add displayName as an optional field on WorkspaceSpec, following
the pattern established by WorkspaceKind. This allows users to set a
human-readable name for their workspaces in the UI.

Changes:

  • Add DisplayName field to WorkspaceSpec CRD type (max 128 chars)
  • Update backend models (WorkspaceListItem, WorkspaceCreate,
    WorkspaceUpdate) to read/write from the new spec field
  • Mark displayName as optional in the API contract (omitempty)
  • Add handler test coverage for display name round-trip
  • Regenerate CRD manifests and Swagger docs

@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks Feb 26, 2026
@google-oss-prow google-oss-prow bot added the area/backend area - related to backend components label Feb 26, 2026
@google-oss-prow google-oss-prow bot added area/v2 area - version - kubeflow notebooks v2 size/M labels Feb 26, 2026
@andyatmiami
Copy link
Contributor Author

/hold

want to rework this to expose DisplayName on the CRD since we control the CRD

@andyatmiami andyatmiami force-pushed the chore/workspace-display-name branch from e5c0721 to 18373d6 Compare February 26, 2026 23:19
@google-oss-prow google-oss-prow bot added the area/controller area - related to controller components label Feb 26, 2026
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from andyatmiami. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@andyatmiami andyatmiami force-pushed the chore/workspace-display-name branch from 18373d6 to 352ac4b Compare February 26, 2026 23:30
@andyatmiami
Copy link
Contributor Author

/ok-to-test

@andyatmiami
Copy link
Contributor Author

/unhold

DisplayName now defined on Workspace CRD in line with WorkspaceKind

@andyatmiami andyatmiami force-pushed the chore/workspace-display-name branch from 352ac4b to 3717ece Compare February 28, 2026 17:11
@google-oss-prow google-oss-prow bot added size/L and removed size/M labels Feb 28, 2026
Add `displayName` as an optional field on `WorkspaceSpec`, following
the pattern established by WorkspaceKind. This allows users to set a
human-readable name for their workspaces in the UI.

Changes:
- Add `DisplayName` field to `WorkspaceSpec` CRD type (max 128 chars)
- Update backend models (`WorkspaceListItem`, `WorkspaceCreate`,
  `WorkspaceUpdate`) to read/write from the new spec field
- Mark `displayName` as optional in the API contract (`omitempty`)
- Add handler test coverage for display name round-trip
- Regenerate CRD manifests and Swagger docs

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
@andyatmiami andyatmiami force-pushed the chore/workspace-display-name branch from 3717ece to 9558f47 Compare February 28, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/backend area - related to backend components area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 ok-to-test size/L

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

2 participants