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

basic auth login UI #2316

Merged
merged 3 commits into from Jan 25, 2019
Merged

basic auth login UI #2316

merged 3 commits into from Jan 25, 2019

Conversation

kunmingg
Copy link
Contributor

@kunmingg kunmingg commented Jan 23, 2019

Frontend part.

Test passed, ready to merge.

related: #2262


This change is Reviewable

@@ -0,0 +1,32 @@
## Basic Auth Login Page

UI to login kubeflow cluster.
Copy link
Contributor

Choose a reason for hiding this comment

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

UI to login into Kubeflow cluster using basic auth

@jlewi
Copy link
Contributor

jlewi commented Jan 24, 2019

/lgtm
/approve
/hold

@yebrahim Would you mind taking a look at this?

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

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

Copy link
Contributor

@yebrahim yebrahim left a comment

Choose a reason for hiding this comment

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

LGTM overall, just cleanup comments.

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we cleanup this readme? If there are no actual tests (or we're not planning to run them), let's remove the tests section, and we can change the build section below to mention using the makefile instead?

@@ -0,0 +1,135 @@
// This optional code is used to register a service worker.
Copy link
Contributor

Choose a reason for hiding this comment

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

You generally won't need this file, it's safe to remove. So are its references in index.js.

@@ -0,0 +1,32 @@
.App {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like the stock React CSS file, you probably aren't using anything here (.App is used in App.js but it's not doing anything). Can we remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need text-align: center;
Maybe leave this file for future style edit?

import Login from './login';
import { createBrowserHistory } from 'history';

export const history = createBrowserHistory({
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't seem to be used anywhere.

@@ -0,0 +1,9 @@
import React from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm on the line about having this stock test, if we're never going to run it. I'm assuming any further developments here will make sure the app loads in the browser, which does more than what this file tests.

-moz-osx-font-smoothing: grayscale;
}

code {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used anywhere?

@k8s-ci-robot k8s-ci-robot removed the lgtm label Jan 25, 2019
@kunmingg
Copy link
Contributor Author

@yebrahim
PR updated, ptal

@yebrahim
Copy link
Contributor

/lgtm
Thanks.

@jlewi
Copy link
Contributor

jlewi commented Jan 25, 2019

/cancel hold

Thanks @yebrahim

@jlewi
Copy link
Contributor

jlewi commented Jan 25, 2019

/hold cancel

@k8s-ci-robot k8s-ci-robot merged commit ade9f65 into kubeflow:master Jan 25, 2019
kkasravi pushed a commit to kkasravi/kubeflow that referenced this pull request Feb 8, 2019
* basic auth login UI

* add missing steps

* remove unused files
@kunmingg kunmingg mentioned this pull request Feb 26, 2019
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
* basic auth login UI

* add missing steps

* remove unused files
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.

None yet

5 participants