-
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
[Maps] Migrate maps client router to react #65079
Merged
kindsun
merged 125 commits into
elastic:master
from
kindsun:np-migrate-maps-client-router-to-react
Jun 18, 2020
Merged
Changes from 44 commits
Commits
Show all changes
125 commits
Select commit
Hold shift + click to select a range
decd241
Add placeholder top nav and partial main route handler
0a720a0
Add router logic
a7ef58a
Register maps app in plugin setup and connect router
fbf485a
Remove maps app legacy init from xpack index
3e7985a
Reorg
1066d4d
Narrow down to working code loading maps create edit view
b19fe29
Completely remove legacy maps
29353f7
Create map route working but mapContainer has 0 height
ac4ba83
Update layout to reflect original layout so style is applied correctly
58c3e45
Saved map loading by id. Layers loading in legend but not on map
b0f63a1
Saved layers loading
18b341a
Basic top nav in place with settings, inspect and save working
a19e264
Add breadcrumbs updates
1d71ac7
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
a9d9474
Connect search bar and time filter functionality
6b2bb5a
Clean up
d31704b
Browser router working without redirect
cb2702b
Redirect working for hash urls
771f498
Clean up
a9c3dae
Update remaining hash refs
e854fd7
More clean up, reorg
3b5166c
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
8f0270a
Reorg and set up for state handling
f6a61c5
Watch store for changes
f7870af
Global state syncing in place
ecbe676
Handle global state in create_edit route. Add handling for subscripti…
786a216
Replace angular full-screen class assignment
671dafe
Global sync accurate for time in URL and timepicker. Query 1 behind
22d9a15
Index patterns passed to top nav. Filter bar in place
d4939fd
Add app state handling and supporting logic
d44f9c8
Update actions on save to work with latest master
31a485f
Refactor to redux containers where needed. Centralize store handling
098b639
Add inspector adapters to props
c9dd5fd
Clean old state refs and connect app state where needed
421ce7a
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
0f271fd
Fix issue affecting embeddables
3771093
Use arrow function syntax to bind 'this' correctly for filters
0d8257b
Fix linting errors
d0b7bfd
Reorg and optimization. Biggest difference is improved load time from…
1d830e3
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
e68baaf
Fix type errors and update import paths
8c66a72
Clean up top nav menu todos and flow
a52df2e
Add back test data sub on save map links
e44dfdf
More explicitly handle list route
e8e4233
Check onMap in valid way for new router
bdc326c
Update test to use browser router nav instead of hash
e6dff64
i18n updates
6812066
Make syncWithStore an arrow function to properly bind 'this'
4629ad4
Update breadcrumbs correctly
1734763
Fix some details with how the url and breadcrumbs work on refresh and…
f3c0279
Clean up remaining hash map url refs
fb8bd00
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
5f02956
Fix relative fetch path
3f96e0e
Rename angular -> bootstrap
2f5f26d
Do saved map ops prior to component rendering
5443040
Wait until filters set to render map
2819f6d
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
9021bf1
Pass updateFiltersAndDispatch to MapsRoot. Fixes shape drawing filters
6d9be6b
jClean up routing handing
0f7b50a
Update map app title when route view loaded
6942143
Register saved objects w/ recently accessed. Some clean up
a0a2d3d
Hydrate maps from global state where needed on update
b80e975
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
9e402e7
TS/import fixes
4e6330a
Remove relative index pattern settings URL request, use leading slash
61536c5
Fix bug that caused filters toverwrite each other
be50603
Add revised handling for global state direct updates
dcc155d
Prevent app state retention between maps by clearing filter manager
7e49cf2
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
8cfd067
Remove only app state filters on leaving map
39af16f
Convert functions to arrow functions to avoid this binding error on r…
3e359a1
Sync global state after setting init query, time and refresh
8b7d6a5
Handle populating app state on refresh
b656732
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
3c0f0e7
Roll back change to get initial layers function
a73e919
Review feedback. Clean up
2481e4d
Clean up refresh handling
fbb680a
Check globalState exists to catch edge case. Some TS reminder comments
9020e9e
Update hash url logic in test
95199f8
i18n updates
712fbde
Add support finding buttons by text in functional tests
eb3ea1e
Construct discover maps URLs with hash before params
c7d210b
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
83e1721
Lazy load renderApp
2746533
Fix type errors
bf42414
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
5d0ddf3
Review feedback. Renamed route to 'maps_app', TS updates, map setting…
ec3badd
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
7402a28
Import tooltip and embeddable content directly from source outside of…
31fc4c4
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
b954bea
Review feedback. Add back 'allByLinkText' find function. Add timeout …
dae1039
Prevent add to history on global state init
f3789e7
Redirect back to list if saved object not found. Add toast for feedback
bebaafc
Update wording for global state flush. Fix typo
91039c6
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
b0c5f67
Use error message. Change toast to warning
98d99f7
Review feedback, clean up
e951a0d
Review feedback. Lots of clean up, async adjustments, using constants
c8dc83a
Review feedback. Mostly clean up
b59d7d8
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
0322eff
Forgot one componentDidMount async update
00f1339
Fix auto-import wrong APP_ID
09868a4
Update map paths changed in merge
3202683
Update one other conditional statement checking interval
60ba38b
Remove unneeded lambda function
ec92862
Pass saved query to top nav
616c32f
Remove arrow function syntax from saved gis map functions and revise …
15e0d4d
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
80dbdda
Review feedback. Clean up, tweaks
2b733fb
Review feedback. Cleaning
9f0b484
Review feedback. More clean up
ba661d0
Review feedback. Clean up store sync
ca846e0
Review feedback. Clean up. Remove unneeded file. Rename view files
a0bf57f
Subscribe to query service state as global state monitor
73917e1
Remove unused 'withRouter'
729ce10
Review feedback. Clean up state
0e18579
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
78880a8
Revert "Review feedback. Clean up state"
6c0ac0b
Review feedback. Remove refreshConfig froms state
20096c1
Review feedback. Remove filters from state
1cf23f7
Remove extra global state update. Add cleaner saved query clean up ha…
8d4228b
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
a18ec43
Remove extra updateGlobalState accidentally moved in prior commit
adbc1ab
Merge remote-tracking branch 'upstream/master' into np-migrate-maps-c…
e908161
Merge branch 'master' into np-migrate-maps-client-router-to-react
elasticmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
:)