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

[Spaces WIP] Additional space management UI #18607

Merged
merged 10 commits into from
Apr 27, 2018

Conversation

legrego
Copy link
Member

@legrego legrego commented Apr 26, 2018

No description provided.

@legrego legrego added WIP Work in progress Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! labels Apr 26, 2018
@legrego legrego self-assigned this Apr 26, 2018
@kobelb kobelb self-requested a review April 26, 2018 20:10
Copy link
Contributor

@kobelb kobelb left a comment

Choose a reason for hiding this comment

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

This is awesome! Mostly just questions at this point. Do you envision us wanting to move to Redux with these screens or just keep them straight React?

@@ -9,6 +9,7 @@ export default {
'<rootDir>/src/cli_plugin',
'<rootDir>/src/dev',
'<rootDir>/packages',
'<rootDir>/x-pack/plugins'
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we want this here, as all the x-pack tests are run inside of x-pack itself and this would make the OSS tests automatically pick up the x-pack jest tests.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, good catch! I'll remove this.

);
});

$q.all(deleteOperations)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still use $q even in React? I

Copy link
Member Author

Choose a reason for hiding this comment

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

I keep forgetting that Promise.all exists on native Promises...I'll change to use that. I brought $q in to prevent pulling in another dependency, but it's a non-issue. I'll fix this too.

* you may not use this file except in compliance with the Elastic License.
*/

export class SpacesDataStore {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we using a similar construct on the other management pages?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is the first React management screen -- from what I can tell, the Angular management screens to this client-side as well, but they are using angular's filter mechanism to do most of that work, which isn't available to us.

@legrego
Copy link
Member Author

legrego commented Apr 26, 2018

@kobelb We may want Redux at some point here. I didn't want to bring it in until the screens were complex enough to warrant the framework, and until I was half-way confident in the structure.

Copy link
Contributor

@kobelb kobelb left a comment

Choose a reason for hiding this comment

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

LGTM

@legrego legrego removed the WIP Work in progress label Apr 27, 2018
@legrego legrego merged commit ec300f3 into elastic:spaces-phase-1 Apr 27, 2018
legrego added a commit that referenced this pull request May 2, 2018
@legrego legrego deleted the space-management branch April 29, 2019 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants