code4romania / code4romania/rezultate-vot-api

Referendum question should be moved to the `subtitle` field.

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
api good first issue
Dominant language
C#
Stars
6
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Using the `ballot` field for referendum questions causes some pretty bad UX, as it wasn't designed for very long text. In the original design, the referendum question was to be plugged into `subtitle` and the UI is adjusted for that.

Proposed changes:
* some shorthand should be used for `ballot`, like "Întrebare 1"/"Întrebare 2" or "Interzicerea OUG despre justiție"
* The full question text should be moved to `subtitle`
* `Validat`/`Invalidat` should be moved to a separate field in `meta` (maybe a boolean or an enum?).
* The page header should be changed to either display both `ballot` and `subtitle` in different font sizes, either only display `subtitle` and hide `ballot` when `subtitle` is present.

Examples of how it looks bad:
Screenshot 2020-10-02 at 18 08 20
Screenshot 2020-10-02 at 18 07 20
Screenshot 2020-10-02 at 18 07 33

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.