Closed damithc closed 10 years ago
From OTS.Nexus on January 26, 2014 09:43:33
Here is the implementation that I have come out with:
We will provide users the option to sort by course ID, course name, or creation date as shown below. The default sorting option is course ID (same as before). If user click at other sorting option, the page will reload and show the sorted list of courses.
Does this solution sound okay?
Attachment: sort.JPG
From OTS.Nexus on January 26, 2014 13:33:56
Dr Damith, I have added basic sorting feature as mentioned above. Currently it only supports ascending order sorting for course ID & course name, and descending order for course creation date. Can you have a look at it on my staging server? I have created an instructor account for you to access it. http://4-83-15-dot-teammates-ots.appspot.com/ Here are the codes: https://codereview.appspot.com/57120043/
Cc: dam...@gmail.com
From dam...@gmail.com on January 26, 2014 16:12:50
So far so good. Is it possible to move the 'Add New Course' link inside the new box used for sorting? (to reduce UI elements at the top of the page) The current sorting orders are enough.
From dam...@gmail.com on January 26, 2014 16:19:06
By the way, may be use creation time as the default sort order?
From OTS.Nexus on January 26, 2014 20:53:13
Okay. So currently no need to provide option to choose between ascending/descending order?
From dam...@gmail.com on January 26, 2014 20:59:07
Yes.
From OTS.Nexus on January 26, 2014 21:49:36
Which of the following would be a better way of combining both 'Add new course' link and sorting radio buttons?
Attachment: capture1.JPG capture2.JPG
From dam...@gmail.com on January 26, 2014 21:58:54
how about 2nd one, but use dark blue (or light blue) for the entire box?
From OTS.Nexus on January 26, 2014 22:20:58
Like this? I think light blue might be better since dark blue is used for boxes containing course detail, to represent different logical section.
Attachment: capture3.JPG
From dam...@gmail.com on January 26, 2014 22:37:37
Yeah, light blue is better. Can make it one line? May be sort options left-aligned and link right-aligned? Make sure the 'unclicked' color of the link is visible. The original link used white fonts.
From OTS.Nexus on January 27, 2014 07:35:29
Sort options are located in a table while the link is located in another div element initially. I put the link inside the table now and made some tweaks on css to make them apart.
Below are the snapshots showing the color before/after the link has been clicked. Should be okay right?
Attachment: unclicked.JPG clicked.JPG
From dam...@gmail.com on January 27, 2014 07:54:28
Yup, looks good.
From arnold.k...@gmail.com on January 29, 2014 19:06:16
Issue 1279 has been merged into this issue.
Cc: arnold.k...@gmail.com
From arnold.k...@gmail.com on January 29, 2014 19:07:33
Cc: -arnold.k...@gmail.com
From OTS.Nexus on January 30, 2014 14:13:53
Test cases added. https://codereview.appspot.com/58810043/
Labels: -Difficulty-Medium Difficulty-High
From dam...@gmail.com on January 30, 2014 17:38:51
Status: ReadyToMerge
From OTS.Nexus on January 31, 2014 02:27:53
This issue was updated by revision 28d567fa8f51 .
From OTS.Nexus on January 31, 2014 02:52:02
Dr Damith, I have only run all the test on dev server but couldn't run it on staging server as I am using a very slow connection in Malaysia here, the long time taken to load a page causing the test to time out. So i couldn't make sure whether does everything work fine on staging server too..
Status: Delivered
From arnold.k...@gmail.com on February 06, 2014 00:52:52
Status: Deployed
Labels: Milestone-V4.85
From OTS.Nexus on January 26, 2014 23:00:58
Allow user to sort courses to find specified course easier
Original issue: http://code.google.com/p/teammatespes/issues/detail?id=1559