Closed Bug 2086550 Opened 21 days ago Closed 6 days ago

[customizable-menu] Support hiding and showing back menu sections

Categories

(Firefox for Android :: Menu, task)

All
Android
task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: petru, Assigned: petru)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][android-core])

Attachments

(2 external files)

Users should be able to drag menu items sections in the "Hidden sections" area to have ensure they will not be shown in the menu
and
Users should be able to drag menu items sections **out of ** the "Hidden sections" area to have ensure they will be shown in the menu.

Any change in the menu structure should automatically be persisted.

Figma specs

Add ItemInteractionHandler.onDragEnd, called instead of onDragCancel when
the user lets go of a dragged item without dropping it onto another item.
onDragCancel is still called when the gesture is cancelled. By default
onDragEnd calls onDragCancel so existing handlers work as before.

Sections can be dragged over the hidden sections, or into the area to
drag them into when none are hidden, to hide them. Hidden sections can
be reordered between them or dragged out of there to show them again.
While the last hidden section is dragged, the area to drag sections into
is shown in its place.
Mandatory sections cannot be hidden: let go of over the hidden sections
they are put back where they were, as is any section let go of below
the hidden sections.

Blocks: 2090877
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/25efb022b354 https://hg.mozilla.org/integration/autoland/rev/f1d202e57d54 part 1 - Report when a drag ends in draggable lists r=android-reviewers,jdelorenzo https://github.com/mozilla-firefox/firefox/commit/513b037d9739 https://hg.mozilla.org/integration/autoland/rev/6f5de54498bb part 2 - Allow dragging the sections of the customize menu screen into and out of the hidden sections r=android-reviewers,jdelorenzo
Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: