[Tabs tray to Compose] Consolidate the `onTabMultiSelectClick` and `onTabClick` lambdas and move this logic into the Controller
Categories
(Fenix :: Tabs, task, P3)
Tracking
(firefox115 verified)
Tracking | Status | |
---|---|---|
firefox115 | --- | verified |
People
(Reporter: 007, Assigned: 007)
References
Details
(Whiteboard: [fxdroid])
Attachments
(2 files)
There should, ideally, only be one lambda for handling tab clicks, and the Controller should be the one to handle whether the tab was clicked in one state (Mode) or another.
As part of this ticket:
- Consolidate the two tab click lambdas
- Add this logic bifurcation to
TabsTrayController
Notes for QA:
This is a business logic refactor, so all currently functionality should be maintained after this ticket. Please do a simple validation to ensure there have been no behavior regressions around clicking to open tabs and tab multi-selection.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
Comment 3•1 year ago
|
||
Authored by https://github.com/MozillaNoah
https://github.com/mozilla-mobile/firefox-android/commit/56539b80f37d59b9abbacd36c899d17296f05590
[main] Bug 1833757 - Merge onTabMultiSelectClick
and onTabClick
lambdas
Verified as fixed on the latest Nightly 115.0a1 from 05/26. No regressions were observed while testing the tabs opening/closing and multiple selection.
Devices used:
- LG G7 fit (Android 8.1.0)
- Samsung Galaxy A53 5G (Android 13)
- OPPO A15s (Android 10)
Description
•