[FR] Improve 404 page when attempting to browse file that does not exist `/browse`
If I navigate to a path that does not exist when in the code browser, I hit the following error message:
A user could hit this when switching branches, when a file has been deleted or moved from a branch, or other scenarios.
GitHub's 404 page:
Hi, will look into this issue. @brendan-kellam @msukkari
got the above result when i attempted to reproduce the bug. Can you give more details on this @brendan-kellam @msukkari Not getting the option to switch branches. do i have to upgrade to a different plan for this?
@imsarang your screenshot is showing the /search path. This bug is in the /browse path - try making a search with results, clicking into a file, and then change the path in the URL bar to a file that does not exist. #822 adds branch switching
@brendan-kellam Got it thanks man! Will change the frontend of the screen with github design as inspiration.
@brendan-kellam @msukkari The below is the PR for the fix. Please check this out PR: https://github.com/sourcebot-dev/sourcebot/pull/837
Thanks, I will get to this tomorrow
Hi @brendan-kellam @msukkari can you check this, ? it is a small addition as listed in the PR
Hi @brendan-kellam can you check the pr linked to this? PR: https://github.com/sourcebot-dev/sourcebot/pull/837
@brendan-kellam @brendan-kellam @msukkari @msukkari
HI, why is this not getting reviewed? @brendan-kellam , can we close this? been like 2 months now fixed this 2 months ago! can be merged, very simple fix @brendan-kellam