Commit a31253f
chore(compass-collection): separate collection tab content from collection tabs management logic (#4858)
* chore(compass-collection): separate collection tab content from collection tabs management logic
* chore(compass-collection): subscribe to the collection model directly; pick stats props from modal before storing in state
* chore(compass-collection): simplify feature flag check
Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
* chore(compass-collection): add tests for tabs store
* chore(compass-collection): add tests for collection tab store
* chore(compass-collection): re-enable workspace component tests
* chore(saved-queries, app-stores): do not emit open-namespace directly from my-queries plugin; add descriptions to collection metadata
* chore(compass-collection): use instance.env instead of atlas (prepare for #4875 to be merged)
---------
Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>1 parent 51bf6ce commit a31253f
File tree
73 files changed
+2195
-3876
lines changed- packages
- collection-model
- compass-aggregations/src
- compass-app-stores/src/stores
- compass-collection
- src
- components
- collection-header
- collection-stats-item
- collection-stats
- collection
- document-stats-item
- index-stats-item
- workspace
- modules
- stores
- compass-components/src/components
- compass-crud/src/components
- compass-e2e-tests/helpers
- compass-export-to-language/src/stores
- compass-home
- src/components
- compass-preferences-model/src
- compass-saved-aggregations-queries/src/stores
- compass/src/app
- database-model
- databases-collections/src
- modules
- drop-collection
- drop-database
- stores
- hadron-app-registry/src
- instance-model
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+2195
-3876
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 | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
5 | 49 | | |
6 | 50 | | |
7 | 51 | | |
| |||
40 | 84 | | |
41 | 85 | | |
42 | 86 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
55 | 91 | | |
56 | 92 | | |
57 | 93 | | |
| |||
63 | 99 | | |
64 | 100 | | |
65 | 101 | | |
66 | | - | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
Lines changed: 79 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
250 | 268 | | |
251 | 269 | | |
252 | 270 | | |
| |||
268 | 286 | | |
269 | 287 | | |
270 | 288 | | |
271 | | - | |
272 | 289 | | |
273 | 290 | | |
274 | 291 | | |
| |||
297 | 314 | | |
298 | 315 | | |
299 | 316 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
312 | 333 | | |
313 | 334 | | |
314 | 335 | | |
315 | 336 | | |
316 | 337 | | |
317 | 338 | | |
318 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
319 | 346 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
327 | 352 | | |
328 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
329 | 367 | | |
330 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
331 | 372 | | |
332 | 373 | | |
333 | 374 | | |
334 | 375 | | |
335 | 376 | | |
336 | 377 | | |
337 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
338 | 384 | | |
339 | | - | |
| 385 | + | |
340 | 386 | | |
341 | 387 | | |
342 | 388 | | |
| |||
349 | 395 | | |
350 | 396 | | |
351 | 397 | | |
352 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
353 | 402 | | |
354 | 403 | | |
355 | 404 | | |
356 | 405 | | |
357 | 406 | | |
358 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
359 | 413 | | |
360 | 414 | | |
361 | 415 | | |
| |||
379 | 433 | | |
380 | 434 | | |
381 | 435 | | |
382 | | - | |
383 | 436 | | |
384 | 437 | | |
385 | 438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments