Disable/Enabling facets always results in a entirely new query
Laurel1012 opened this issue · comments
Laurel1012 commented
instead we should:
- only query the missing part
- keep computed parts even if it is disabled (so we can show it again for free)
Laurel1012 commented
phase 1: track state of each facet:
- active: {boolean} included in vis or not
- fetchState: {enum: {'no', 'requested', 'fetched'}:
- result: result table
phase 2: update vis instead of redrawing
- at least keep current zoom state, etc
Laurel1012 commented
now implemented in facet_state branch