Example: As a user creating a colony, I want to see a visual indicator of activity/loading, so that I know I should wait for it to finish
Description
Example: During the colony creation wizard, there is an activity indicator for pending transactions, but there is no indicator of other async operations (e.g. for the DDB) in between these transactions. It's important that the indicator remains visible until all async activity is finished, because otherwise the user has no feedback that they're waiting for something to finish; they might leave the wizard or refresh the page, leading to frustration.
[ ] The activity indicator for the TransactionStatus component is shown during any and all async waiting
[ ] The indicator is hidden when async waiting finishes (either successfully or unsuccessfully)
Suggestions (optional)
Example: It's probably a good idea to keep the transaction state separate from other async actions that relate to them; i.e. either adding an extra transaction status, or keeping the transaction as PENDING while other async activity finishes would probably lead to some confusion and unintended side effects. Perhaps component state would be a more suitable starting point.
Subtasks (optional)
[ ] Create a prop (e.g. with component state) which indicates either a transaction is pending, or async activity is in progress related to that transaction, in the context of the wizard
[ ] Pass down a prop to the TransactionStatus component
[ ] Adjust the TransactionStatus component such that it shows the indicator with the given prop
// TODO: WRITE STORY
Specification
Story
Example: As a user creating a colony, I want to see a visual indicator of activity/loading, so that I know I should wait for it to finish
Description
Example: During the colony creation wizard, there is an activity indicator for pending transactions, but there is no indicator of other async operations (e.g. for the DDB) in between these transactions. It's important that the indicator remains visible until all async activity is finished, because otherwise the user has no feedback that they're waiting for something to finish; they might leave the wizard or refresh the page, leading to frustration.
Design
Figma link
Image
Implementation
This issue is complete when...
TransactionStatus
component is shown during any and all async waitingSuggestions (optional)
PENDING
while other async activity finishes would probably lead to some confusion and unintended side effects. Perhaps component state would be a more suitable starting point.Subtasks (optional)
TransactionStatus
componentTransactionStatus
component such that it shows the indicator with the given prop