Infinite "Processing" State for Invalid URLs in CodeDrop #12
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
UI
When a user navigates to a URL that does not correspond to a valid paste ID on the CodeDrop website, the page gets stuck in an infinite "Processing" state. There is no error message displayed to the user, which leads to confusion and a poor user experience.
Steps to Reproduce:
https://codedrop.vercel.app/something
.Expected Behavior:
Actual Behavior:
Relevant Code:
The issue might be related to error handling in the
/src/routes/[id]/+page.svelte
file. Review the fetch request and error handling logic to ensure that invalid responses are appropriately handled and displayed.Proposed Solution:
Screenshots:
Additional Context:
This issue affects user experience and may lead to confusion when navigating to invalid URLs. Proper error handling and messaging will improve usability.
The text was updated successfully, but these errors were encountered: