-
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
[State Management] Remove AppState from edit_index_pattern page #54104
[State Management] Remove AppState from edit_index_pattern page #54104
Conversation
706ccf0
to
43957c8
Compare
43957c8
to
37e01a0
Compare
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@elasticmachine merge upstream |
…agment/state-sync-edit-index-pattern
8961302
to
3ddbe58
Compare
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 good!
Added a couple comments
...ns/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js
Outdated
Show resolved
Hide resolved
...ns/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js
Outdated
Show resolved
Hide resolved
...ns/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js
Outdated
Show resolved
Hide resolved
...ns/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js
Show resolved
Hide resolved
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
...ns/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js
Outdated
Show resolved
Hide resolved
…agment/state-sync-edit-index-pattern
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
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…tic#54104) Replaces AppState in edit_index_pattern with state containers and state syncing utils. In addition makes tab navigation on edit_index_pattern work with browser's undo history Co-authored-by: Elastic Machine <[email protected]>
…) (#55294) Replaces AppState in edit_index_pattern with state containers and state syncing utils. In addition makes tab navigation on edit_index_pattern work with browser's undo history
* upstream/master: (24 commits) Show error page when accessing unavailable app (elastic#54656) [ML] Improving job wizards with datafeed aggregations (elastic#55180) remove flaly assetion. a license presence tested anyway (elastic#55289) fix commonly used ranges uptime (elastic#54930) [SIEM] Use proper icons on Detections view (elastic#55215) Fix: invalid translation referenced (elastic#54901) [State Management] Remove AppState from edit_index_pattern page (elastic#54104) Implements `getStartServices` on server-side (elastic#55156) Move vis_vega_type/data_model tests to jest (elastic#55186) [SIEM] [Detection Engine] Update status on rule details page (elastic#55201) Fix KQL value suggestions for nested fields (elastic#54820) Enforce camelCase format for a plugin id (elastic#53759) [SIEM] Detection engine cleanup for rule details/creation/edit page (elastic#55069) Remove nested root from index pattern (elastic#54978) [Reporting/Migration] ReportingSetup, LegacySetup (elastic#54198) [SIEM] [Detection Engine] Fixes duplicate rule action (elastic#55252) [SIEM] Detections add alert & signal tab (elastic#55127) Management API - redirect on disabled app path (elastic#55136) [SIEM][Detection Engine] Fixes critical regression on the backend with immutable and tags update local (elastic#55177) ...
* master: (108 commits) [ML] Single Metric Viewer: Fix job check. (elastic#55191) Show error page when accessing unavailable app (elastic#54656) [ML] Improving job wizards with datafeed aggregations (elastic#55180) remove flaly assetion. a license presence tested anyway (elastic#55289) fix commonly used ranges uptime (elastic#54930) [SIEM] Use proper icons on Detections view (elastic#55215) Fix: invalid translation referenced (elastic#54901) [State Management] Remove AppState from edit_index_pattern page (elastic#54104) Implements `getStartServices` on server-side (elastic#55156) Move vis_vega_type/data_model tests to jest (elastic#55186) [SIEM] [Detection Engine] Update status on rule details page (elastic#55201) Fix KQL value suggestions for nested fields (elastic#54820) Enforce camelCase format for a plugin id (elastic#53759) [SIEM] Detection engine cleanup for rule details/creation/edit page (elastic#55069) Remove nested root from index pattern (elastic#54978) [Reporting/Migration] ReportingSetup, LegacySetup (elastic#54198) [SIEM] [Detection Engine] Fixes duplicate rule action (elastic#55252) [SIEM] Detections add alert & signal tab (elastic#55127) Management API - redirect on disabled app path (elastic#55136) [SIEM][Detection Engine] Fixes critical regression on the backend with immutable and tags ...
Summary
Depends on #53582Part of #44151
Replaces AppState in
edit_index_pattern
with state containers and state syncing utils.In addition makes tab navigation on
edit_index_pattern
work with browser's undo historyDisclaimer
The
edit_index_pattern
page was used in our StateManagement POC as the simplest place whereAppState
was used.Not sure if we actually need to apply this change or if this should wait for complete de-angularaization of
edit_index_pattern
.but if we merge it - this could be an example of how to use new state containers and state syncing utils in legacy angular code.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers