Skip to content

Releases: CouncilDataProject/cdp-frontend

Shorten Long Matter Abstracts in Voting Table

09 Mar 22:30
Compare
Choose a tag to compare

Just like v3.2.2, this is another example of long matter abstracts / titles making the voting table incredibly long. This shortens the abstracts to a set length and fills the rest with an ellipses (...).

What's Changed

  • Fixing vote table description text overflows by @BrianL3 in #261

Full Changelog: v3.2.2...v3.2.3

Fix Overflowing Matter Abstracts

09 Mar 19:41
Compare
Choose a tag to compare

On our matter history page we sometimes encounter matter abstracts / titles that are incredibly long. We now cut matter abstracts after a certain length and replace with an ellipses (...).

What's Changed

Full Changelog: v3.2.1...v3.2.2

Always Use Most Recently Generated Transcript for Event

09 Mar 19:28
Compare
Choose a tag to compare

With our recent upgrade to the Whisper Speech-to-Text model -- we have sort of deprecated the "confidence" attribute on the Transcript documents. Prior to this change, even if you had backfilled events / reprocessed events with cdp-backend v4, those transcripts might not have shown up because the transcripts were being selected using this old semi-deprecated "confidence" attribute.

We now selected the "most recently created transcript" for the event which hopefully should be the best.

!! MINOR BREAKING !! Legislation Tracking Page, Catch-all Routes, Page Speed Optimizations, and More!

07 Jun 21:26
Compare
Choose a tag to compare

This is a minor release because it includes an entirely new feature. The Legislation / Matter page! This page has full details on a single piece of legislation and can be used to navigate to the various meetings that it was discussed in.

image

⚠️ ⚠️
Unfortunately this also includes a minor breaking change but it should be easy to resolve! We now require the maintainer of the instance to add the IANA timezone string as a part of their cookiecutter setup.

You will need to go in to the cookiecutter.yaml file in the repo and add the iana_timezone key with the appropriate value.

For example here is Seattle's current cookiecutter.yaml

default_context:
    municipality: "Seattle"
    governing_body_type: "city council"
    municipality_slug: "seattle"
    python_municipality_slug: "seattle"
    infrastructure_slug: "cdp-seattle-21723dcf"
    maintainer_or_org_full_name: "Council Data Project Contributors"
    hosting_github_username_or_org: "CouncilDataProject"
    hosting_github_repo_name: "seattle"
    hosting_github_url: "https://github.com/CouncilDataProject/seattle"
    hosting_web_app_address: "https://CouncilDataProject.github.io/seattle"
    firestore_region: "us-central"

But before running the make update-from-cookiecutter command we add the iana_timezone key like so:

default_context:
    municipality: "Seattle"
    iana_timezone: "America/Los_Angeles"
    governing_body_type: "city council"
    municipality_slug: "seattle"
    python_municipality_slug: "seattle"
    infrastructure_slug: "cdp-seattle-21723dcf"
    maintainer_or_org_full_name: "Council Data Project Contributors"
    hosting_github_username_or_org: "CouncilDataProject"
    hosting_github_repo_name: "seattle"
    hosting_github_url: "https://github.com/CouncilDataProject/seattle"
    hosting_web_app_address: "https://CouncilDataProject.github.io/seattle"
    firestore_region: "us-central"

Then we can run the make update-from-cookiecutter command and the rest will be taken care of.

You can see the full Seattle deployment commit here

What's Changed

Upcoming

There is yet more work to do on the legislation tracking page but this is a big enough feature as it is right now to ship. Stay tuned!

Full Changelog: v3.0.9...v3.1.0

Minor Page Cleanups!

24 May 18:27
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @NeelApte made their first contribution in #220

Full Changelog: v3.0.8...v3.0.9

Speed Optimizations, Bugfixes, Better People Page, and more!

07 Apr 19:48
Compare
Choose a tag to compare

This version release requires an update from the cookiecutter!!!

Do not auto-accept this PR from dependabot, run make update-from-cookiecutter to pull in additional changes

The specific breaking change is that this version of the frontend library has moved from node v12 to node v16 and the cookiecutter has been updated to build and test on v16 already.

What's Changed

New Contributors

Full Changelog: v3.0.7...v3.0.8

Allow YouTube Links for Video Sources

10 Mar 03:18
Compare
Choose a tag to compare

Allow YouTube URLs to act as video sources.

What's Changed

Full Changelog: v3.0.6...v3.0.7

Voting Record Pagination

10 Mar 03:14
Compare
Choose a tag to compare

As more and more data has been added to and processed by our Seattle production instance we noticed that an individual person's voting record was unable to load (and drastically slowed page render) because of how many votes we now have in the database.

This fixes the voting record by paginating votes. Additionally, voting records now have some sort of grouping. The user can't change the grouping but votes are now always grouped by event, so if 10 votes all occurred in the same event, they will all be grouped together in the voting record.

More options for filtering and sorting and ordering to come.

Additionally app localization has been added but still needs some minor positioning work. However it is in! While the data in the instance is still only in English, this does hint at our goal of being able to fully support multi-language data.

What's Changed

Full Changelog: v3.0.5...v3.0.6

Person Page, Bug Fixes, and Legislation Progress

14 Feb 02:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.3...v3.0.4

UX Cleanup and Minor Featurs

06 Jan 04:26
Compare
Choose a tag to compare

On our way to an "official" release of v3, this is a patch that brings with it a lot of bug fixes and and some minor features (share at timepoint, better minutes items descriptions, etc)

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.0.1