Merge lp:~mzanetti/reminders-app/animated-delete into lp:reminders-app

Proposed by Michael Zanetti
Status: Work in progress
Proposed branch: lp:~mzanetti/reminders-app/animated-delete
Merge into: lp:reminders-app
Diff against target: 44 lines (+12/-0)
3 files modified
src/app/qml/ui/NotebooksPage.qml (+4/-0)
src/app/qml/ui/NotesPage.qml (+4/-0)
src/app/qml/ui/TagsPage.qml (+4/-0)
To merge this branch: bzr merge lp:~mzanetti/reminders-app/animated-delete
Reviewer Review Type Date Requested Status
Jenkins Bot continuous-integration Approve
Riccardo Padovani Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+261904@code.launchpad.net

Commit message

Add an animation when deleting things

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

You forgot reminders page, apart from that, good work!

review: Needs Fixing
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Hmm... not so sure about this one any more. Problem is that it seems to mess up the notes list because of the section headers...

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Putting it to Work in Proress because this triggers a bug in QML in some cases. Better not having the nice animations than breaking sometimes.

TODO: On Qt upgrades of the platform enable this and test if deleting items behaves properly and doesn't mess up the list. Maybe we can land it some day.

Unmerged revisions

454. By Michael Zanetti

add an animation when deleting items

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/app/qml/ui/NotebooksPage.qml'
2--- src/app/qml/ui/NotebooksPage.qml 2015-03-15 20:00:21 +0000
3+++ src/app/qml/ui/NotebooksPage.qml 2015-06-14 00:36:42 +0000
4@@ -116,6 +116,10 @@
5 NotesStore.refreshNotebooks();
6 }
7
8+ displaced: Transition {
9+ UbuntuNumberAnimation { property: "y"}
10+ }
11+
12 delegate: NotebooksDelegate {
13 width: parent.width
14 height: units.gu(10)
15
16=== modified file 'src/app/qml/ui/NotesPage.qml'
17--- src/app/qml/ui/NotesPage.qml 2015-06-11 22:02:25 +0000
18+++ src/app/qml/ui/NotesPage.qml 2015-06-14 00:36:42 +0000
19@@ -172,6 +172,10 @@
20 NotesStore.refreshNotes();
21 }
22
23+ displaced: Transition {
24+ UbuntuNumberAnimation { property: "y"}
25+ }
26+
27 delegate: NotesDelegate {
28 title: model.title
29 date: notes.sortOrder == Notes.SortOrderUpdatedOldest || notes.sortOrder == Notes.SortOrderUpdatedNewest ?
30
31=== modified file 'src/app/qml/ui/TagsPage.qml'
32--- src/app/qml/ui/TagsPage.qml 2015-03-15 20:00:21 +0000
33+++ src/app/qml/ui/TagsPage.qml 2015-06-14 00:36:42 +0000
34@@ -80,6 +80,10 @@
35 NotesStore.refreshTags();
36 }
37
38+ displaced: Transition {
39+ UbuntuNumberAnimation { property: "y"}
40+ }
41+
42 delegate: TagsDelegate {
43 width: parent.width
44 height: units.gu(10)

Subscribers

People subscribed via source and target branches