Decidim: Set-up Election on Decidim

Created on 29 Jul 2020  路  4Comments  路  Source: decidim/decidim

As a participatory space administrator I want to be able to configure the Bulletin Board from Decidim. This is split on two related issues, one for every system (this is the one for Decidim). See the other issue here: # - Set-up Election on Bulletin Board.

After all the ceremonies on a given Election are made, most notably:

  • the election was created on Decidim with the questions/answers/dates/metadata
  • the trustees roles were given on Decidim
  • the bulletin board system is configured against the Decidim installation
    then I need a way to configure all the election configuration (metadata, questions, trustees, etc) on the Bulletin Board system

This could be configured manually but that would be too risky, as lots of errors could happen if a human configure these kind of things. It's really important that after this gets configured all the admin UI should be frozen, as this could lead to syncronization errors and multiple bugs.

On this issue we'll be focused on the SENDING of the request with all the metadata, so it's focused on the Decidim part.

Mockup flow

Note:

  • Participatory space administrator is called Joan
  • Trustee is called Sandra

Acceptance Criteria

  • [x] As a participatory space administrator, I have a way for pushing all the election configuration (metadata, questions, trustees and everything necessary) to the Bulletin Board.
  • [x] As a developer I can check the POST request being made with the web developers tool to the Bulletin Board
elections e-voting

All 4 comments

@carolromero Hi! :)

As we were talking in #6362, I'm still solving the published validation for the setup page and we can do another iteration where we explicitly say that the election was already set up.

@gchacart got it! Thanks

Hi @decidim/product, this can get reviewed here. When you create a new election that fulfils all validations, you can see the newly created election inside the bulletin-board here. For example, with the following query:

query {
  elections {
    id
    title
    authority {
      id
    }
  }
}

Hi @slickepinne this is running smoothly, good job! :smile:

Was this page helpful?
0 / 5 - 0 ratings