Closed Bug 1826154 Opened 2 years ago Closed 8 months ago

[Tabs tray to Compose] Add `TabsTrayFab` to `TabsTray` preview and refactor `TabsTray` previews

Categories

(Fenix :: Tabs, task, P5)

All
Android
task

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: 007, Assigned: npoon2003)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group4])

Attachments

(1 file)

Until BottomSheetBehavior is no longer needed and TabsTray can instead use a proper bottom sheet Composable, the FAB is not able to live in the TabsTray top-level composable. It would still be useful having TabsTrayFab inside of the TabsTray previews.

As part of this ticket:

  • Add the fab composable to the TabsTray previews.
  • Plumb-in some basic logic to add a tab to the appropriate tab page (i.e. when on normal or private) when the fab is clicked.
Whiteboard: [fxdroid][group4]

I would like to work on this issue

Assignee: nobody → npoon
Assignee: npoon → npoon2003
Summary: [Tabs tray to Compose] Add `TabsTrayFab` to `TabsTray` preview → [Tabs tray to Compose] Add `TabsTrayFab` to `TabsTray` preview and refactor `TabsTray` previews
Blocks: 1899890
Blocks: 1899893
Attachment #9402328 - Attachment description: WIP: Bug 1826154 - Add `TabsTrayFab` to `TabsTray` preview → Bug 1826154 - Add `TabsTrayFab` to `TabsTray` preview
Attachment #9402328 - Attachment description: Bug 1826154 - Add `TabsTrayFab` to `TabsTray` preview → Bug 1826154 - Add `TabsTrayFab` to `TabsTray` preview and refactor `TabsTray` previews
Blocks: 1903637
Pushed by calu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdc3933e985f Add `TabsTrayFab` to `TabsTray` preview and refactor `TabsTray` previews r=android-reviewers,007
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: