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
=== modified file 'src/app/qml/ui/NotebooksPage.qml'
--- src/app/qml/ui/NotebooksPage.qml 2015-03-15 20:00:21 +0000
+++ src/app/qml/ui/NotebooksPage.qml 2015-06-14 00:36:42 +0000
@@ -116,6 +116,10 @@
116 NotesStore.refreshNotebooks();116 NotesStore.refreshNotebooks();
117 }117 }
118118
119 displaced: Transition {
120 UbuntuNumberAnimation { property: "y"}
121 }
122
119 delegate: NotebooksDelegate {123 delegate: NotebooksDelegate {
120 width: parent.width124 width: parent.width
121 height: units.gu(10)125 height: units.gu(10)
122126
=== modified file 'src/app/qml/ui/NotesPage.qml'
--- src/app/qml/ui/NotesPage.qml 2015-06-11 22:02:25 +0000
+++ src/app/qml/ui/NotesPage.qml 2015-06-14 00:36:42 +0000
@@ -172,6 +172,10 @@
172 NotesStore.refreshNotes();172 NotesStore.refreshNotes();
173 }173 }
174174
175 displaced: Transition {
176 UbuntuNumberAnimation { property: "y"}
177 }
178
175 delegate: NotesDelegate {179 delegate: NotesDelegate {
176 title: model.title180 title: model.title
177 date: notes.sortOrder == Notes.SortOrderUpdatedOldest || notes.sortOrder == Notes.SortOrderUpdatedNewest ?181 date: notes.sortOrder == Notes.SortOrderUpdatedOldest || notes.sortOrder == Notes.SortOrderUpdatedNewest ?
178182
=== modified file 'src/app/qml/ui/TagsPage.qml'
--- src/app/qml/ui/TagsPage.qml 2015-03-15 20:00:21 +0000
+++ src/app/qml/ui/TagsPage.qml 2015-06-14 00:36:42 +0000
@@ -80,6 +80,10 @@
80 NotesStore.refreshTags();80 NotesStore.refreshTags();
81 }81 }
8282
83 displaced: Transition {
84 UbuntuNumberAnimation { property: "y"}
85 }
86
83 delegate: TagsDelegate {87 delegate: TagsDelegate {
84 width: parent.width88 width: parent.width
85 height: units.gu(10)89 height: units.gu(10)

Subscribers

People subscribed via source and target branches