-
Notifications
You must be signed in to change notification settings - Fork 448
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
UI: Remove antd package #1117
UI: Remove antd package #1117
Conversation
Change TabPanel for creating Experiment Move TabPanel to Common components
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.
/retest
/lgtm
I have no ability to review the UI code, but the behaviour LGTM.
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge 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 |
/retest |
/lgtm |
* Remove antd package Change TabPanel for creating Experiment Move TabPanel to Common components * Remove antd from package.json * Modify Katib Link and Main Page * Change Trial and Jobs monitor * Fix links, margin in Trial view * Increase margin for Trial
I removed
antd
package from Katib UI.We use
antd
to create tabs (YAML File, Parameters) in Experiment create page.Because of this package, create Experiment by parameters doesn't work correct in Safari browser. Thanks @johnugeorge for found it.
I removed this package and created new component for NAS and HP (TabPanel) using Material UI. It also works faster than
antd
.I tested new UI in Chrome, Safari, Firefox, everything is working.
Also, some html components were using styles from
antd/dist/antd.css
.Since I delete it, I added all styles to appropriate Katib UI components to follow the same design as we have now.
/assign @johnugeorge @gaocegege