Closed Bug 1889756 Opened 1 year ago Closed 6 months ago

[toolbar redesign] Create ToolbarTelemetryMiddleware for toolbar telemetry

Categories

(Firefox for Android :: Experimentation and Telemetry, task, P3)

All
Android
task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: royang, Unassigned)

References

Details

(Whiteboard: [fxdroid])

This is a follow up for this comment

Ideally, these should be living in a metrics or telemetry middleware (or in the interactor/controller if there isn't a Store) rather than a lambda in the UI code. This is so:

  • The Compose code is only handling UI logic and dispatches Actions and doesn't care about what happens after.
  • The metrics can be covered with tests.
  • The previews (where applicable) aren't broken.

Long term, we probably want to shoot for having a ToolbarStore with a ToolbarTelemetryMiddleware and ToolbarNavigationMiddleware which handles some of these very complex lambdas in the Compose code:

Severity: -- → N/A
Whiteboard: [fxdroid]

Setting toolbar redesign's follow-up work to priority P3 until we finish fixing our Release blockers.

Priority: -- → P3
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.