Commit f285a73
authored
fix(compass-crud): expanded docs retains state after switching tabs COMPASS-7318 (#5137)
* fix: expanded docs retains state post tab switch
moved the expanded state of the document/element to HadronDocument/HadronElement
* moved from normal docs to hadron docs in the store
* minor refactor
* refactor related to HadronDocument and HadronElement
* added options to expand/collapse docs for a stage preview
* added e2e tests for the expanding / collapsing of documents
* refactor: related to React convention for callbacks and types1 parent 411e5d6 commit f285a73
File tree
47 files changed
+1273
-248
lines changed- packages
- compass-aggregations/src
- components
- focus-mode
- pipeline-builder-workspace/pipeline-as-text-workspace
- pipeline-results-workspace
- pipeline-toolbar
- pipeline
- stage-toolbar
- modules
- pipeline-builder
- compass-components/src/components/document-list
- compass-crud/src/components
- compass-e2e-tests
- helpers
- commands
- tests
- hadron-document
- src
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+1273
-248
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | | - | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | | - | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| |||
0 commit comments