Giter Site home page Giter Site logo

politica-para-todos / ppt-website Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 4.0 225.83 MB

Plataforma de disponibilização de programas eleitorais para eleições

License: Apache License 2.0

Dockerfile 0.16% Ruby 27.91% JavaScript 25.89% CSS 0.17% HTML 38.19% Makefile 0.17% SCSS 7.52%

ppt-website's People

Contributors

dependabot[bot] avatar inesrosete avatar jagoncalves14 avatar joaosaro avatar jopijuco avatar jromao avatar luisiul359 avatar marado avatar nancruz avatar punnie avatar riscum avatar tofran avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ppt-website's Issues

UX - Creating the final Visual Design

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.

Criar GitHub Projects

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ê…

FE - Fix bug in program's section menu

When we are seeing a subsection I want to have the section menu open (check image below), but currently the section entry is close but have blue color..

Screenshot 2019-09-14 at 23 42 53

FE - Implement candidate list per district

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.

FE - Implement program page layout

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

Implement rails API to feed frontend pages. Rails should only return jsons and not html pages.

BE - party details API

Properties that should be present in the response:

  • name
  • description
  • acronym
  • url
  • spokesperson
  • socialMedia

BE - Create elections model

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.

BE - Create calendar related tables

Create events table with:

  • participating parties (may need a many-to-many relationship)
  • date
  • where
  • type_of_event
  • description
  • source
  • other?

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.