lumen-org / lumen

Interactive web application for the exploration, comparision and validation of probability models and its data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable/Enabling facets always results in a entirely new query

Laurel1012 opened this issue · comments

instead we should:

  • only query the missing part
  • keep computed parts even if it is disabled (so we can show it again for free)

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

now implemented in facet_state branch