EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

Modify the project view widget to display projects by tag #537

Closed murphysj closed 11 years ago

murphysj commented 11 years ago

WHO: Cecelia Benefits: All users

As the number of projects in the system grows, we will want to be able to limit the project view widget (all possible views) but a tag input by the user.

This ticket is contingent upon ticket #536, which will add the tags to projects.

LucaCinquini commented 11 years ago

Done, the tag widget also features autocompletion based on the currently available tag names.

LucaCinquini commented 11 years ago

Additionally, the tags are now listed alphabetically in the auto-completion text box. If more than 10 tags enter in the listing, a scrollbar is displayed.

Furthermore, as per discussion at the CoG call:

o all sub-widgets (parents, peers, children) are now open by default when the page is first loaded o opening a sub-widget does NOT automatically close the others o the height of each sub-widget is set to 80 px, enough to accommodate 6 items. This height cannot be lower because it must be able to fit a vertical scrollbar on the right, in case it is needed. Any lower and the scrollbar becomes unusable.

murphysj commented 11 years ago

Tags can really only be 21 characters max. This is the size of the pulldown widget (with scroll bar) in the Project browser. Anything else gets cut off.

LucaCinquini commented 11 years ago

Max tag length set to 20 characters.

murphysj commented 11 years ago

verified on dev-hydra that tags can now only be 20 characters. We are done with this one now.