Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One download page per legislature #13599

Closed
zarino opened this issue Jul 25, 2016 · 1 comment
Closed

One download page per legislature #13599

zarino opened this issue Jul 25, 2016 · 1 comment

Comments

@zarino
Copy link
Member

zarino commented Jul 25, 2016

Problem

We currently have a download page per country, but all of the download options are separated by legislature. This has a few drawbacks:

  • Only the first legislature is visible on pageload, and as we add more historical data to EP, the legislatures after it will only get further down the page. On first page load, it's not obvious at all that the page contains data for more than one legislature.
  • The need to pass a legislature name and a term id to the download page has resulted in somewhat overcomplicated code like add anchor tag to URL and send house+term as query vars into download page #12987

Proposal

Create a download page per legislature.

Link between them via the new tab component introduced in #13598. Broken into separate issue: #15240

Acceptance Criteria

Clicking the "Download data" button on a legislature’s term_table page, should take me to a download page showing only the legislature I came from.

In addition, if the legislature has lots of historical data, the data for the term I came from should be highlighted above any others. Exists as separate issue: #14427

Not Required

n/a

Prerequisites

Having #13598 merged would give us a tab component we could re-use for the navigation between legislature download pages. (Also useful as an above-the-fold way of signposting that we even have data for other legislatures in the same country).

Related Issues

Came up as a solution to #12987

Due Date

n/a

Design?

Will need some design time, to lay out the new single-legislature download pages.

Text?

n/a

Bloggable?

n/a

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

No branches or pull requests

2 participants