-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is a continuation of PR #68
TODOs
- Handle user leaving current page
- Send request (beacon) when leaving page to tell the server a user has left, so a new seat should be available if it was taken and not fulfilled
- To handle beacon send failures and leaving the server in an uncertain state, the server should have a counter of leased seats there are
- Send request (beacon) when leaving page to tell the server a user has left, so a new seat should be available if it was taken and not fulfilled
- Allow to return to an ongoing shared election if page was closed
- In this special case, the shared election code should be added to the data
- When loading that data with a shared election code, delete the code from the data
- Verify to not take another seat when loading the election if a seat was already taken
- Add loading icon when making request
- Add request errors handling
- If election not reachable, propose to do it locally instead
- If election already ended, propose to either go to results or to do this saved election locally
- The option to go to the results would be the primary action
- Allow post-shared-election-view to force a seat to be freed
- This would be helpful if a device that had a seat simply dies or skips locally.
- The action would always be enabled, as there may be a complete internet outage for one of th devices that had its seat locked locally, so the server may not know that the seat can be leased. The assumption is therefore always allow leasing under your own risks.
- Add a confirmation that explains that this action is dangerous
- The severity if the server knows there are at least one leased seat is less severe, but still warn user
- The severity if the server thinks there are no leased seats is very high, as there might be other voters currently in progress
- Add request errors handling
- If errors, mentions that you can simply go to current local data, mentionning that verifying will also download the latest candidates data
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels