Merge lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-menuorder into lp:ubuntuone-client
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Diego Sarmentero on 2012-09-28 | ||||
| Approved revision: | 1330 | ||||
| Merged at revision: | 1326 | ||||
| Proposed branch: | lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-menuorder | ||||
| Merge into: | lp:ubuntuone-client | ||||
| Prerequisite: | lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-timer | ||||
| Diff against target: |
92 lines (+45/-11) 2 files modified
tests/platform/sync_menu/test_linux.py (+34/-4) ubuntuone/platform/sync_menu/linux.py (+11/-7) |
||||
| To merge this branch: | bzr merge lp:~diegosarmentero/ubuntuone-client/ubuntuone-client-menuorder | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Manuel de la Peña (community) | Approve on 2012-09-28 | ||
| dobey (community) | 2012-09-21 | Approve on 2012-09-24 | |
|
Review via email:
|
|||
Commit Message
- Sort items based on the written value, to prioritize the files being transferred (LP: #1052956).
- 1325. By Diego Sarmentero on 2012-09-21
-
merge
| Diego Sarmentero (diegosarmentero) wrote : | # |
> The implications of how this might behave, frighten me a little. A video
> showing this in action in an open transfers menu, which remains open for many
> (at least 30) seconds, would be quite helpful.
>
> But based on the bug report, and that this code will presumably be updated
> many times while the menu is being examined by a user, it seems like the
> ordering may change. And having menu items constantly changing position would
> be quite disturbing for the user; even if the menu items are not clickable (as
> they do not seem to be).
This is the video i showed you on irc: http://
Take into account that i'm not deleting all the items and recreating the menu with the ones that has the highest written value, but just deleting the ones that complete the transfer, and always prioritizing the ones with the highest written value to put in those places.
- 1326. By Diego Sarmentero on 2012-09-25
-
fixing tests
- 1327. By Diego Sarmentero on 2012-09-25
-
tests updated
- 1328. By Diego Sarmentero on 2012-09-25
-
merge
- 1329. By Diego Sarmentero on 2012-09-26
-
merge
- 1330. By Diego Sarmentero on 2012-09-26
-
merge


The implications of how this might behave, frighten me a little. A video showing this in action in an open transfers menu, which remains open for many (at least 30) seconds, would be quite helpful.
But based on the bug report, and that this code will presumably be updated many times while the menu is being examined by a user, it seems like the ordering may change. And having menu items constantly changing position would be quite disturbing for the user; even if the menu items are not clickable (as they do not seem to be).