Remove the entry points for adding tabs to collections
Categories
(Firefox for Android :: Collections, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
Details
(Whiteboard: [fxdroid] [group5])
Attachments
(7 external files, 1 obsolete file)
With collections being migrated to tab groups, remove the entry points for adding tabs to collections. Existing collections should stay viewable on the homepage for users who turn off the "Hide Collections UI" secret setting (hideCollectionsUi).
Today every way of adding tabs to a collection is hidden behind Settings.collections, so turning the secret setting off brings them all back. Remove them instead:
- The "Add to collection" button in the tabs tray multi-select banner, along with
CollectionsDialog,CollectionsListAdapterand their layouts and strings. - The "Save to collection" item in the browser menu (
FenixMenuItem.SaveToCollectionandSaveToCollectionMenuItemProvider). It is also still listed in the menu customization screen and preview. - The "Add tab" option in the homepage collection menu, plus leftover code from the removed collections placeholder.
- The unit and UI tests for these entry points.
Viewing, opening, deleting and sharing existing collections from the homepage stays as is.
Updated•16 days ago
|
| Assignee | ||
Comment 1•15 days ago
|
||
- Saved menu customizations only store section ids, so removing the item does not affect them
| Assignee | ||
Comment 2•15 days ago
|
||
| Assignee | ||
Comment 3•15 days ago
|
||
CollectionsDialogis left unused and is removed in the next part
| Assignee | ||
Comment 4•15 days ago
|
||
- Remove leftover code from the removed collections placeholder that nothing calls
Updated•15 days ago
|
Updated•15 days ago
|
Updated•15 days ago
|
| Assignee | ||
Comment 5•15 days ago
|
||
- Its only caller was the tabs tray button removed in Part 2
- Use the androidx.preference
recycler_viewid in settings, which only resolved through the deleted collection dialog layout
| Assignee | ||
Comment 6•15 days ago
|
||
| Assignee | ||
Comment 7•15 days ago
|
||
- Rename was its last entry point, removed in Part 5
- Remove the collection saved snackbars, which only collection creation triggered
| Assignee | ||
Comment 8•15 days ago
|
||
Comment 10•14 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0e87ca1d1ebb
https://hg.mozilla.org/mozilla-central/rev/5843d797ea3b
https://hg.mozilla.org/mozilla-central/rev/62552dd6cebc
https://hg.mozilla.org/mozilla-central/rev/bfa1d5d0c380
https://hg.mozilla.org/mozilla-central/rev/a4f8d012dd18
https://hg.mozilla.org/mozilla-central/rev/b537cb0ad5a3
https://hg.mozilla.org/mozilla-central/rev/364c74d04308
Description
•