qwik icon indicating copy to clipboard operation
qwik copied to clipboard

feat(qwik-city/404): add possible routes to dev server

Open naorpeled opened this issue 1 year ago • 1 comments

Overview

What is it?

  • [x] Feature / enhancement
  • [ ] Bug
  • [ ] Docs / tests / types / typos

Description

Currently, when reaching a 404 page in dev server, you'll receive a generic error page without much detail.

This PR adds links to all available routes.

without overflow: image

with overflow: image

closes #4085

Checklist:

  • [x] My code follows the developer guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have made corresponding changes to the documentation
  • [ ] Added new tests to cover the fix / functionality

Things we want to do next:

  • Add a search box (need to figure out how to achieve this?)
  • Add component names for each link (probably root that hosts the page?)
  • Add dynamic path parameters value input for dynamic routes

naorpeled avatar May 12 '23 19:05 naorpeled