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)

defect
Not set
normal

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.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Re-opened this bug and closed the duplicate (bug 922428) instead.
Assignee: nobody → amirn
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)
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
> 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 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+
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.
Visual bug - the dragged (pseudo) icon's text spreads to one line. Should look like the original icon.
Bug - if you drag an icon downwards (before edit mode is triggered), it'll transition to the bg image full screen mode.
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
(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
(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
(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.
(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
(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.
(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
Attachment #8337662 - Flags: review?(ran) → review+
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
I would like to know when evme features will start to create unit tests, any update about it?
Our first batch of unit tests will be merged soon in Bug 945184
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: