HHS / simpler-grants-gov

https://simpler.grants.gov
Other
43 stars 13 forks source link

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

Open acouch opened 1 month ago

acouch commented 1 month ago

Migrated from https://github.com/navapbc/simpler-grants-gov/issues/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:

Open Qs:

acouch commented 1 month ago

Migrated from https://github.com/navapbc/simpler-grants-gov/issues/36#issuecomment-2115863525 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 commented 1 month ago

Migrated from https://github.com/navapbc/simpler-grants-gov/issues/36#issuecomment-2116217508 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.