Skip to content

Conversation

@caponetto
Copy link

@caponetto caponetto commented Jul 29, 2025

closes: #418

This pull request introduces enhancements to the workspace management system, focusing on improving the handling of workspace counts, adding support for cluster metrics, and improving test coverage. The key changes include updating the useWorkspaceCountPerKind hook to use the data provided by the backend instead of manually calculating them, adding cluster metrics to workspace-related types, and introducing tests for workspace count calculations.

Also in this PR:

  • Updated the NamespaceContextProvider to ensure the last used namespace is valid and falls back to the first available namespace if necessary.
  • Fixed a potential issue in WorkspaceKindDetailsTable where rowPages[page - 1] could be undefined, preventing runtime errors. The empty state will be addressed in [TASK] Create Empty State for WorkspaceKinds Detail Table #504.

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks Jul 29, 2025
@google-oss-prow google-oss-prow bot added area/frontend area - related to frontend components area/v2 area - version - kubeflow notebooks v2 labels Jul 29, 2025
@paulovmr
Copy link

/ok-to-test

Copy link

@paulovmr paulovmr left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Member

@ederign ederign left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ederign

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

The pull request process is described here

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

@google-oss-prow google-oss-prow bot merged commit d71a3f5 into kubeflow:notebooks-v2 Jul 29, 2025
11 checks passed
@github-project-automation github-project-automation bot moved this from Needs Triage to Done in Kubeflow Notebooks Jul 29, 2025
yashpal2104 pushed a commit to yashpal2104/notebooks that referenced this pull request Sep 7, 2025
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
bhaktinarvekar pushed a commit to bhaktinarvekar/notebooks that referenced this pull request Sep 14, 2025
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/frontend area - related to frontend components area/v2 area - version - kubeflow notebooks v2 lgtm ok-to-test size/L

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants