Closed
Bug 1105985
Opened 10 years ago
Closed 10 years ago
[Stingray][Home] Rearrange mode
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rexboy, Assigned: rexboy)
References
Details
(Whiteboard: [ft:conndevices])
Attachments
(1 file)
We need to implement rearrange mode under edit mode that
- When selecting an item, the cursor is "snapped" to it. User can move
the item around to a new place where he/she wants to.
- When moving to an item, the selected item just switch its position with target item.
- When moving to a folder, the selected item stops above the folder and let user choice if he/she want to move the item into folder, or just press left/right again to just switch position with the item.
- User presses enter to end the rearrange mode and thus confirm item's new position.
Since this behavior is not considered by SpatialNavigator, we may need to improve the implementation of SpatialNavigator depends on situations we encountered
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rexboy
Assignee | ||
Comment 1•10 years ago
|
||
This patch contains
1. entering edit mode
2. rearrange mode
3. some visual applied to navigation bar of edit mode
4. Some css fix on app-deck due to changes in scrollable.js.
dwi2: May you help review this patch? I ended up writing "edit mode" with "arrange mode" together since they're highly related. If you find it difficult to review please let me know. (You may leave smart-buttons for John)
John: Since I added a few types to smart-button and nested the app-button inside a div (for delete and rename button, although they're not functional yet) may you take a look on that?
Attachment #8538425 -
Flags: review?(tzhuang)
Attachment #8538425 -
Flags: feedback?(im)
Comment 2•10 years ago
|
||
Comment on attachment 8538425 [details] [review]
Patch
f- because a regression found. Please find the comments at PR. The suggested code is at there, too.
Suggestion:
*. If possible, please move the code related to edit and rearrange to another class.
Attachment #8538425 -
Flags: feedback?(im) → feedback-
Comment 3•10 years ago
|
||
Extra Suggests:
*. If possible, add the "background-image" support to "text-and-icon" button. This patch only have "data-icon" rules instead of rules related to "background-image".
*. If possible, add underlined-text and text-and-icon example to examples folder.
<smart-button type="underlined-text">This is a TEST</smart-button><br>
<smart-button type="text-and-icon" id="text-and-icon">This is a TEST</smart-button>
Comment 4•10 years ago
|
||
Comment on attachment 8538425 [details] [review]
Patch
I've put my comment on PR. I am OK with most part of the code. But since John has some concern, I'd like to have a second round of review after John's comments are addressed.
Thanks
Attachment #8538425 -
Flags: review?(tzhuang)
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8538425 [details] [review]
Patch
I've just made changes based on comments.
dwi2 and John may you take a look again?
Attachment #8538425 -
Flags: review?(tzhuang)
Attachment #8538425 -
Flags: feedback?(im)
Attachment #8538425 -
Flags: feedback-
Comment 6•10 years ago
|
||
Comment on attachment 8538425 [details] [review]
Patch
Looks good to me.
Attachment #8538425 -
Flags: feedback?(im) → feedback+
Comment 7•10 years ago
|
||
Comment on attachment 8538425 [details] [review]
Patch
Looks good to me, thanks
Attachment #8538425 -
Flags: review?(tzhuang) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•