Releases: CouncilDataProject/cdp-frontend
Shorten Long Matter Abstracts in Voting Table
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
Full Changelog: v3.2.2...v3.2.3
Fix Overflowing Matter Abstracts
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
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!
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.
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
- feature/add-catch-all-route by @NeelApte in #223
- feature/localize-date-to-instance-time-zone by @tohuynh in #214
- fix/person-roles by @tohuynh in #224
- Bump protobufjs from 6.11.2 to 6.11.3 by @dependabot in #225
- feature/matter-page by @BrianL3 in #222
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!
What's Changed
- Bump moment from 2.29.1 to 2.29.2 by @dependabot in #218
- Added new Supervisor role by @BrianL3 in #217
- fix/underline-current-page by @NeelApte in #220
- Bump async from 2.6.3 to 2.6.4 by @dependabot in #221
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!
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
- component/legislation-timeline by @BrianL3 in #208
- feature/paginate-matter-sponsor by @tohuynh in #210
- admin/upgrade-to-node16 by @tohuynh in #212
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #213
- feature/optimize-event-card by @tohuynh in #211
- component/people-page by @BrianL3 in #209
- fix/tab-rename by @nathankim137311 in #215
- fix/use-placeholderwrapper-in-person-card by @tohuynh in #216
New Contributors
- @nathankim137311 made their first contribution in #215
Full Changelog: v3.0.7...v3.0.8
Allow YouTube Links for Video Sources
Voting Record Pagination
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
What's Changed
- feature/better-bios by @BrianL3 in #176
- fix/share-event-page-modal-sizing by @tohuynh in #181
- admin/update-db-model-constants by @tohuynh in #182
- fix/search-muni-name by @tohuynh in #184
- fix/temp-remove-matter-links by @tohuynh in #185
- Bump nanoid from 3.1.30 to 3.2.0 by @dependabot in #186
- component/legislation-introduction by @BrianL3 in #192
- fix/revamp-person-page by @tohuynh in #193
- component/bill-overview by @tohuynh in #196
- bugfix/localization-updates by @BrianL3 in #197
Full Changelog: v3.0.3...v3.0.4
UX Cleanup and Minor Featurs
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
- admin/add-joss-paper-citation by @JacksonMaxfield in #129
- fix/increase-cdp-logo-res by @isaacna in #136
- admin/fix-deps by @tohuynh in #135
- feature/pass-query-to-event-page by @tohuynh in #137
- feature/improve-cards-layout by @tohuynh in #139
- fix/odd-spacing-in-content-of-filter-popup by @tohuynh in #140
- Clean Styling Imports by @ZaidKhan144 in #142
- feature/jump-to-sentence-cue by @tohuynh in #144
- fix/center-search-bar-in-homepage by @tohuynh in #145
- fix/minutes-item-expansion by @tohuynh in #146
- fix/center-the-checkmark by @tohuynh in #147
- feature/lazy-load-transcript-in-event-page by @tohuynh in #148
- feature/person-page by @BrianL3 in #122
- feature/share-event-page by @tohuynh in #149
- admin/vite-build by @tohuynh in #154
- feature/json-validation by @BrianL3 in #157
- fix/type-errors by @tohuynh in #159
- admin/remove-test-deployment by @tohuynh in #161
New Contributors
- @isaacna made their first contribution in #136
- @ZaidKhan144 made their first contribution in #142
Full Changelog: v3.0.0...v3.0.1