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

Related Bills in Overview section - include only related bills from the current congress and change display #290

Closed
nkinaba opened this issue Apr 6, 2021 · 2 comments
Assignees

Comments

@nkinaba
Copy link
Collaborator

nkinaba commented Apr 6, 2021

  1. Limit related bills in Overview section to related bills in the current congress only

  2. Include the short title (if available) or title up to x amount of characters in a hover over

Screen Shot 2021-04-06 at 6 57 26 PM

@ayeshamk ayeshamk added this to the Week of March 6, 2021 milestone Apr 7, 2021
@ayeshamk ayeshamk self-assigned this Apr 7, 2021
@aih
Copy link
Collaborator

aih commented Apr 7, 2021

@ayeshamk, note that in the latest main, I have updated the display to include the ordinal (117_th_), by updating the billnumber display filter.

I've also added a new route, e.g. /home/bill-titles/117 (serving the class BillListTitleAPIView(View) in home/views.py) that gives a dictionary of billnumber: short title, if that is helpful in creating the title attribute for the related bill list. You may also get the short title from the related bills themselves, as we do in the table:

image

@aih
Copy link
Collaborator

aih commented Apr 13, 2021

Implemented

@aih aih closed this as completed Apr 13, 2021
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

3 participants