transparentdemocracy / website

The frontend that visualizes the information obtained from the backend. Written in Angular.
1 stars 0 forks source link

Integrate with the new plenaries.json & documents.json data (improves motion-proposal-document linking) #14

Open sandervh14 opened 4 months ago

sandervh14 commented 4 months ago

There is a new update of plenaries.json ready, and a new file documents.json.

This makes a lot of improvements on the linking of motions and proposals, but we've changed the data model slightly. We've put a DocumentsReference object now in between motion and proposal objects. For motivation of that, see https://github.com/transparentdemocracy/voting-data/issues/47#issue-2313856525.

Concrete impact for you: I guess when displaying motions, you are currently fetching the linked proposal discussion's description. Now, you'll need to display instead:

Note that similarly, if you would need it, you can also navigate from motion groups to linked proposal descriptions or proposals, or from motions to linked proposals, always via the documents.

Sorry for the long text. Take a cup of coffee/tea and read at ease. I tried to make it clear so you can continue asynchronously. But I'm also OK to discuss Sunday/Monday.

:wave: