Skip to content
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

Spawner Profile page #135

Merged
merged 12 commits into from
Feb 29, 2024
Merged

Spawner Profile page #135

merged 12 commits into from
Feb 29, 2024

Conversation

kildre
Copy link
Contributor

@kildre kildre commented Feb 26, 2024

Created a page where the user can select a server type they would like to use for their application

Reference Issues or PRs

What does this implement/fix?

This removes the application server type selection from the form and puts it on its own page.
Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

Documentation

Access-centered content checklist

Text styling

  • The content is written with plain language (where relevant).
  • If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
  • All links describe where they link to (for example, check the Nebari website).
  • This content adheres to the Nebari style guides.

Non-text content

  • All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
  • If there are emojis, there are not more than three in a row.
  • Don't use flashing GIFs or videos.
  • If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

server-types_loading
server-types_servers

…io-button component with test. created a route to the servers type page
Merge branch 'main' into ui-spawner-profile-268
Copy link

vercel bot commented Feb 26, 2024

@kildre is attempting to deploy a commit to the nebari-jhub-apps Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@jbouder jbouder left a comment

Choose a reason for hiding this comment

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

See comments for some changes. Also make sure to do another buildCopy once all updates are made

ui/src/components/radio-button/radio-button.tsx Outdated Show resolved Hide resolved
ui/src/index.css Outdated Show resolved Hide resolved
ui/src/index.css Outdated
Comment on lines 84 to 85
.button-container button {
}
Copy link
Collaborator

@jbouder jbouder Feb 26, 2024

Choose a reason for hiding this comment

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

This should be removed if not being used

ui/src/index.css Outdated Show resolved Hide resolved
ui/src/pages/server-types/server-types.tsx Outdated Show resolved Hide resolved
<div className="container mx-auto px-4">
<div className="grid grid-cols-12 gap-4">
<div className="col-start-4 col-span-6 bg-gray-200 p-4">
<h1 className="mb-0">Hardware Environment</h1>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be Server Type...and maybe update the paragraph wording below

Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jhub-apps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 29, 2024 6:01pm

@dharhas
Copy link
Member

dharhas commented Feb 26, 2024

Launching JupyterLab or VSCode will also hit the spawn page. Are those going to be the same as this one or different?

Reason I'm asking is "create app" doesn't fit in those cases.

Copy link
Collaborator

@jbouder jbouder left a comment

Choose a reason for hiding this comment

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

In addition to the comments, please also review unit tests. Looks like 1 might be failing.

ui/src/pages/server-types/server-types.tsx Outdated Show resolved Hide resolved
ui/src/pages/server-types/server-types.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@jbouder jbouder left a comment

Choose a reason for hiding this comment

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

Great work!

Copy link
Member

@aktech aktech left a comment

Choose a reason for hiding this comment

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

@aktech aktech merged commit 323a539 into nebari-dev:main Feb 29, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants