Skip to content

[Node Documents] Improve the usefulness of the histogram

Summary

(Summarize the bug encountered concisely with the version of code)

Steps to reproduce

Open a Documents page containing documents from different years (this is more meaningful for the example).
Then click on the left and/or right borders of the slider bar to reduce the period of years: the histogram adapt to the selected years, but not affect the documents list.

Only the click on a year block can currently filter the list below.

What is the current bug behavior?

Currently the slider bar filters only the histogram dates, it does not affect the list of documents displayed below.

What is the expected correct behavior?

We want the slider bar to also filter documents corresponding to the zoomed dates.

Maybe we can also plan:

  • the possibility to select several years instead of only one (as currently)
  • a "reset" button to restore the initial slider bar position (all the dates visible)

Relevant logs and/or screenshots

Currently, it's possible to select a block (year in this preview) to filter the docs list:

image

We want the slider bar to also filter documents corresponding to the zoomed dates:

image