Commit 973bd9c
authored
feat(6483): Separate queries and results, for graph versus table. (#6484)
* chore: results context is a context, not a component.
* feat(6483): make a singular resultsView, whereas we have a separate results context (which we can then have multiple)
* feat(6483): disentangle the TableResults view from the GraphResults view
* feat(6483): have childResults view subscribe to parent results, such that an graph related subqueries are overwritten with changes to editor query.
* feat(6483): add viewOptions, and have childResults subscribe to viewOptions such that a subquery is issued if needed.
* fix(6483): ChildResultsContext subscribes to PersistanceContext, therefore need to nest correctly. Trigger graph subquery on change from parent, as noticed via results change (not queryText change -- as that will be triggered too often).
* feat(6483): modify sqlQuery based on SqlQueryModifiers, in the query context
* chore(6483): cleanup types, naming conventions, use of placeholder components. Reduce re-renders. Clarify conditional expression.1 parent 0990ccd commit 973bd9c
File tree
13 files changed
+432
-199
lines changed- src
- dataExplorer
- components
- context
- results
13 files changed
+432
-199
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | | - | |
226 | | - | |
227 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
228 | 233 | | |
229 | 234 | | |
230 | 235 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments