-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Management] Index pattern creation wizard in React! #16499
Conversation
cc @cjcenizal |
💚 Build Succeeded |
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.
indexPatterns: $injector.get('indexPatterns'), | ||
savedObjectsClient: $injector.get('Private')(SavedObjectsClientProvider), | ||
kbnUrl: $injector.get('kbnUrl'), | ||
notify: new Notifier(), |
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.
Looks like this isn't in use? I think it was originally needed to surface a fatal error but yours truly removed that requirement. ;)
FYI, we can use the new toastNotifications
service to show a toast when the index pattern is successfully created.
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.
Great point! Removed
💚 Build Succeeded |
@cjcenizal Ready! |
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.
⚡️ LGTM!
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.
LGTM
* Index pattern creation wizard shell * PR feedback
Backport 6.x: e2d249e |
Follows #15722, #15936, #16129
Background
This PR is the last step at refactoring the index pattern creation wizard from Angular to React. The management team decided to do both the EUI and React refactor at the same time.
Details
This PR removes all existing angular code for the index pattern creation wizard and replaces it with React. The functionality should be exactly the same
The file structure looks like:
components/
- This contains all the parts of the index pattern creation wizardconstants/
- This is where the constants used throughout index pattern creation are storedlib/
- This is where helper functions exist, isolated and dependency-free