Opened 20 years ago
Closed 20 years ago
#823 closed defect (fixed)
Trac breaks my browser's "UP" button
Reported by: | Noah Slater | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | version control/browser | Version: | 0.8 |
Severity: | normal | Keywords: | usability |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
If you are viewing a source file and you use the "Up" button provided by some browsers you get an error and a Python backtrace.
Efectively what the "Up" button does is try to traverse one folder up in the sites heirachy.
This should work and I think it is bad usability that it doesn't. Anything which breaks a user-agents expected behaviour is a Bad Thing in my opinion.
Attachments (0)
Change History (5)
comment:1 by , 20 years ago
Keywords: | breaks browser up button directory removed |
---|
comment:2 by , 20 years ago
Good point about Googles toolbar.
I am using Konqueror. While not being a *very* popular user-agent, it is one non the less that has decided to simply "move" up a dir with it's "up" button.
comment:3 by , 20 years ago
But, of course if you're browsing the text source of a file, there's no way to provide a <link rel="up"/>
. Two options I see here are either to make the File module redirect back to the Browser if trying to load a directory, or combine the two so they use a single path and choose the display based on whether you're browsing a file or directory.
comment:4 by , 20 years ago
Version: | 0.7.1 → 0.8 |
---|
You get the same result if you try access directly an url which will end at the directory, e.g. contrib
comment:5 by , 20 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 0.9 |
Resolution: | → fixed |
Status: | new → closed |
This has been fixed with the merging of the versioncontrol layer in [1413]. Both files and directories and now handled through the /browser/<path> URL. (The older /file/<path> style URLs are redirected for backwards compatibility).
Reproduced. Here's the stack trace:
I gotta note here that the Google toolbar is really stupid in not using the
<link rel="up">
we are already providing for such purposes. Oh the ignorance.