-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
Could ya describe what this does/fixes? |
@@ -22,7 +22,7 @@ | |||
|
|||
// check if predicates are valid (not empty) | |||
function checkValidPredicates(preds) { | |||
let valid = true; |
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.
Adding a validity check for empty predicates.
@@ -135,7 +137,10 @@ | |||
}); | |||
return s; | |||
}); | |||
selections.update((sels) => ({ slices: [], metadata: sels.metadata })); |
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.
Currently after we create/update the slice, the selection will be cleared and will need to select the modified slice again to see the changes, so I think maybe we can auto-select the new slice to see immediate changes.
$selections.slices.forEach((s, i) => { | ||
let sli_preds = $slices.get(s).filterPredicates; | ||
if (i !== 0) { | ||
sli_preds.join = "&"; | ||
} | ||
slicesPredicates.predicates.push(sli_preds); |
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.
The type should be predicate instead of predicate group when creating a derived(nested) slice from the current selected slice.
* fix: assign value field for column * feat: add predicate check before create slice * fix: avoid showing multiple mdiDotsHorizontal * feat: support nested slices creation * fix: show option menu * fix: handle empty predicates & deep copy nested slices * refactor: auto-select slice after create/update to see immediate changes
No description provided.