Refactor NimbusBranchesController to decouple it from Android dependencies
Categories
(Firefox for Android :: Tooling, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox142 | --- | fixed |
People
(Reporter: mcarare, Assigned: mcarare)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group6])
Attachments
(1 file)
NimbusBranchesController
current design encompasses responsibilities beyond the scope of its NimbusBranchesAdapterDelegate
interface, creating tight coupling with framework components and application services that are difficult to isolate and mock in a unit testing environment. This over-extension of responsibilities hinders effective testing and makes the controller less maintainable and harder to reason about.
We should refactor it and clearly split responsabilities with it's instantiator, NimbusBranchesFragment
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
This commit refactors NimbusBranchesController
to remove its direct dependency on Android Context
and NavController
as well as Fenix specific components.
Comment 2•2 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:mcarare, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•2 months ago
|
Comment 4•2 months ago
|
||
bugherder |
Description
•