You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an organization admin, I want to be able to reuse the previous census on the voting process page.
Context
Inside the voting process flow add a component to save the current CSV census and name it. Also, have a dropdown menu with the saved previous census files names.
Store in the local storage the: URI of IPFS and the filename.
Action Points
Add a new “Store census” component in the voting flow (the user will be able to choose the census name)
Create a new Obejct list attribute in the IndexedDB Entity Accounts (dexie local storage) to store censuses that will contain the following info:
{
[censusName:string] : { //censuName received from the ui
"censusOrigin": ProcessCensusOrigin // received from GW
"censusRoot": string (hex 0x....) // received from GW
"censusURI": string (i.e. "ipfs://....") // received from GW
}
]
Create Dexie wrappers for census in use-db-accounts.tsx hook (getAccountCensuses, setAccountCensuses)
Add a new “Load previous census” component in the voting flow
The census file should be stored in the localStorage only if the voting process is created.
The text was updated successfully, but these errors were encountered:
Description
As an organization admin, I want to be able to reuse the previous census on the voting process page.
Context
Inside the voting process flow add a component to save the current CSV census and name it. Also, have a dropdown menu with the saved previous census files names.
Store in the local storage the: URI of IPFS and the filename.
Action Points
use-db-accounts.tsx
hook (getAccountCensuses, setAccountCensuses)The text was updated successfully, but these errors were encountered: