Closed Bug 1254039 Opened 9 years ago Closed 9 years ago

[TV][Home] Move rename, rearrange, and delete from edit mode to context menu.

Categories

(Firefox OS Graveyard :: Gaia::TV::Home, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.6+)

RESOLVED FIXED
blocking-b2g 2.6+

People

(Reporter: rexboy, Assigned: Fischer)

References

Details

(Whiteboard: [ft:conndevices])

Attachments

(2 files)

In v2.6, we decide to remove rename, rearrange, and delete features to context menu. Then we no longer enter edit mode directly.
Assignee: nobody → fliu
blocking-b2g: --- → 2.6+
Whiteboard: [ft:conndevices]
Hi Fischer, Could you provide a target milestone? Thanks
Flags: needinfo?(fliu)
Target to have the function implementation done and get into code review this week. However, some UI styles are not yet ready so the UI styles would be done in another bug once ready.
Flags: needinfo?(fliu)
Blocks: 1264167
No longer blocks: 1264167
Depends on: 1264167
Comment on attachment 8742185 [details] [review] [gaia] Fischer-L:bug_1254039-home-context-menu > mozilla-b2g:master @Rex, This patch - Enable context menu based on app type to edit cards in smart home: - deck type: move, - folder type: move, edit folder, - tv, app, appbookmark: move, rename, remove - Context menu only can be triggered in the normal state - Remove the edit button so as to enter edit mode only through context menu Thanks
Attachment #8742185 - Flags: review?(rexboy)
Comment on attachment 8742185 [details] [review] [gaia] Fischer-L:bug_1254039-home-context-menu > mozilla-b2g:master This patch is going on a direction that I didn't expected. Let's have some discussion tomorrow.
Attachment #8742185 - Flags: review?(rexboy)
Comment on attachment 8742185 [details] [review] [gaia] Fischer-L:bug_1254039-home-context-menu > mozilla-b2g:master @Rex, Update the patch to - Move focus handling during enter.exiting the edit mode inside the toggleEditMode method. - Use event instead of Promise to reduce the complexity of removing card job. Thanks
Attachment #8742185 - Flags: review?(rexboy)
Comment on attachment 8742185 [details] [review] [gaia] Fischer-L:bug_1254039-home-context-menu > mozilla-b2g:master Much better but I think we can make things easier. See my comments on Github.
Attachment #8742185 - Flags: review?(rexboy)
Comment on attachment 8742185 [details] [review] [gaia] Fischer-L:bug_1254039-home-context-menu > mozilla-b2g:master @Luke, This patch has been updated based on Rex's suggestions: - Skip entering the edit mode and rename/unpin card directly - Bind contextmenu to folder-list and card-list to eliminate the handling of disable contextmenu when showing card picker. Please have a look. Thank you.
Attachment #8742185 - Flags: review?(lchang)
Comment on attachment 8742185 [details] [review] [gaia] Fischer-L:bug_1254039-home-context-menu > mozilla-b2g:master Great work! Thanks.
Attachment #8742185 - Flags: review?(lchang) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: