Open wass3rw3rk opened 6 months ago
was looking into this and would love to build out a better 404 experience but im not sure what it looks like.
in a perfect world, what is the not found page when you are authenticated and have dynamic routes for vela.com/<org>/<repo>
?
meaning, if i'm authenticated and i visit vela.com/garbage
, vela.com/404
, vela.com/not-found
, or even vela.com/doesnt/exist
what should i see?
btw visiting vela.com/a/b/c/d
should definitely go to a 404/not-found page but right now it just sends you to /
.
so dont get me wrong theres definitely a low-hanging bug here regardless but i'd love to expand this into a better "page not found" experience overall if its possible
yes, for sure. we can get creative. i know we talked about vela.com/<org>/<repo>
before. i imagine something like "looks like this repo is not setup yet. do you want to try and enable it?" kind of messaging.
any org level page that doesn't have any repos enabled, probably something in a similar vein. maybe prompt if the user wants to enable a repo within that org? perhaps, offer the ability to browse repos filtered to that org that they have access to?
so, i think 404/not found perhaps best adjusts to each scenario, but there should be a generic one that's just, umm.. a 404-themed mini-game and you have to beat it to get back to the home/overview page? :D
i think i would scope this specific story to just deal with this "bug" and have separate issues for for some of the scenarios mentioned?
Description
currently, the not found page can be hit when unauthenticated, once you are authenticated it can not - instead you are always redirected to "/".
Value
Useful Information
affects currently unreleased UI
vela --version
? v0.25 (unreleased)