Closed Bug 661688 Opened 14 years ago Closed 13 years ago

Make left-hand column of file viewer stay on the top left when scrolling down

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorgev, Assigned: kmag)

References

()

Details

(Whiteboard: [ReviewTeam])

Since the new file viewer doesn't have a vertical scrollbar for the code section, long files can be a navigational inconvenience, because you have to scroll all the way up to select the next file (or remember the shortcuts). I think it would be nice to have the left panel move to keep its top left position, similarly to what it done with the right-hand panel in review pages.
gkoberger did this on the review pages if you want to steal code
Assignee: nobody → amckay
I think this implies pushing the left hand nav into a fixed height and giving it scroll bars, something I was hoping to avoid. Otherwise it would be hard to get down a fully expanded tree (https://addons.mozilla.org/en-US/firefox/files/121418) for example.
The alternative would be make the code scrollable independently from the page.
(In reply to comment #2) > I think this implies pushing the left hand nav into a fixed height and > giving it scroll bars, something I was hoping to avoid. Otherwise it would > be hard to get down a fully expanded tree > (https://addons.mozilla.org/en-US/firefox/files/121418) for example. I think you could do it without a fixed height, but I'm not sure if it would be confusing. Scroll down would scroll everything until it hit nav.bottom and then it would move down the page, scroll up would scroll everything until it hit nav.top and then move up the page with the scroll. Too confusing? Maybe chowse has an idea.
I think having a max-height and overflow:auto on the file list would be the best thing here. Using some aspect of the page scrolling to determine which bit of the file list in view seems wrong. Aside from being confusing, it would require even more inconvenient scrolling to get to the file you're after than we have now.
Target Milestone: Q2 2011 → 4.x (triaged)
I'll have a patch for this when 663254 is merged.
Assignee: amckay → maglione.k
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: 4.x (triaged) → 6.3.6
Reclassifying editor bugs and changing to a new whiteboard flag. Spam, spam, spam, spam...
Whiteboard: [required amo-editors] → [ReviewTeam]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.