Giter Site home page Giter Site logo

opora / publicwhip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openaustralia/theyvoteforyou

16.0 16.0 1.0 25.36 MB

Helping you find out if your MP represents you by analysing their votes in Ukraine's parliament for you.

Home Page: https://rada4you.org/

License: Other

Ruby 69.06% CoffeeScript 0.49% JavaScript 1.19% CSS 0.44% HTML 1.33% Puppet 0.87% Shell 0.42% SCSS 3.11% Haml 23.09%

publicwhip's People

Contributors

beastie87 avatar benrfairless avatar damncabbage avatar danielkinsman avatar djm4 avatar equivalentideas avatar henare avatar kat avatar katska avatar katybairstow avatar keithpitty avatar lukesampson avatar mlandauer avatar novemberkilo avatar pwaring avatar rbairwell avatar srushe avatar tmtmtmtm avatar tracymu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

a-b

publicwhip's Issues

[translation] Policies Політики

Policies Політики

(https://theyvoteforyou.org.au/policies)

English Version

Ukrainian Version

Notes

Policies

Policies are a group of votes which, taken together, indicate a particular stance on an issue. You can research and create your own.

Політики

Політики - це перелік  голосувань за законопроект/пакет пов’язаних законопроектів, які у сукупності виступають за впровадження у дію конкретної позиції з певного питання. Ти можеш запропонувати свою власну політику.

New policy

Нова політика

Not a priority for Opora right now for other people to propose policies? (see #27 )

X divisions

X голосувань

X votes

edited X months ago

редаговано Х місяців тому

edited about X ago

редаговано близько Х років тому

See also draft policies

Дивитись проекти політик

Not a priority? Yes (see #27 )

TODOs

No small images available

theyvoteforyou.org.au uses images hotlinked from openaustralia.org.au. We have two sizes available, they're roughly:

  • 44 x 58
  • 88 x 115

For Ukraine we're currently hotlinking the Rada's image. These are all 150 x 200.

See also #7.

[translation] Specific policy page Окремі політики

Specific policy Окремі політики

(e.g. https://theyvoteforyou.org.au/policies/3)

English Version

Ukrainian Version

Notes

Subscribe

Підписатись

X subscribers

Х підписників

X shares (Facebook Twitter)

Х поширень

Edit / New policy

Редагувати/Нова політика

Not a priority (see #27 )

X relevant divisions

Х відповідних голосувань

X relevant votes

Voted very strongly/strongly/etc.

see table above

Same as in table above, right?

No: above -in  single, here - in plural form

Relevant divisions

Відповідні голосування

Relevant votes

See detail

Детальніше

Division

Голосування

Vote

Supporters vote

Хто підтримав

Not applicable?

Division outcome

Результати голосування

Vote outcome

If you know of other divisions that relate to this policy, you can add them in the Votes section of that division‘s page.

Якщо ви знаєте інші голосування, що відносяться до цієї політики, ви можете додати їх у розділ Голосування.

Link to a mailto to send opora the information? (see #27 )

Yes

Switch to localised views & use GetText for other string translations

So that we can still run the PHP regression tests and to make a future merge with upstream less painful, I've decided to switch to using localised views.

Where appropriate, to translate strings, we should use GetText as it means smaller changes to the code (i.e. the English string basically stays in place). We'll use this where it makes sense, e.g. view helpers where the string has a pretty clear equivalent in Ukrainian.

Extract server provisioning into its own repository

I've had more of a think about the Ansible server provisioning code. I think we should move it into its own repository so that its not so tied up in upstream. There are two important benefits to doing this:

  • OPORA can make changes to their server completely independent to the codebase. So if they decide to deploy another application to the server or move the server, none of that ever need be merged into upstream
  • And it also makes it much easier for the changes we've made so far to be merged into upstream and for that to continue to happen as much as possible

Some other OAF projects have the server provisioning code in their repositories (morph.io and Cuttlefish). However these typically run as hosted projects and have not been seriously deployed elsewhere, as this project is about to be.

[translation and change] MP Policy Page

MP Policy Page

(e.g. https://theyvoteforyou.org.au/people/representatives/grayndler/anthony_albanese/policies/3)

English Version

Ukrainian Version

Notes

How <Name> voted compared to someone who believes that <description>

Як <Name>голосував у порівнянні з <Name>, який вважає, що <description>

How <status> is worked out

Як <status> була розроблена

Need to flesh out how to calculate this weighted average for Ukraine, then update the text.

[translation] Votes (Divisions) page/ Голосування

Votes (Divisions) page/ Голосування

(https://theyvoteforyou.org.au/divisions)

English Version

Ukrainian Version

Notes

Divisions <year>

In the Australian Parliament a vote is called a division. Through these votes, elected members shape legislation that affects us all.

Голосування в парламенті- 2015

За допомогою цих голосів, народні обранці приймають закони, що впливає на всіх нас

Parliamentary Votes 2015

Through these votes, elected members shape legislation that affects us all.

Learn more...

Дізнатися більше...

Sorted by

  • Date
  • Attendance
  • Rebellions
  • Alphabetically

Сортувати за

● Датою

● Відвідуваністю

Дотриманням фракційної дисципліни

● Алфавітом

Remove the concept of free votes

#33 mentions that free votes don't exist in the Rada and then adds a question in the notes:

English Version Ukrainian Version Notes
Free votes n/a . not exist in Ukraine does this concept exist in Ukraine?

We need to clarifty whether or not free votes do exist and if not, remove them.

Organise a server

Now that we are starting to see data in the site it would be really useful to have the server available so we can all see the progress.

Add more supporting orgs

On the They Vote For You front page we have a long list of supporting orgs from all around. This demonstrates that this is a broad international movement for parliamentary openness and adds credibility to the project.

Currently, in the google doc, this project has:

  • NDI
  • USAID
  • Open North
  • OpenAustralia Foundation

I'm sure many of the groups that supported They Vote For You would want to support this project as well. If this is something OPORA would like to do, you can find links to all those groups with their logos in the list on https://theyvoteforyou.org.au @mmitre @lisoffsky @jnlandry

Use vote_event result from Popolo data

Currently TVFY calculates if a vote has passed or not. In Ukraine the number of votes required to pass something depends on the type of vote, e.g. procedural votes require less of a majority (I think??).

The scraper collects the result from the Rada so we should use that instead of calculating it ourselves.

When are votes uploaded to the Rada website?

In Australia the Hansard is usually posted on the official website by the next morning. OpenAustralia.org.au scrapes it around 09:00 and then we import that into TVFY around 10:00.

What's it like with the Rada?

I'm interested as this will impact when and how we schedule the jobs to do the import.

Searching for MP who's changed faction shows two different entries

In the main page, search for гопко to find Hanna Hopko, who recently was removed from her faction.

The result page shows two different entries, one for her as a member of the Samopomich faction, one as her as a non-faction MP.

Should only the active entry (e.g. non-faction) be shown here?

Set up domain/DNS

Once we've decided on a name we need to decide on a domain. If it's not a subdomain we need to buy it. And we need to set up DNS.

Should we copy the Rada's photos somewhere?

Currently we're hotlinking to the Rada's images of people. Is this what we want to do or do we want to get a copy ourselves?

theyvoteforyou.org.au uses images hotlinked from openaustralia.org.au (which are downloaded from the parliament's website).

[translation] Individual MP/Особисті сторінки депутатів

Individual MP/Особисті сторінки депутатів

(e.g. https://theyvoteforyou.org.au/people/representatives/warringah/tony_abbott)

English Version

Ukrainian Version

Notes

X Party Representative for State Y

представник фракції Х від області Y (партії Z)

[X Faction Deputy for Oblast Y (or party list Z)]

X Faction Deputy for Oblast Y (or party list Z)

since <date>

з <date>

is it here where we add information about faction switches?

Never rebels

100% фракційна дисципліна

Rebels X% of the time

Проти фракції у X% випадків

X% Attendance

 X% Відвідуваність

Speeches in Parliament

Виступи в парламенті

X shares (Facebook Twitter)

Х поширень (Facebook Twitter)

How do they vote?

Як вони голосують?

Voted very strongly for

Максимально голосує/голосують (second version - ‘голосують’ for Specific policy below) за

Voted strongly for

Послідовно голосує/голосують за

Voted moderately for

Переважно голосує/голосують за

Voted a mixture of for and against

Голосує/голосують змішано за, та проти

Voted moderately against

Переважно не голосує/голосують за

Voted strongly against

Послідовно не  голосує/голосують за

Voted very strongly against

Максимально не голосує/голосують за

Has never voted on

Ніколи не голосує/голосують за

Something not right?

Щось не так?

Please note that our voting records start in <year>.

Зверніть увагу, що моніторинг голосувань розпочато у <рік>

Rebel votes

Голосування проти лінії фракції

<Name> has never voted against the majority of their party since February 2006.

<Ім'я> ніколи не голосував проти лінії фракції з <year>  

<Name> has voted against the majority of their party 6 times since entering Parliament in March 2009.

<Ім'я> голосував проти  лінії фракції  Х разів з часу набуття депутатських повноважень у <year>  

explain rebellions

що таке “голосування проти лінії фракції”

Free votes

n/a . not exist in Ukraine

does this concept exist in Ukraine? (see #35)

<Name> has taken part in 6 free votes since February 2006.

ditto

ditto

explain “Free Votes”

ditto

ditto

<Name> voted <status> in this free vote

ditto

Passed by a small/large majority

Прийнятий з малою/абсолютною підтримкою

Not passed by a small/large majority

Не прийнятий з малою/абсолютною підтримкою

data/time format, e.g.

16th Feb 2006, 12:54 PM

16.02.2006, 12:54 (if PM)/00:54 (if AM)

Recent Votes

Recent votes in parliament that this Representative could have attended.

Останні голосування

Останні голосування у парламенті, в яких депутат міг взяти участь.

<Name> was absent.

< Name> був відсутній

No rebellions

Ніколи не йшов проти лінії фракції(100% фракційна дисципліна)

View all votes

Дивитись всі голосування

Possible Friends

Shows which Representatives voted most similarly to this one in the Parliament. This is measured from 0% agreement (never voted the same) to 100% (always voted the same). Only votes that both Representatives attended are counted. This may reveal relationships between Representatives that were previously unsuspected. Or it may be nonsense.

Друзі по голосуванню

Тут перераховані депутати, що голосують подібно.

Вимірюється від 0% (ніколи так не голосував) до 100% (завжди голосував так само). Враховані лише ті голосування, на яких були присутніми обидва депутати.  Таким чином, можна виявити неочікуваний зв’язок між політичними позиціями  депутатів

Agreement

Name

Electorate

Party

% Спільних голосувань

Депутат

Область/Партійний список [Oblast / Party List]

Фракція [Faction]

Agreement

Name

Oblast / Party List

Faction

More possible friends

Більше друзів по голосуванню

[Translation] Menu Меню

(e.g. on https://theyvoteforyou.org.au/)

English Version

Ukrainian Version

Note

They Vote For You

Вони голосують для тебе

What will be the site’s brand in Ukrainian?

People

Депутати

Deputies?

Policies

Політики

Divisions

Голосування

Votes?

About

Про нас

Log In

Увійти

Not sure if this is a priority feature at this stage, unless it’s for Opora staff to update policy info, etc.

Sign up

Ditto

Search

Пошук

TODO

Handle faction changes during a day

Sometimes when someone changes faction the day overlaps on the Rada website. This indicates that at some stage in the day the person changed faction.

For instance, this person changes from Група "Відродження" to Група "Партія "Відродження" on 2015-06-17. If you look at a vote at the start of the day they're with the first faction and by the end of the day they're with the latter faction.

In Popolo (and TVFY) we don't currently handle this and AFAICT there's currently no way to express this in Popolo. Ping @jpmckinney?

[Translation] Main Page Головна

English Version

Ukrainian Version

Notes

How does your MP vote on the issues that matter to you?

Як депутати голосують за питання, які важливі для тебе?

Find your representative by name

Знайди свого депутата за ім’ям

Not using postal code, correct? Don’t think we have the mapping, and it would be an issue for list MPs

Discover & Share

Discover how your representatives in parliament vote on issues you care about. You might be surprised by what you find. Share this with others and spread the word.

Дізнатися і поділитися

Дізнайся, як народні обранці голосували у парламенті за проекти рішень, які важливі для тебе. Це може тебе здивувати. Поділися з іншими, поширюй правду.

Make it better

People like you are making votes in Parliament easier to use by summarising divisions and editing policies, just like Wikipedia. Fix-up mistakes or add something new—if you see something, do something.

Not a priority feature, correct?

Use the data

This is a free and open source public resource. Everything here can be reused in your own project. Use our API to remix, play and tell your stories about how they vote to change our laws.

Використовуй дані

Цей ресурс є  безкоштовним, з відкритим вихідним кодом. Всі дані можуть бути використані повторно. Використовуй наш API (інтерфейс програмування додатків) та  розкажи свою історію.

Is the API something that OAF would expose for the site?

Supporting organisations of this OPORA project (NDI, USAID, Open North, Open Australia Foundation?)

Партнери ОПОРИ у цьому проекті (NDI, USAID, Open North, Open Australia Foundation)

An OPORA project

Проект Громадської мережі  ОПОРА

Links:

  • Contact  
  • Twitter  
  • Facebook
  • About
  • Help/FAQ
  • Recent changes
  • API

Посилання:

     Контакти

     Twitter

     Facebook

     Про нас

     Допомога/FAQ

     Останні зміни

  • API (інтерфейс програмування додатків)

This data and software are free and open source

Усі дані та програмне забезпечення надаються з відкритим вихідним кодом та є вільними для поширення

report an issue

Повідомити про проблему

[Translation] People Депутати

(e.g. https://theyvoteforyou.org.au/people)

This is the main template https://github.com/OPORA/publicwhip/blob/develop/app/views/members/index.html.haml

English Version

Ukrainian Version

Notes

Representatives and Senators

Народні депутати України

People’s Deputies

The people who vote on your behalf in Parliament

Народні представники, ті, хто голосують від твого імені у парламенті

All

Representatives

Senate

Всі

Мажоритарники

За партійними списками

All

Single-Mandate

Party Lists?

Sorted by…

  • Name
  • Electorate / State
  • Party
  • Rebellions
  • Attendance

+

  • Faction
  • Way they were elected (Single-Mandate/Party List)

Сортувати за ...

● Ім'ям

 Областю

● Партією

Дотриманням фракційної дисципліни

● Відвідуваністю

+

● Фракцією

● Способом обрання (мажоритарники/за списками)

Sorted by…

  • Name
  • Single-Mandate/Party List (?)
  • Oblast
  • Faction
  • Rebellions
  • Attendance

X Party Representative for State Y

 представник фракції Х від області Y (партії Z)

[X Faction Deputy for Oblast Y (or party list Z)]

X Faction Deputy for Oblast Y (or party list Z)

Never rebels

100% фракційна дисципліна

[against faction, not party]

Rebels X% of the time

Проти фракції у X% випадків

X% Attendance

 X% Відвідуваність

Translate '1000 shares' to Ukrainian

screen shot 2015-11-12 at 4 51 01 pm

When there are no shares, the text just reads 'Share'. This text is in the social_share template and can be translated there. The text 'x shares' comes from a javascript file shareCount.js.

Maybe we could specify the noun version 'shares' in a data attribute on the .social-share-heading element, and then do the translation there using our normal template system?

We need Ukrainian translations for:

  • "Share" as a verb
  • and "X shares" as a noun. This is "X поширень" , according to #33

Add equivalent text for "Please note that our voting records start in 2006."

On They Vote For You, at the bottom of an MPs voting record we say "Please note that our voting records start in 2006." This is because some MPs have been in Parliament longer than we have data for, so they might have voted differently before that and it wouldn't be reflected in the voting record we present.

screen shot 2015-11-12 at 5 13 43 pm

Do we need to say anything like this for the Ukrainian version of the site @mmitre @lisoffsky @jnlandry ? Something like 'Please note that our records only start in 2015'? What would be helpful to people reading this?

Remove search by postcode

Not using postal code, correct? Don’t think we have the mapping, and it would be an issue for list MPs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.