Merge lp:~gcollura/ubuntu-calculator-app/swipe-copy-button-improvements into lp:ubuntu-calculator-app
| Status: | Merged |
|---|---|
| Approved by: | Bartosz Kosiorek on 2015-01-23 |
| Approved revision: | 77 |
| Merged at revision: | 75 |
| Proposed branch: | lp:~gcollura/ubuntu-calculator-app/swipe-copy-button-improvements |
| Merge into: | lp:ubuntu-calculator-app |
| Diff against target: |
87 lines (+29/-8) 2 files modified
app/ubuntu-calculator-app.qml (+22/-7) app/ui/KeyboardButton.qml (+7/-1) |
| To merge this branch: | bzr merge lp:~gcollura/ubuntu-calculator-app/swipe-copy-button-improvements |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Bartosz Kosiorek | 2015-01-22 | Approve on 2015-01-23 | |
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-01-23 | |
| Riccardo Padovani | Approve on 2015-01-23 | ||
|
Review via email:
|
|||
Commit Message
Add swipe to copy feature on single calculation. Add pressed button effect and fix button height on landscape mode.
Description of the Change
Various improvements. I've decided to put all of them in the same MP to save time :)
What I've done:
* Added swipe to copy on single calculation as Riccardo requested
* Added a small effect when a button gets pressed
* (REMOVED) Fix button height in landscape mode (see http://
Tell me what you think and if you see anything wrong.
Thank you!
Giulio
| Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
On krillin it doesn't *quite* fit on screen.
http://
I'm not sure if we should have the date fully off screen or on. My gut reaction is that the calculation and keys are the most important things, and you can pull down for the date. But I think this needs design input.
- 76. By Giulio Collura on 2015-01-22
-
make buttonRatio proportional to scrollableView ratio
PASSED: Continuous integration, rev:76
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Bartosz Kosiorek (gang65) wrote : | # |
Nice work!
I like copy feature, and animation are really pretty.
I have one remark regarding copy feature: It is possible to select many calculations to copy, but I could copy only one.
Why we added confirm button to copy?
I think "copy" is not so dangerous as "delete". We could just swipe to add to clipboard (without confirmation)
Maybe it will be better to instanly copy whole selected calculation?
| Bartosz Kosiorek (gang65) wrote : | # |
I tested dynamic changing ratio of the buttons, and it is confusing for me.
I think we should keep fix ratio buttons, and find some different solution.
What do you think about adding one more column for horizontal mode?
Could you please split copy and keypad fix to two MR?
| Riccardo Padovani (rpadovani) wrote : | # |
> Nice work!
>
> I like copy feature, and animation are really pretty.
>
> I have one remark regarding copy feature: It is possible to select many
> calculations to copy, but I could copy only one.
> Why we added confirm button to copy?
> I think "copy" is not so dangerous as "delete". We could just swipe to add to
> clipboard (without confirmation)
> Maybe it will be better to instanly copy whole selected calculation?
This is how the swype from right to left is supposed to work, because you can have plus than one option on the right. So the first swipe is to evidence all options, and the second one to select the option
Thanks for your branch Giulio, I approve it, but address Bartosz comment, he will topapprove this when he think is ready :-)
| Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
This looks great! I like the swipe copy feature!
- 77. By Giulio Collura on 2015-01-23
-
remove change of button sizes in this mp
| Giulio Collura (gcollura) wrote : | # |
I'm moving the code to fix button height to another MP, since changing the ratio isn't the solution.
PASSED: Continuous integration, rev:77
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://


PASSED: Continuous integration, rev:75 91.189. 93.70:8080/ job/ubuntu- calculator- app-ci/ 287/ 91.189. 93.70:8080/ job/generic- mediumtests- vivid/808 91.189. 93.70:8080/ job/generic- mediumtests- vivid/808/ artifact/ work/output/ *zip*/output. zip 91.189. 93.70:8080/ job/ubuntu- calculator- app-vivid- amd64-ci/ 9
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- calculator- app-ci/ 287/rebuild
http://