-
Notifications
You must be signed in to change notification settings - Fork 16
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(signin-loading): removed auth middleware #4936
Conversation
since the last deploy i haven't had that linking issue |
c63f5a3
to
cb49ce7
Compare
cb49ce7
to
9ce03d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we reuse the same logic we did here instead? when we were using solana, we added a modal that would appear after 30s, can we reuse that but for the nodes timeout? |
oh yeah, didn't noticed when refreshing, this happens the first time you open the app. |
9ce03d8
to
3b1aea8
Compare
is this ready to review again? @ThomBos π¨ |
2f295ca
to
7d60d84
Compare
yes, check if you see any issue π |
7d60d84
to
5f37ffc
Compare
Everytime we call "loadaccount" the catch is necessary, that's why that pasted code can't be removed. Maybe making changes on Global.vue allows code to be removed from layouts components π |
Why do we want to ditch the middleware? Any particular reason? |
@aewing was it to make it more simple, or you had something to integrate? |
c89eac9
to
cd82be8
Compare
Can tell you it didn't change when putting this code in Global.vue |
cd82be8
to
6d1d7b6
Compare
We see some strange redirect loops and errors with the middleware approach. I think throwing a catch-all solution at this isn't necessarily the answer. We should be able to implement a view on the homepage ( |
What if the user doesn't enter the homepage? (like he enters "/chat/xyz" directly in the url) |
6d1d7b6
to
15a8356
Compare
I think we should consider closing this one and:
Let me know your thoughts! |
yeah it seems like we could write some middleware that checks your current route + iridium status and knocks back appropriately. According to the doc it runs before render |
I agree, removing middleware takes too much work to get the same behaviour and isn't as reliable (at least with this code) |
Opened the tickets for those, closing this one |
What this PR does π
Which issue(s) this PR fixes π¨
Special notes for reviewers ποΈ
Additional comments π€