From: Nick H. <nic...@ho...> - 2010-09-20 18:56:44
|
Benny Malengier wrote: > > > 2010/9/20 Nick Hall <nic...@ho... > <mailto:nic...@ho...>> > > Hi, > > I moving tags from a list of textual tags into a list of tag > handles, I > have got to the stage where I need to decide if tags should be > stored in > an ordered list or not. > > In the previous version, because the tags were just text it was > easy to > keep them in alphabetic order. This made the display of the tags > column > easy, but introduced a small overhead when tagging a selection of > objects. I also chose to colour-code the rows according to the first > tag in the list which was the first alphabetically. This may not be > what we want, so I thought that I should ask a question before > continuing. > > Is the order of tags important? > > I could continue to keep them in alphabetic order. This would > just mean > retrieving all tag names from handles for every tag added to a person. > > I could store them as an unordered list. This would make adding tags > easy, but I would have to sort them before display. Would I still use > the colour of the first tag alphabetically? > > I could allow the user to order them, and always add a new tag to the > end of the list. This would make tag display and adding new tags > easy, > but is it what we want? I would have to change the tag widget in the > person editor to allow ordering, or adopt Doug's suggestion of letting > the user type a comma separated list of tags. > > I could colour-code rows according to tag priority rather than the > list > order or the first alphabetically. This would involve a small > change to > add up and down arrows to the tag organizer and to store an priority > field in the tag table. > > Let me know what you think. > > > I like the priority change. It removes the need of reordering a bunch > of tags in people, which seems like too much work to bother. I agree, this is the option I like the best. I'll add a priority to tags. Nick. > > I am sure some people will want to control what color a line is in, so > just coloring it with alphabetic tag will probably not be liked much. > From that point of view, allowing order or setting priority is the way > forward. Priority seems most versatile to me, you quickly change it in > one place. > Then, if you select the tag, and look at the person view after > filtering, everything not in that color has a higher priority tag > applied to it, without the need to scan the tag column. > > Benny > > > > Regards, > > > Nick. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > <mailto:Gra...@li...> > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > |