-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "not found" messages before loading #550
Comments
Since we always carry out a fetching attempt at least once when we open an auction, my approach would be:
isFetching(): boolean {
return this.areAuctionsFetching || this.areTakeEventsFetching;
}
isFirstFetch: true;
isFetching(newIsFetching) {
if (newIsFetching) {
this.isFirstFetch = false;
}
}
<Loading v-if="isFirstFetch || isFetching" />
|
Much more simpler approach would be to set |
Well, that was my very first approach, but I refrained from it due to this point in the issue description:
However, I don't think it would function the exact same way as it does not take |
I also have an improvement suggestion: In |
Those are two sequential events. Currently, in the container, we wait for the
This is out of scope of this issue, as far as I understand. |
So, for now, I should go with this option for this issue, right? |
Yes, I think it would be ok. You just need to make sure (by reading the code and testing it for all types of auctions/vaults) that we always do those requests and clear up them to false (inside |
Goal
Not found messages in the UI no longer displayed on load.
Context
Currently,
Instead, the pages should always show loading state first or somehow indicate proper state of the auction
Please note that we once had a similar problem that was previously fixed: #90 (comment)
Assets
Tasks
The text was updated successfully, but these errors were encountered: