Commit da7eb23
chore(workspaces): replace workspace opening events with openWorkspace methods (#5213)
* chore(workspaces): add workspace provider; decouple sidebar from workspaces and use new hook to get state
* chore(workspaces): use openWorkspace methods in sidebar, collection, and databases-collections plugins
* chore(workspaces): move workspace tab definition to workspaces plugin to avoid circular dependencies
* chore(workspaces): replace rest of the tab opening events with openWorkspace methods
* chore(workspace): refactor workspaces provider to allow mocking in test environment
* chore(workspaces): add a separate method for opening a collection in a view editing state
* chore(workspaces): fix slot rendering; fix failing tests
* chore(instance-store): clean up instance store and add tests
* chore(home): fix dataService mock
* chore(collection-model): pick type as part of the collection info
* chore(workspaces): use optional chaining
Co-authored-by: Anna Henningsen <[email protected]>
* chore(collection): stricter collection tab provider types
---------
Co-authored-by: Anna Henningsen <[email protected]>1 parent fe55c67 commit da7eb23
File tree
92 files changed
+1396
-1160
lines changed- packages
- collection-model
- lib
- compass-aggregations
- src
- components
- pipeline-builder-workspace/pipeline-builder-ui-workspace
- pipeline-results-workspace
- modules
- create-view
- pipeline-builder
- stores
- test
- compass-app-stores/src
- stores
- compass-collection
- src
- components
- collection-header
- modules
- stores
- compass-home
- src
- components
- compass-import-export
- src
- modules
- stores
- compass-indexes
- src
- components/search-indexes-table
- modules
- compass-saved-aggregations-queries
- src
- components
- stores
- compass-serverstats
- src
- compass-sidebar
- src
- components
- stores
- compass-workspaces
- src
- components
- stores
- data-service/src
- database-model
- databases-collections
- src
- components
- modules
- stores
- hadron-app-registry/src
- instance-model
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
92 files changed
+1396
-1160
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
371 | | - | |
| 372 | + | |
372 | 373 | | |
373 | 374 | | |
374 | | - | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| 115 | + | |
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments