Closed sleepyfran closed 2 years ago
I'd like to work on this. Although, I need additional info
I'd like to work on this. Although, I need additional info
@peoray great! I’ll update the description with more information as soon as I can!
Sent with GitHawk
@peoray I updated the issue with more details, tell me if you need any additional info!
I'll start working on this issue, I expect to run into bugs :), so stick around!
The Home view should start reacting to other states than success. Right now, whenever we get a response from the API, we always navigate to the Reader page; however, there are certain cases in which the community that the user wrote does not exist (the API should call onError and set the loadingStatus of the store to error) or none of the fetched post can be read in the specified time (the API should call onNoResults and set the loadingStatus of the store to noResults). We should handle these scenarios and notify the user about these cases.
We can start by proposing how to show these error messages in the UI.