Skip to content
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

Merged
merged 4 commits into from
Feb 10, 2025

Conversation

Da-Colon
Copy link
Contributor

@Da-Colon Da-Colon commented Feb 9, 2025

Closes ENG-205

Copy link

linear bot commented Feb 9, 2025

Copy link

cloudflare-workers-and-pages bot commented Feb 9, 2025

Deploying decent-interface with  Cloudflare Pages  Cloudflare Pages

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

View logs

Copy link
Contributor

@DarksightKellar DarksightKellar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a 🐞

Copy link
Contributor

@DarksightKellar DarksightKellar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Da-Colon
Copy link
Contributor Author

Da-Colon commented Feb 10, 2025

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:

But then urls like:

I'm thinking a redirect to one of these error pages would be a much smoother experience?

👍 I originally do that because, in my brain I was like router can't access that error boundary, but then I was like I can just return that component....lol. I think this covers your scenarios to all behave the same now

*note if home is missing it doesn't go anywhere or show error page.

@Da-Colon Da-Colon merged commit 1b937b6 into develop Feb 10, 2025
4 checks passed
@Da-Colon Da-Colon deleted the eng-205-handle-missing-dao-address-query branch February 10, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants