Skip to content

feat(ws): Introduce drawer to workspace creation wizard #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

thaorell
Copy link

@thaorell thaorell commented May 6, 2025

closes: #249

screencast-localhost_9000-2025_05_06-10_45_22.webm

@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks May 6, 2025
@google-oss-prow google-oss-prow bot requested review from ederign and kimwnasptd May 6, 2025 14:46
@thaorell thaorell force-pushed the notebooks-v2-workspace-creation-ui-enhancements branch from 4cc7471 to 9b27b1a Compare May 6, 2025 14:46
@thaorell thaorell changed the title feat(s): Introduce drawer to workspace creation wizard feat(ws): Introduce drawer to workspace creation wizard May 6, 2025
@thaorell thaorell force-pushed the notebooks-v2-workspace-creation-ui-enhancements branch from 9b27b1a to 9fcb9a2 Compare May 6, 2025 14:49
@thaorell
Copy link
Author

thaorell commented May 6, 2025

@jenny-s51 please review

@paulovmr
Copy link

paulovmr commented May 7, 2025

/ok-to-test

Copy link
Member

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

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

Awesome work on this @thaorell ! The functionality of the drawer is looking really solid and this is a great addition.

Can we implement the drawer to utilize the full height of the content area? It's not rendering at full height at the moment.

Screenshot 2025-05-08 at 3 13 43 PM

It should take the full height of the page container, similar to the drawer in the workspaces list view:
Screenshot 2025-05-08 at 3 13 52 PM

@thaorell thaorell force-pushed the notebooks-v2-workspace-creation-ui-enhancements branch from c79bcde to 22e02d8 Compare May 12, 2025 15:36
@thaorell thaorell requested a review from jenny-s51 May 12, 2025 15:37
Copy link
Member

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

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

Thank you for making these changes @thaorell - nice work. Left a comment below and opened an issue in PF to address a gap with the Wizard component that's causing the issue for which you had to apply the CSS override.

We'll want to remove this override in the future - can we add a comment with the PF issue number to track its resolution?

Otherwise LGTM 🚀

Comment on lines +775 to +779
.pf-v6-c-page__main-section .pf-v6-c-page__main-body {
height: 100%;
}

Copy link
Member

@jenny-s51 jenny-s51 May 12, 2025

Choose a reason for hiding this comment

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

Given that we've created our own custom implementation of a "Wizard", for the Workspace Creation, this may be the best we can do right now. We really shouldn't have to apply a CSS override for the Drawer to render at full height though.

I've opened patternfly/patternfly-react#11826 so Patternfly can handle custom component integration in Wizards better, since our use case has some pretty specific instances of components that the Wizard isn't currently built to support.

Copy link
Author

Choose a reason for hiding this comment

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

Great idea! I'll follow the issue as well. Thank you for opening it!

@caponetto
Copy link

@thaorell could you please rebase this PR to fix the conflicts?

@thaorell thaorell force-pushed the notebooks-v2-workspace-creation-ui-enhancements branch from 22e02d8 to c570d62 Compare May 13, 2025 17:11
Signed-off-by: Charles Thao <[email protected]>

fix(ws): Change label titles in Workspace Creation

Signed-off-by: Charles Thao <[email protected]>

Add custom rules for drawer body to have full length

Signed-off-by: Charles Thao <[email protected]>
@thaorell thaorell force-pushed the notebooks-v2-workspace-creation-ui-enhancements branch from c570d62 to 4f5af83 Compare May 13, 2025 17:50
@thaorell thaorell requested a review from jenny-s51 May 13, 2025 17:53
Copy link
Member

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

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

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label May 14, 2025
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

@ederign
Copy link
Member

ederign commented May 15, 2025

/approve
/lgtm

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 c81f412 into kubeflow:notebooks-v2 May 15, 2025
7 checks passed
@github-project-automation github-project-automation bot moved this from Needs Triage to Done in Kubeflow Notebooks May 15, 2025
Noa-limoy pushed a commit to Noa-limoy/notebooks that referenced this pull request May 18, 2025
fix(ws): Change label titles in Workspace Creation



Add custom rules for drawer body to have full length

Signed-off-by: Charles Thao <[email protected]>
mkoushni pushed a commit to mkoushni/notebooks that referenced this pull request May 28, 2025
fix(ws): Change label titles in Workspace Creation

Add custom rules for drawer body to have full length

Signed-off-by: Charles Thao <[email protected]>
Signed-off-by: CI Bot <[email protected]>
mkoushni pushed a commit to mkoushni/notebooks that referenced this pull request May 28, 2025
fix(ws): Change label titles in Workspace Creation



Add custom rules for drawer body to have full length

Signed-off-by: Charles Thao <[email protected]>
mkoushni pushed a commit to mkoushni/notebooks that referenced this pull request Jun 4, 2025
fix(ws): Change label titles in Workspace Creation

Add custom rules for drawer body to have full length

Signed-off-by: Charles Thao <[email protected]>
Signed-off-by: CI Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

5 participants