Skip to content

Timeline: Add a date range and keep zooms in permalinks - #119

Open
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:timeline
Open

StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:timeline

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

This reworks what the permalink does, in my opinion for the better.

When I permalink a chart, I want to link to it as I see it right now. Currently the button only saves the settings (which chart, how many results to show, and so on) and does not freeze the chart. If I come back two weeks later, whatever I was looking at has moved along with the newer results. That makes it of little use for sharing, since it is not in fact a permalink.

It also does not save the zoom, which is often useful for highlighting a specific set of results. And the options for choosing what the chart shows are quite limited as there is no way to view changes from a few months ago, for example.

This PR addresses these by:

  • adding a from/to date range for selecting which results are shown, alongside "Show the last N results"
  • freezing the dates and the zoom in the permalink, so the link keeps showing the same view
image

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant