This repository has been archived by the owner on Apr 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Refactor overlay into split #1664
Comments
Presumably, the home page will stay the same but we'll want something like this while browsing: We should design for:
|
mcomella
added a commit
that referenced
this issue
Jan 29, 2019
The toolbar and navigationoverlay packages both had one item in them. The toolbar is only used in the navigationoverlay so I didn't see any reason to keep around two very small packages.
mcomella
added a commit
that referenced
this issue
Jan 29, 2019
The NavigationOverlayFragment is starting to get unwieldly: it's 550+ lines and it's hard to figure out which code is related to the toolbar and which code is related to the bottom navigation panel. Since they're being split, now is an opportune time to separate their file contents. Moving the toolbar code out: - Reduces NavOverlayFrag to ~430 lines - Makes the dependencies between the toolbar and bottom navigation panel more obvious - Makes the dependencies between the toolbar and the framework more obvious - Makes the shared code more obvious No functionality was changed and no code was cleaned up: I essentially just moved functions, updated references, and added the necessary parameters. This refactor isn't perfect - e.g. should the NavOverlayFragment really always handle `onNavigationEvent`? - but is intended to make things easier to change later.
mcomella
added a commit
that referenced
this issue
Jan 29, 2019
mcomella
added a commit
that referenced
this issue
Jan 29, 2019
The current focus is the default argument so it's unnecessary for us to pass it in. This simplifies the depependencies that ToolbarUiController has on the NavOverlayFragment.
ghost
added
the
in progress
label
Jan 29, 2019
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
The toolbar and navigationoverlay packages both had one item in them. The toolbar is only used in the navigationoverlay so I didn't see any reason to keep around two very small packages.
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
The NavigationOverlayFragment is starting to get unwieldly: it's 550+ lines and it's hard to figure out which code is related to the toolbar and which code is related to the bottom navigation panel. Since they're being split, now is an opportune time to separate their file contents. Moving the toolbar code out: - Reduces NavOverlayFrag to ~430 lines - Makes the dependencies between the toolbar and bottom navigation panel more obvious - Makes the dependencies between the toolbar and the framework more obvious - Makes the shared code more obvious No functionality was changed and no code was cleaned up: I essentially just moved functions, updated references, and added the necessary parameters. This refactor isn't perfect - e.g. should the NavOverlayFragment really always handle `onNavigationEvent`? - but is intended to make things easier to change later.
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
The current focus is the default argument so it's unnecessary for us to pass it in. This simplifies the depependencies that ToolbarUiController has on the NavOverlayFragment.
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
The toolbar and navigationoverlay packages both had one item in them. The toolbar is only used in the navigationoverlay so I didn't see any reason to keep around two very small packages.
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
The NavigationOverlayFragment is starting to get unwieldly: it's 550+ lines and it's hard to figure out which code is related to the toolbar and which code is related to the bottom navigation panel. Since they're being split, now is an opportune time to separate their file contents. Moving the toolbar code out: - Reduces NavOverlayFrag to ~430 lines - Makes the dependencies between the toolbar and bottom navigation panel more obvious - Makes the dependencies between the toolbar and the framework more obvious - Makes the shared code more obvious No functionality was changed and no code was cleaned up: I essentially just moved functions, updated references, and added the necessary parameters. This refactor isn't perfect - e.g. should the NavOverlayFragment really always handle `onNavigationEvent`? - but is intended to make things easier to change later.
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
The current focus is the default argument so it's unnecessary for us to pass it in. This simplifies the depependencies that ToolbarUiController has on the NavOverlayFragment.
mcomella
added a commit
that referenced
this issue
Jan 30, 2019
mcomella
added a commit
that referenced
this issue
Jan 31, 2019
The toolbar and navigationoverlay packages both had one item in them. The toolbar is only used in the navigationoverlay so I didn't see any reason to keep around two very small packages.
mcomella
added a commit
that referenced
this issue
Jan 31, 2019
The NavigationOverlayFragment is starting to get unwieldly: it's 550+ lines and it's hard to figure out which code is related to the toolbar and which code is related to the bottom navigation panel. Since they're being split, now is an opportune time to separate their file contents. Moving the toolbar code out: - Reduces NavOverlayFrag to ~430 lines - Makes the dependencies between the toolbar and bottom navigation panel more obvious - Makes the dependencies between the toolbar and the framework more obvious - Makes the shared code more obvious No functionality was changed and no code was cleaned up: I essentially just moved functions, updated references, and added the necessary parameters. This refactor isn't perfect - e.g. should the NavOverlayFragment really always handle `onNavigationEvent`? - but is intended to make things easier to change later.
mcomella
added a commit
that referenced
this issue
Jan 31, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
I'm also sending @brampitoyo a build so I can get some feedback on various sizing of the toolbar, window space, etc, but since this is landing turned off I can file the polish in a later bug. |
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
to liuche/firefox-tv
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
liuche
added a commit
that referenced
this issue
Feb 23, 2019
ghost
removed
the
in progress
label
Feb 23, 2019
This was referenced Feb 25, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Refactor overlay into split
Why/User Benefit/User Problem
What / Requirements
Acceptance Criteria (how do I know when I’m done?)
The text was updated successfully, but these errors were encountered: