-
Notifications
You must be signed in to change notification settings - Fork 7
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
[ENG-205]
handle missing/malformed query
#2723
Conversation
Deploying decent-interface with
|
Latest commit: |
319aa18
|
Status: | ✅ Deploy successful! |
Preview URL: | https://1b1bd75f.decent-interface.pages.dev |
Branch Preview URL: | https://eng-205-handle-missing-dao-a.decent-interface.pages.dev |
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.
there's a 🐞
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.
Looks good to me and testing works as intended, but a suggestion. The way it works now, some malformed urls lead to an error page:
- https://eng-205-handle-missing-dao-a.decent-interface.pages.dev/home?dao=sesp:0x149116ea8ef5Bae98C98268Bd5b55330A385D191&size=10&page=1
- https://eng-205-handle-missing-dao-a.decent-interface.pages.dev/home?dao=sep%3A0x149116ea8ef5Bae98C98268Bd5b55330A385D191----&page=1&size=10
- https://eng-205-handle-missing-dao-a.decent-interface.pages.dev/nothing_here?dao=sep%3A0x149116ea8ef5Bae98C98268Bd5b55330A385D191&page=1&size=10
But then urls like:
- https://eng-205-handle-missing-dao-a.decent-interface.pages.dev/?dao=sep%3A0x149116ea8ef5Bae98C98268Bd5b55330A385D191&page=1&size=10
- https://eng-205-handle-missing-dao-a.decent-interface.pages.dev/home?daobad=sep%3A0x149116ea8ef5Bae98C98268Bd5b55330A385D191&page=1&size=10
... redirect to the landing page in a flash.
I'm thinking a redirect to one of these error pages would be a much smoother experience?
Closes ENG-205