alexdobre / RDL_Google_Tech

Java for the Google technology code
0 stars 0 forks source link

Add sorting behavior to snip list filter #88

Closed alexdobre closed 10 years ago

alexdobre commented 10 years ago

Make the text inputs for the fields where we add sort smaller.

Add a small double arrow in the space that is left. This will be two triangles, one pointing up and the other down. Add a hover tool tip over them saying: Sort (Ascending/Descending).

By default when the filter is loaded the Date - sort descending arrow will be active (has a bright green colour). The others will be grey indicating they are inactive. This will sort list items by default - most recent up top.

The user can click on the small sort arrows to change the sorting mechanism. To keep things simple only one sort arrow will be active at one time. You click on a different arrow it activates and deactivates the previous one.

Fields with sorting enabled:

Ref (each type of reference separate 1 for pos, 1 for neg, 1 for neutral) Reputation Views Author Date