Skip to content

Detect if poll is finalized and update UI #47

@JohnGuilding

Description

@JohnGuilding

Currently, the frontend has an explicit button for finalising the poll. This can be called by anyone so it does not have proper access control, and it is bad UX. We will update the coordinator service to automatically listen for onchain events so it can finalise the poll without manual user input. After this change is made on the coordinator side, we should update the frontend to:

  1. Remove finalize button
  2. Automatically listening for finalisation and updating the UI once finalised
    2a. show helpful message/componenet informing the user about what is happening
    2b. show execute button once finalised

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions