amarfurt / hdc

Manage, understand, and leverage your health data.
6 stars 5 forks source link

Reintroduce side-by-side comparison and filters for visualizations #40

Closed amarfurt closed 8 years ago

amarfurt commented 9 years ago

Filters can rely solely on meta data for now.

amarfurt commented 9 years ago

Filtering might be difficult, since the responsibility of loading records now lies with the visualization. It would have to be a process looking like this:

  1. User sets filter on spaces page.
  2. Frontend registers filters/filtered records with backend (synchronously).
  3. Frontend reloads visualization.
  4. Visualization requests records for current space from backend, which now delivers a clipped list.

Care needs to be taken when the user navigates away from the space, so that filters don't stick around for the next visit.