Skip to content

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

Compare
Choose a tag to compare
@evamaxfield evamaxfield released this 07 Jun 21:26
· 41 commits to main since this release

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