Indefero

Issue 601: Improve the display and handling of branch and tag lists

Reported by Thomas Keller, Jan 17, 2011

IDF currently displays a plain link list of branches and - if 
available - tags in the source views of a specific project. If these 
lists get big, both in terms of item count as well as in character 
size, they become very, very unhandy. The lack of specific CSS 
classes also makes it quite hard to properly style the individual 
items.

Plan:

* prevent that branch and tag names break into the next line, rather 
hide their overflow in the default (smallish) area
* create a overlay box as soon as the user hovers over the area, 
display all branch and tag names in full
* display a little input field beside each list's headers with which 
really big lists can easily be filtered via JS (provide a sensible 
default when this input field should actually be displayed, for 
example >= 10 items)
* make the lists' HTML a proper unordered list and provide easy CSS 
styling capabilities

Comment 1 by Thomas Keller, Jan 17, 2011

A first version has been added in commit d445a65. Right now only the 
source views for the monotone plugin changed. A live demo can be 
found here:

https://code.monotone.ca/p/monotone/source/tree/h:net.venge.monotone/


Comments? Anyone up for copying / moving this over to the other 
SCM's source views?

Comment 2 by Thomas Keller, Jan 24, 2011

Still needs a clear icon and functionality to easily and quickly 
remove a filter text. This tango item can be used for it:

http://www.iconfinder.com/icondetails/15273/22/brush_clean_clear_swee
p_icon?r=1

Comment 3 by Loïc d'Anterroches, Jan 24, 2011

Great, great job!

Comment 4 by Thomas Keller, Jan 25, 2011

I've added the clear icon and the functionality behind it (see the 
URL above), but its not yet committed. Will do this later on.

Comment 5 by Thomas Keller, Jan 26, 2011

Clear button added in revision ccb1bd33d4, template changes for hg 
and git applied in revision 4eb34044f.

Whats missing now is only the Subversion view. The template looks a 
bit different here, only the tree view seems to carry a branch / tag 
list at all, all the others only have a "Go to revision" 
form. What should I do with that?

Comment 6 by Thomas Keller, Mar 3, 2011

Closing this ticket for the git/hg/mtn implementation. The svn 
changes are tracked via the new issue 621.
Status: Fixed

Created: 2 years 4 months ago by Thomas Keller

Updated: 2 years 2 months ago

Status: Fixed

Owner: Thomas Keller

Followed by: 1 person

Labels:
Priority:Medium
Type:Enhancement
Milestone:Release1.1