wpt.fyi icon indicating copy to clipboard operation
wpt.fyi copied to clipboard

Interop 20XX page should display "data unavailable" for invalid years

Open DanielRyanSmith opened this issue 3 years ago • 4 comments

Currently, the Interop 20XX page at /interop-{YEAR} will redirect to the current year if an attempt is made to view a year with no data (only 2021 and 2022 currently have data). It would create a better user experience to display a page that conveys "data is not available for this year" instead of just redirecting to the current year.

DanielRyanSmith avatar Sep 23 '22 17:09 DanielRyanSmith

Hey @DanielRyanSmith , I've understood the issue, can you pls assign this to me ?

Aankirz avatar Mar 25 '23 12:03 Aankirz

Hello @Aankirz, any help is appreciated. 🙂 Feel free to start on this and let us know if you have questions.

DanielRyanSmith avatar Mar 25 '23 20:03 DanielRyanSmith

Hey @DanielRyanSmith ,

Thanks for assigning, I've created a PR And along with the sorry message, added a Go to the home page button, to improve User Experience.

Aankirz avatar Mar 26 '23 19:03 Aankirz

@DanielRyanSmith It's now working fine, and I've submitted a new PR, pls review , Thanks :D

Aankirz avatar Apr 01 '23 22:04 Aankirz