g0v / ly.g0v.tw

ly.g0v.tw - Congress Matters / 國會大代誌
http://ly.g0v.tw/
Other
54 stars 13 forks source link

Design a dashboard for bill #100

Open victorhsieh opened 10 years ago

victorhsieh commented 10 years ago

/me make a wish

It's hard to find out what bills were proposed recently. It would be nice if we can design some kind of bill dashboard to show, for example, what's recently be proposed, the progress, and maybe some vote results.

clkao commented 10 years ago

something like this ?

ETBlue commented 10 years ago

latest version: http://g0v.github.io/semantic-ui-experiment/ly-bill.html repo: https://github.com/g0v/semantic-ui-experiment

these mockups need to be implemented :3 :3

victorhsieh commented 10 years ago

Looks nice!

A little bit research on api.ly, it looks like at least /v0/collections/sittings/ and /v0/collections/bills/ are needed (or probably merged into a new single entry) to draw ly-bill. But what entrypoint provides "即將舉行,還剩 1 天" and "一讀通過,2 天前"?

clkao commented 10 years ago

/sittings/:id/motions should have some important bill fields joined already. /bills/:id/motions has the history (and hopefully future schedules[1]) of the bill along with time. /ttsmotions has more detailed info about motion resolutions, but is about 3 weeks late.

[1] only available for YS sittings right now, bills scheduled for committees are not integrated yet

victorhsieh commented 10 years ago

修法、臨時、公聽 這些 type 好像沒在 /sittings/:id/motions 裡面? 我還搞不太清楚整個結構

On Fri, Dec 6, 2013 at 10:28 AM, Chia-liang Kao notifications@github.comwrote:

/sittings/:id/motions should have some important bill fields joined already. /bills/:id/motions has the history (and hopefully future schedules[1]) of the bill along with time. /ttsmotions has more detailed info about motion resolutions, but is about 3 weeks late.

[1] only available for YS sittings right now, bills scheduled for committees are not integrated yet

— Reply to this email directly or view it on GitHubhttps://github.com/g0v/ly.g0v.tw/issues/100#issuecomment-29958786 .

clkao commented 10 years ago

/motitons contains 修法 only right now, 公聽 is currently available as /calendar type=hearing, 臨時 is not imported yet.

victorhsieh commented 10 years ago

Still very primitive, but here is the example so far: http://ly.g0v.tw/sittings-new/08-04-YS-13