Bug 1885602 - Part 4: Implement navigating to the settings from the menu header for...
commit88b6e64e98dd5fac15f2cfcddbae3495583aa233
authorGabriel Luong <gabriel.luong@gmail.com>
Thu, 11 Apr 2024 20:46:36 +0000 (11 20:46 +0000)
committerGabriel Luong <gabriel.luong@gmail.com>
Thu, 11 Apr 2024 20:46:36 +0000 (11 20:46 +0000)
treeaa2f3cfc8ccd9a3b8990dc809e2e2d9edab66757
parent14d310a6bd0a128e523b97fd9cc8de45dd781f85
Bug 1885602 - Part 4: Implement navigating to the settings from the menu header for the menu redesign r=android-reviewers,007,matt-tighe

- Introduces a MenuStore with a `isBookmarked` placeholder state.
- Introduces a MenuNavigationMiddleware to handle menu navigation actions.
- Implements navigating to the settings from the settings button in the menu header.

Differential Revision: https://phabricator.services.mozilla.com/D207055
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt [new file with mode: 0644]
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/store/MenuAction.kt [new file with mode: 0644]
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/store/MenuState.kt [new file with mode: 0644]
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/store/MenuStore.kt [new file with mode: 0644]
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/components/menu/MenuNavigationMiddlewareTest.kt [new file with mode: 0644]
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/components/menu/MenuStoreTest.kt [new file with mode: 0644]