Closed Bug 2066843 Opened 2 months ago Closed 2 months ago

[customizable-menu] Add MenuStore

Categories

(Firefox for Android :: Menu, task)

All
Android
task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: petru, Assigned: petru)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 external file)

The customizable menu is to be driven by an MVI UIStore.
In its initial implementation it should have

  • a state with just one property: menuSections: List<MenuSection>
  • a single Update(val menuSections: List<MenuSection>) action
  • a simple reducer that replaces the current menuSections in MenuState with the one from the Update action.

Similar functionality was implemented in the POC from bug 2062694.

Blocks: 2067817

The MenuStore will also have actions dispatched to it to inform about user interactions.
These actions are to be configured and handled by Menu Store middlewares.

Assignee: nobody → petru
Status: NEW → ASSIGNED
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c11491d8dbe1 https://hg.mozilla.org/integration/autoland/rev/e3894c3cdcd7 Create a MenuStore and use it to provide all data from which to display the menu r=android-reviewers,giorga
Whiteboard: [fxdroid][group3] → [fxdroid][android-core]
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: