politica-para-todos / ppt-website Goto Github PK
View Code? Open in Web Editor NEWPlataforma de disponibilização de programas eleitorais para eleições
License: Apache License 2.0
Plataforma de disponibilização de programas eleitorais para eleições
License: Apache License 2.0
Save name, email, event type and original_url. This event should be validated somehow before we show to our users.
We need to create the final Visual Design for the whole of the website.
Mainly we should focus on creating a color palette and finding a font that is easy to read but has no value connotation and it is neutral.
Atualmente estamos a utilizar o Trello. Mas o GitHub tem o seu próprio Trello.
Melhor do que isso, e o que me faz realmente confusão, é não saber quem está a fazer as tarefas em "Doing" no Trello. Fico com receio que estejamos mais do que um developer a programar a mesma página. No GitHub, tal como nos Issues, fazemos assign a um user do repositório e assim essa tarefa ficará delegada a essa pessoa.
Creio que facilitaria na organização de development, neste momento estou um bocado sem perceber o que é que cada um está a fazer o quê…
Hopefully a free software one :-)
Read information from https://github.com/Politica-Para-Todos/pARties and insert it into rails DB. It should be possible to run multiple times.
Depends on #16
Create page to list main and secondary candidates. Page layout very similar to the one used in party details.
Some lead candidate could have 2 pages: parlamente + biography source.
Attaching figma with design.
Attaching figma with design.
As seen on the Homepage, in Figma's design:
https://d.pr/i/QnFsYS
Depends on #57.
The goal here it to do the layout of the page and calendar using true data.
Attaching figma with design.
Maybe we can use https://ant.design/components/calendar/
Attaching figma with design.
add to seeds.rb
p = Party.create(
acronym: 'PPT',
name: 'Politica para Todos'
)
3.times do |m_index|
m = Manifesto.create(
title: "Manifesto #{m_index}",
party_id: p.id
)
for i in 1..rand(2..5) do
s = ManifestoSection.create(
manifesto_id: m.id,
position: i,
title: "Section #{i}"
)
for i in 1..rand(2..10) do
ManifestoItem.create(
manifesto_section_id: s.id,
position: i,
content: "<p>texto e texto</p>",
item_type: "ParagraphManifestoItem"
)
end
if rand() > 0.5
i_s = ManifestoSection.create(
manifesto_section_id: s.id,
manifesto_id: m.id,
position: 1,
title: "Sub Section of #{s.id}"
)
for i in 1..rand(2..10) do
ManifestoItem.create(
manifesto_section_id: i_s.id,
position: i,
content: "<p>texto e texto</p>",
item_type: "ParagraphManifestoItem"
)
end
end
end
end
Implement rails API to feed frontend pages. Rails should only return jsons and not html pages.
Properties that should be present in the response:
Currently a party
has many manifestos
, but have no information regarding in which election that party had that manifesto. Not important for this elections.
Note: Update all relevant tables.
Allowing:
Finish https://github.com/Politica-Para-Todos/pARties. It is responsible to read information from spreadsheet and markdown and expose it as an API. That API is later consumed by a script to populate our DB
Create events table with:
A ordem dos partidos a seguir é feita de forma aleatória. Sempre que voltares a carregar esta página a ordem será diferente.
Specs not defined yet, so please define it
Depends on #56.
Create a new endpoint to expose calendar event information.
Attaching figma with design.
Depends on #14, #66 (not strictly).
The idea is to do a proof of concept regarding UI of adding annotations.
Have a look in: https://genius.com/Post-malone-circles-lyrics
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.