Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

[Task]: Draft content for nonexistent page error #36

Closed
andycochran opened this issue May 16, 2024 · 3 comments
Closed

[Task]: Draft content for nonexistent page error #36

andycochran opened this issue May 16, 2024 · 3 comments
Labels

Comments

@andycochran
Copy link
Member

andycochran commented May 16, 2024

If the user attempts to load a URL for the Search UI with a page query param that does not exist (e.g. page=999999 or page=foo), the results should show an error message in an error variant Alert component that communicates:

  • The requested page does not exist
  • The user can navigate to a page that does exist. They might do this by:
    • Interacting with the pagination menu
    • A link in the message that takes them to the first page (which should exist) (no need; see comments)

Open Qs:

  • Is interacting with the pagination menu an obvious enough remedy, or should there be a specific call to action (i.e. "go to p1")?
  • @rylew1, can we ensure that this error only displays if p1 would show valid results? We wouldn't want to show this message if the URL has other malformed params that would not return results on p1.
@rylew1
Copy link
Collaborator

rylew1 commented May 16, 2024

I think the existing pagination menu (if there is search results) - should be enough for the user . They can click page 1 to go to valid results

@andycochran
Copy link
Member Author

Agreed. We can also monitor analytics to see if it's a problem. Hopefully very few will see this error.

@acouch
Copy link
Member

acouch commented Sep 17, 2024

Issue migrated to HHS#2155

@acouch acouch closed this as completed Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants