-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adds extension point for custom environment UI #24
Conversation
for more information, see https://pre-commit.ci
* collapsible panel and styling * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Move optional attributes after required ones * use jupyterlab css var for bold font * rename expandedByDefault? prop to expanded? * Update src/components/collapsible-panel.tsx Co-authored-by: Piyush Jain <piyushjain@duck.com> * propagete function name change * make content conditionaly-visible instead of creating/destroying it on CollapsiblePanel open/close * render icons directly without ToolbarButtonComponent * Fix icon onClick * add padding on icon as before * fix content rendering * use font weight variable on title too * rename summary into header * simplify divs and css classes * simplify css even further * use h2 instead of div, remove associated css styling * remove handleChange function * remove inremental inline padding on icon * remove top expanded class variant, rename classes to follow .jp-jobs-<Component> convention * move CollapsiblePanel css into separate file * restrict title to string only * add optional children props * render props.children as content * use children directly without converting them to array * remove onClick console.log Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Piyush Jain <piyushjain@duck.com>
* Remove tab bar from notebook job panel. * Change overflow-y on job panel to auto. * Minor updates to empty state text. * Simpify card text. * Use MD Cyan 700 for icons. * Size utility. * Box component. * Adding css variables. * Stack component. * Heading component. * Cluster component. * Updating UI based on new components. * Ad button component. * Use button component. * Minor update to form widths. * Update CSS classes to avoid global conficts. * Adding MUI. * Add JupyterLab->MUI theme adapter. * Update theme provider. * Test basic MUI components. * Working theme adaptation. * More explorations with MUI. * Refactoring models. * Update import. * fix MUI build * set builder to ^3.4.7 * update yarn lock * fix notebook jobs command Co-authored-by: Brian E. Granger <brgrange@amazon.com>
Reinstates functionality of the create job form with MUI components
for more information, see https://pre-commit.ci
export type EnvironmentParameterValue = string | number | boolean | ||
|
||
export interface IAdvancedOptionsProps { | ||
mode: JobsView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we offering an extension point for "ListJobs"?
|
||
export interface IAdvancedOptionsProps { | ||
mode: JobsView | ||
model: ICreateJobModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is likely going to be support in addition to ICreateJobModel
, an analogous to the IJobDetailModel
with all properties from the IDescribeJob
.
Discussed my comments offline with the team, and iterating on this in another PR is okay as this will need changes at other places as well. |
Adds an extension point based on the sample extension point repo.
In the image below, the component displays an informative message.