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

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

Open
acouch opened this issue Sep 17, 2024 · 2 comments
Open

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

acouch opened this issue Sep 17, 2024 · 2 comments
Labels

Comments

@acouch
Copy link
Collaborator

acouch commented Sep 17, 2024


Migrated from navapbc#36
Originally created by @andycochran on Thu, 16 May 2024 16:39:24 GMT


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.
@acouch
Copy link
Collaborator Author

acouch commented Sep 17, 2024


Migrated from navapbc#36 (comment)
Originally created by @rylew1 on Thu, 16 May 2024 17:52:34 GMT


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

@acouch
Copy link
Collaborator Author

acouch commented Sep 17, 2024


Migrated from navapbc#36 (comment)
Originally created by @andycochran on Thu, 16 May 2024 21:26:01 GMT


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Icebox
Development

No branches or pull requests

1 participant