veritus / veritus-web

Frontend
https://deploy-preview-32--announcer-tachometer-25258.netlify.com/
2 stars 0 forks source link

Get all parliaments and list them #16

Open AriHrannar opened 7 years ago

AriHrannar commented 7 years ago

Use the parliaments webservice and not parliament sessions

skabbi commented 7 years ago

@AriHrannar what does "parliaments" mean in this context? Parliament members?

AriHrannar commented 7 years ago

Each Parliament lasts 4 years (when we vote).

Each Parliament is then divided into X amount of ParliamentSessions(Ísl: Löggjafarþing. Currently Löggjafarþing 146 is in motion). Maybe 4 each Parliament? Im not entirely sure. We have had 1 or 2 since the last election.

Each Parliament will have 63 ParliamentMembers (those we voted in) and an X amount of secondary members (something I just learned recently!) which jump in and vote on stuff / present stuff when the elected ParliamentMembers cant do it.

During each ParliamentSession there are Cases presented by the ParliamentMembers. This might be new tax laws, the budget plan or whatever they discuss on Althingi.

So to be able to have the platform running for multiple years, we need to be able to classify where in time each Case was presented. That means knowing what ParliamentSession it was created in and what Parliament that ParliamentSession exists in.

So this is more of a historical feature, to be able to go back in time and see f.x. where each ParliamentMember ranked.

The platform should always display information on the currently active Parliament but as I said earlier, it might be useful to go back in time to see some data.

This isnt a required feature for the first version of the platform, just an idea I had.

@Ragnar-H maybe nice if you read this as well, not sure if we have discussed this before :)

Ragnar-H commented 7 years ago

👀 Thanks for the ping

I agree that this might be interesting to have, and I further agree that this doesn't need to be in the MVP.

But let's say we don't support this in the first version, do you have a gut feeling for how difficult it is to migrate the data? The reason for asking is if it is nigh-impossible, then we should support this right away

AriHrannar commented 7 years ago

The data should already reflect the structure that I mentioned.

The webservices however just fetch ALL cases / promises right now.

So in terms of support, we would just have to add a query parameter to the webservices I think!

skabbi commented 7 years ago

Thanks for the excellent explanation @AriHrannar. Definitely not something that needs to be part of an MVP, but would be a great feature for when there is a parliament change after this project goes live.