Evotings Simulation User Stories
===
###### tags: `e-voting`
[TOC]
# Estats
:::danger
Encara cal refinar
:::
:::warning
Aniria fora dels desenvolupaments actuals
:::
:::success
Es troban refinades abaix. Cal revisar, corregir i pujar al GitHub.
:::
:::info
Ja es troba amb un PR o un issue creat a GH
:::
# Revisión Product
## 1. In person voting and bulletin board
:::warning
Aquesta entenc es un canvi important i aniria fora dels desenvolupaments actuals, encara que la veig interesant i necessaria
:::
Si la votación es en persona, no se necesitaría un BB, pero aún así es necesario para configurarla. Por tanto, tiene sentido esta opción? O solo la opción de híbrida y online?
## 2. ~~Mismatch between votings and elections dates~~
:::info
Afegit en https://github.com/decidim/decidim/issues/6624
:::
* El espacio de Votings tiene unas fechas de inicio y fin, y las Elections dentro de ese espacio pueden tener unas fechas totalmente diferentes.
## 3. ~~Election dashboard misinformation with questions~~
:::info
Issue a GH **Ref. V-SIM.04**
:::
* Cuando se crea un componente de Elections, en el dashboard aparece como chequeado el paso de crear una pregunta, y no lo está.
## ~~4.Description field in Questions isn't used~~
:::info
Reportada abaix **Ref. V-SIM.06**
:::
* El campo "Description" de una pregunta no se muestra en ningún sitio.
## ~~5. Election not published even if its published~~
:::info
Reportada abaix **Ref. V-SIM.07**
:::
* ¿Por qué no se publica una Election si la publicas?
---
# Issues informe FiG
## 1. ~~Can I vote tab~~
:::info
Issue a GH (**Ref. V-SIM.01**)
:::
~~**Is your feature request related to a problem? Please describe.**~~
~~The 'Can I vote' tab does not appear as a component in the Administration Panel, so it is always visible and cannot be hidden. It would need to be hidden at certain moments (e.g. when the page is already public but the census has not yet been loaded).~~

~~**Describe the solution you’d like**~~
~~**Additional context**~~
~~Add any other context or screenshots about the feature request here.~~
## 2. ~~Modify the message that appears in the 'Can I vote' section when you enter data that are not in the census.~~
:::info
https://github.com/decidim/decidim/pull/9112
:::
~~Change 'Your census data are not correct' for a more neutral formulation, e.g.: 'The data you have entered are not in the census for this vote'. Also, remove the period at the end of the e-mail.~~

## ~~3. Trustees tab in the admin panel~~ (already reported)
:::info
https://github.com/decidim/decidim/issues/8188
:::
~~In the 'Administration Dashboard', once inside the voting process, the 'Trustess' tab only appears when the administrator clicks on the 'Elections' component.
the 'Trustees' tab only appears when the administrator clicks on the voting component, otherwise the 'Trustees' tab disappears.)~~

## ~~4. No notification for new assigned trustees~~
:::info
https://github.com/decidim/decidim/pull/9100
:::
~~There is no automatic sending of informative mail when a person is assigned as trustee of the vote.~~
## 5. ~~Key Ceremony~~
:::info
Issue a GH **Ref. V-SIM.05**
(no estic 100% segur que sigui el mateix error pero es que amb tan poca informació no sabria quin es el problema sense veure la consola de JS)
:::
~~At the time of the Key Ceremony, some trustees have not been able to complete the Ceremony, for reasons that have not been identified. Both in the component of the Administration Dashboard as well as in the Guarantor Zone of 'My Account', the process is paralyzed for no apparent reason. With other emails the Ceremony process has been successful.~~

## 6. Access codes generation
:::warning
alguna proposta per simplificar-ho?
---
spam folder no es pot fer res, aixo del sistema de correus
---
es deixa per revissio UX amb populate (contracte PX)
:::
The code generation process is complex and unintuitive. The administrator who generates the codes is the one who receives the warning email (which usually goes to the spam folder).
## 7. Individual codes
:::danger
to be refined
:::
To generate the individual codes you need to open another tab, it does not work if you select it directly.
## 8. BUG exporting survey results
:::warning
Si es del component de Survey aniria fora d'aquest desenvolupament. En aquest cas fins i tot no es tracta de la survey de feedback del voting si no d'una espeficia per recollir bugs dintre del voting.
---
dit aixo, la unica manera que vaig poder reproudir aixo es obrint l'enllaç amb una pestanya nova - ho reporto igual, pero estara fora del desenvolupament
:::
An error occurs when exporting the results document of the 'Survey' component. Survey' component. The results can be consulted on the platform, but cannot be exported.

## 9. ~~Time zone check~~
:::info
https://github.com/decidim/decidim/issues/6624#issuecomment-1082816023
:::
~~Before configuring the voting, it is necessary to check the time zone of the platform (Administration board - Settings - Time zone). (Administration board - Configuration - Time zone), since if this is not the one corresponding to the corresponding to the place where the process takes place, all the established times will be incorrect.
incorrect.~~
## 10. Blank vote confusion
:::info
Reportada a GH **Ref. V-SIM.08**
:::
It is necessary to clarify the concept of blank vote: on the one hand you can enable the preconfigured answer option 'Blank/none of the above'.
When doing the tally, it also allows you to indicate blank ballots. Given this fact, it is not clear whether blank votes should be indicated as an answer option or whether the ballot should be counted as a blank vote.

## 11. Darrer vot
:::warning
per temes de secret de vot i cohersio no podem fer aixo que diu - com a maxim explicar-ho millor abans o després de votar i/o a l'admin també: "You can vote anytime you want and your last vote will be the valid"
--
---
es deixa per revissio UX amb populate (contracte PX)
:::
Caldria que l’administrador pogués deshabilitar la possibilitat de votar diverses vegades, de tal manera que cada persona inscrita al cens només pogués fer una vegada. (tinc dubtes sobre si ja es pot fer). En el cas d’habilitar la possibilitat de votar diverses vegades, caldria incorporar un missatge indicant al participant que ja ha votat i que si ho torna a fer només serà comptabilitzada l’últim vot emès.
## 12. ~~Read more~~
:::info
https://github.com/decidim/decidim/pull/9103
:::
~~In the process information tab, it is not possible to read the description of the vote without clicking on 'Read more'. without clicking on 'Read more'. It would make sense that as soon as you enter, you can read at least the first paragraph of the text, and the rest the first paragraph of the text, and the rest of the text would be displayed when you click on 'Read more'.~~

## 13. BUG
:::danger
to be refined
:::
If the participant has voted online and then tries to vote in person, the platform does not indicate that he/she has already cast a vote online. On the contrary, once the data has been entered, a message appears indicating that the person has not voted.
It should indicate that the person has already cast a vote, to remind the participant and confirm that he/she does indeed want to vote again.

## 14. Correct date formatting in the voting tab
:::info
https://github.com/decidim/decidim/pull/9104
:::

## 15. Excepció javascript / xifrant el vot
:::info
Issue a GH **Ref. V-SIM.02**
:::
En diverses ocasions, els usuaris han notificat que una vegada realitzada la votació
virtualment, la pàgina es penja amb el missatge ‘La teva papereta s’està xifrant per a---
garantir el secret de vot’. Aquesta incidència s’ha detectat amb navegador Firefox (en
els casos en els quals tenim informació sobre el navegador utilitzat).
> Es detecta un problema a la consola de javascript: Error: Traceback (most recent call last): File "/lib/python3.8/site-packages/pyodide/_base.py", line 70, in eval_code eval(compile(mod, "<exec>", mode="exec"), ns, ns) File "<exec>", line 3, in <module>
> File "/lib/python3.8/site-packages/bulletin_board/electionguard/voter.py", line 85, in encrypt selections: List[PlaintextBallotSelection] = [ File "/lib/python3.8/sitepackages/bulletin_board/electionguard/voter.py", line 87, in <listcomp> selection, False, selection.object_id in ballot[contest.object_id] KeyError: 'question-24' Tinc el mateix
> problema amb Chromium - Versión 98.0.4758.80 (Build oficial) Arch Linux (64 bits)
## ~~16. More information shown when there isn't any more information~~
:::info
https://github.com/decidim/decidim/pull/9099
:::
~~The 'more information' link, which appears in each answer option, should not be visible if there is no additional information to add.~~

## 17. Dubtes codi verificació vot
:::danger
to be refined
:::
S’han generat dubtes sobre el codi que cal utilitzar per a la verificació del vot emès (codi personal per a votar o codi del vot emès), potser caldria revisar informació a la plataforma amb relació a aquest pas.
## 18. ~~'Cast ballot' button~~
:::info
https://github.com/decidim/decidim/pull/9098
:::
~~Some confusion was detected during the step of sending or auditing the vote. Some participants thought it was necessary to click on 'Cast ballot' to cast the vote.~~

## ~~19. Once voting is closed, the voting information page is not accessible.~~
:::info
Issue a GH **Ref. V-SIM.03**
:::

## 21.
:::info
Issue a GH **Ref. V-SIM.02**
:::
~~Es detecta que, en escollir l’opció de vot en blanc a la butlleta, el sistema no envia la informació al servidor del butlletí.~~
~~Python exception: pyodide.asm.js:8:57353 Traceback
(most recent call last): pyodide.asm.js:8:57353 File "/lib/python3.8/site-packages/pyodide/_base.py", line 70, in eval_code pyodide.asm.js:8:57353
eval(compile(mod, "<exec>", mode="exec"), ns, ns) pyodide.asm.js:8:57353 File
"<exec>", line 3, in <module> pyodide.asm.js:8:57353 File "/lib/python3.8/sitepackages/bulletin_board/electionguard/voter.py", line 85, in encrypt pyodide.asm.js:8:57353 selections: List[PlaintextBallotSelection] = [pyodide.asm.js:8:57353 File "/lib/python3.8/sitepackages/bulletin_board/electionguard/voter.py", line 87, in <listcomp>
pyodide.asm.js:8:57353 selection, False, selection.object_id in ballot[contest.object_id]
pyodide.asm.js:8:57353 KeyError: 'question-22'~~
-----
# Histories refinades
## "Can I vote" tab admin vissibility
Ref. V-SIM.01
https://github.com/decidim/decidim/issues/9124
---
## Process hangs when voting "NOTA" explicit option
Ref. V-SIM.02
https://github.com/decidim/decidim/issues/9123
---
## Votings page returns 404 when voting has ended
Ref. V-SIM.03
https://github.com/decidim/decidim/issues/9122
---
## Wrong information in steps Election management
Ref. V-SIM.04
https://github.com/decidim/decidim/issues/9121
----
## Unexpected token k JS exception during Key Ceremony
Ref. V-SIM.05
https://github.com/decidim/decidim/issues/9120
---
## Question description isn't used in Elections
Ref. V-SIM.06
https://github.com/decidim/decidim/issues/9128
---
## Election not published even if its published
Ref. V-SIM.07
https://github.com/decidim/decidim/issues/9129
----
## Invalid sum in Montitoring Comittee Voting summary
Ref. V-SIM.08
https://github.com/decidim/decidim/issues/9130
---
## Template
Ref. V-SIM.XX
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Stacktrace**
If applicable, add the error stacktrace to help explain your problem.
**Extra data (please complete the following information):**
- Device: [e.g. iPhone6, Desktop]
- Device OS: [e.g. iOS8.1, Windows 10]
- Browser: [e.g. Chrome, Firefox, Safari]
- Decidim Version: [e.g. 0.10]
- Decidim installation: [e.g. MetaDecidim]
**Additional context**
Add any other context about the problem here. For instance, add Metadecidim link.