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

ViewCampaignPage: Show page not found on wrong slug #1535

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

sashko9807
Copy link
Member

In some cases, the url of the campaign, is invalid due to some typos being made. And since no data is coming from the server, the only thing the user sees, is a spinner going on forever.
Fix this by rendering NotFoundPage, if the server has returned an error

Closes N/A

Motivation and context

Improves UX

@sashko9807 sashko9807 changed the title ViewCampaignPage: Show page not found, on wrong slug ViewCampaignPage: Show page not found on wrong slug Aug 1, 2023
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

✅ Tests will run for this PR. Once they succeed it can be merged.

Copy link
Contributor

@igoychev igoychev left a comment

Choose a reason for hiding this comment

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

yep, better with the NotFound error than the loading forever

@igoychev igoychev added the run tests Allows running the tests workflows for forked repos label Aug 2, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Aug 2, 2023
@igoychev igoychev merged commit 7eb239f into podkrepi-bg:master Aug 2, 2023
11 of 12 checks passed
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