Closed Bug 1833757 Opened 1 year ago Closed 1 year ago

[Tabs tray to Compose] Consolidate the `onTabMultiSelectClick` and `onTabClick` lambdas and move this logic into the Controller

Categories

(Fenix :: Tabs, task, P3)

All
Android
task

Tracking

(firefox115 verified)

VERIFIED FIXED
115 Branch
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.

Summary: [Tabs tray to Compose] Consolidate the `onTabMultiSelectClick` and `onTabClick` and move this logic into the Controller → [Tabs tray to Compose] Consolidate the `onTabMultiSelectClick` and `onTabClick` lambdas and move this logic into the Controller
Whiteboard: [fxdroid]
Depends on: 1833756
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

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)
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 1824030
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: