Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-selection: Add new FAB to the tab switcher #5467

Open
wants to merge 4 commits into
base: feature/ondrej/tab-multi-selection
Choose a base branch
from

Conversation

0nko
Copy link
Member

@0nko 0nko commented Jan 14, 2025

Task/Issue URL: https://app.asana.com/0/715106103902962/1207969573539951/f

Description

This PR adds the FAB to the tab switcher. It is hidden under a feature flag, which must be enabled first.

This PR demonstrates the 2 states of the FAB that will be used later in the multi-selection -- "New Tab" & "Close Tabs". Clicking the button will not actually change this in the actual implementation.

Steps to test this PR

  • Go to Settings -> Feature Flag Inventory
  • Type "multi"
  • Enable the feature flag
  • Leave the tab switcher activity if there already
  • Open the tab switcher activity
  • Notice the FAB is displayed
  • Verify the + icon is shown and the title is "New Tab"
  • Scroll up & down
  • Verify that the FAB is hidden while scrolling
  • Tap on the FAB
  • Verify the icon changes to x and title says "Close Tabs"

Copy link
Member Author

0nko commented Jan 14, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@0nko 0nko changed the title Add new FAB styles Add new FAB to the tab switcher Jan 14, 2025
@0nko 0nko marked this pull request as ready for review January 14, 2025 13:16
@0nko 0nko changed the title Add new FAB to the tab switcher Multi-selection: Add new FAB to the tab switcher Jan 14, 2025
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 0b382b2 to 8492b52 Compare January 15, 2025 17:28
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection-fab branch from 67aa25e to c303d4b Compare January 15, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant