wpt.fyi
wpt.fyi copied to clipboard
Interop 20XX page should display "data unavailable" for invalid years
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.
Hey @DanielRyanSmith , I've understood the issue, can you pls assign this to me ?
Hello @Aankirz, any help is appreciated. 🙂 Feel free to start on this and let us know if you have questions.
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.
@DanielRyanSmith It's now working fine, and I've submitted a new PR, pls review , Thanks :D