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

UI: Remove antd package #1117

Merged
merged 8 commits into from
Apr 3, 2020
Merged

Conversation

andreyvelich
Copy link
Member

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.

Tabs

/assign @johnugeorge @gaocegege

@kubeflow-bot
Copy link

This change is Reviewable

Copy link
Member

@gaocegege gaocegege left a 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.

@johnugeorge
Copy link
Member

/retest

@johnugeorge
Copy link
Member

/approve

@k8s-ci-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@andreyvelich
Copy link
Member Author

/retest

@k8s-ci-robot k8s-ci-robot removed the lgtm label Apr 3, 2020
@gaocegege
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 4da82cf into kubeflow:master Apr 3, 2020
sperlingxx pushed a commit to sperlingxx/katib that referenced this pull request Jul 9, 2020
* 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
@andreyvelich andreyvelich deleted the ui-fix-tabs branch October 6, 2021 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants