Closed
Bug 924468
Opened 12 years ago
Closed 12 years ago
Adding re-organizing functionality to edit mode in Collections
Categories
(Firefox OS Graveyard :: Gaia::Everything.me, defect)
Firefox OS Graveyard
Gaia::Everything.me
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: yosef, Assigned: amirn)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130910160258
Steps to reproduce:
This is a leftover from v1.2, intended for v1.3.
Expected results:
Attached are the specs for this functionality.
| Reporter | ||
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•12 years ago
|
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 4•12 years ago
|
||
Re-opened this bug and closed the duplicate (bug 922428) instead.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → amirn
| Assignee | ||
Comment 5•12 years ago
|
||
The patch is not 100% perfect yet. Will appreciate any help.
Cristian - you have done a great job for the homescreen drag-and-drop and I'm sure you can improve my code :)
Thanks.
Attachment #8337662 -
Flags: review?(ran)
Attachment #8337662 -
Flags: review?(crdlc)
Comment 6•12 years ago
|
||
How can we test it?
STR:
1) Open Social collection
2) Enter in edit mode pressing phone for example
3) Nothing happens
How users are able to move icons?
Thanks a lot
| Assignee | ||
Comment 7•12 years ago
|
||
> How users are able to move icons?
Same as in homescreen. long tap on 'Phone' and move around without releasing.
(It only works for apps above the line, not web results)
Comment 8•12 years ago
|
||
Comment on attachment 8337662 [details] [review]
patch - redirect to github PR
In general the code looks good and it is r+. I have some suggestions on github, please address them, thanks
When this bug will be landed, you should fill a new one to implement the smooth transition when the draggable icon is released and goes towards its new position
Good job
Attachment #8337662 -
Flags: review?(crdlc) → review+
Comment 9•12 years ago
|
||
A few bugs I've noticed:
1. Can't remove app by clicking X. Opens the app instead.
2. When dropping an icon, the moved icon animates twice the distance. Reproducable in "Music".
3. When dropping an icon, an icon that changed row position blinks.
Bugs that happened but I can't reproduce:
1. Hovering over an icon didn't move it. Happened a few times only above the 3rd icon in the row.
2. After dropping an icon, still in edit mode, icons do not pulsate. Checked in AppManager and noticed data-transitioning was still "true".
3. Things got funky and icons landed on each other. Rare.
Comment 10•12 years ago
|
||
Visual bug - the dragged (pseudo) icon's text spreads to one line. Should look like the original icon.
Comment 11•12 years ago
|
||
Bug - if you drag an icon downwards (before edit mode is triggered), it'll transition to the bg image full screen mode.
| Assignee | ||
Comment 12•12 years ago
|
||
Fixed:
> implement the smooth transition when the draggable icon is released and goes towards its new position
> Bug - if you drag an icon downwards (before edit mode is triggered), it'll transition to the bg image full screen mode.
Commit: https://github.com/EverythingMe/gaia/commit/dfb6d3ae836d167f386f8141fa92150bf28e61c3
Comment 13•12 years ago
|
||
(Everything.me) from comment #9)
> 2. When dropping an icon, the moved icon animates twice the distance.
> Reproducable in "Music".
> 3. When dropping an icon, an icon that changed row position blinks.
A suggestion for the drag leave transition bugfix. It's not very clean but it's the only method that worked :/
https://github.com/EverythingMe/gaia/commit/adc57d5820a25cc0eaed359b6face174a43c333a(In reply to Ran Ben Aharon
Comment 14•12 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #9)
> 2. After dropping an icon, still in edit mode, icons do not pulsate. Checked
> in AppManager and noticed data-transitioning was still "true".
Found the cause. Elaborated a bit here https://github.com/mozilla-b2g/gaia/pull/14007/files#r8011157
Comment 15•12 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #14)
> (In reply to Ran Ben Aharon (Everything.me) from comment #9)
> > 2. After dropping an icon, still in edit mode, icons do not pulsate. Checked
> > in AppManager and noticed data-transitioning was still "true".
>
> Found the cause. Elaborated a bit here
> https://github.com/mozilla-b2g/gaia/pull/14007/files#0
STR:
1. Open a Collection and go to edit mode.
2. Click the home button. And again to go back to homescreen.
3. Open a Collection.
4. Long press an icon (don't leave) and drag it to another position.
Notice the icons aren't pulsating.
Comment 16•12 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #9)
> A few bugs I've noticed:
> 1. Can't remove app by clicking X. Opens the app instead.
Seems like this is the cause
https://github.com/EverythingMe/gaia/blob/924468-collections-organize/apps/homescreen/style/dragdrop.css#L78
| Assignee | ||
Comment 17•12 years ago
|
||
fixed: un-clickable remove button
https://github.com/EverythingMe/gaia/commit/724f9fedd2fa459d66bf73db1e5567419bf06b86
| Assignee | ||
Comment 18•12 years ago
|
||
fixed: flickering on drop to re-arrange
https://github.com/EverythingMe/gaia/commit/1082c23fcbb1094e9997439a8f17fcd11527bed4
| Assignee | ||
Comment 19•12 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #10)
> Visual bug - the dragged (pseudo) icon's text spreads to one line. Should
> look like the original icon.
This is how it looks when dragging a homescreen app.
| Assignee | ||
Comment 20•12 years ago
|
||
fixed: icons do not pulsate after stop() is called
https://github.com/EverythingMe/gaia/commit/5dc578283e3211de25315bf5998568fc2de89178
| Assignee | ||
Comment 21•12 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #9)
> Hovering over an icon didn't move it.
fixed: https://github.com/EverythingMe/gaia/commit/96706c403ff5d20d918285c4f8e5a1526004fcc8
| Assignee | ||
Comment 22•12 years ago
|
||
fixed: weird bounds behavior
https://github.com/EverythingMe/gaia/commit/da09bcc30e4f09df6786ada134c12c82654d0108
| Assignee | ||
Comment 23•12 years ago
|
||
| Assignee | ||
Comment 24•12 years ago
|
||
fixed: multiple setTimeouts caused laggy behavior
https://github.com/EverythingMe/gaia/commit/ae5bcc87b3de29f7a602734fdeef1eb3f15668d4
| Assignee | ||
Comment 25•12 years ago
|
||
fixed: animate draggable to new position on drop
https://github.com/EverythingMe/gaia/commit/6af75f48ffc3fb310cd834914f9f950fce706d86
Updated•12 years ago
|
Attachment #8337662 -
Flags: review?(ran) → review+
| Assignee | ||
Comment 26•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 27•12 years ago
|
||
I would like to know when evme features will start to create unit tests, any update about it?
Comment 28•12 years ago
|
||
Our first batch of unit tests will be merged soon in Bug 945184
Comment 29•12 years ago
|
||
Cool
You need to log in
before you can comment on or make changes to this bug.
Description
•