Skip to content

Conversation

@thatswinnie
Copy link
Collaborator

@thatswinnie thatswinnie commented Dec 8, 2025

📜 Tickets

Jira ticket
Github issue

💡 Description

Clean up TabToolbar from old toolbar.

📝 Checklist

  • I filled in the ticket numbers and a description of my work
  • I updated the PR name to follow our PR naming guidelines
  • I ensured unit tests pass and wrote tests for new code
  • If working on UI, I checked and implemented accessibility (Dynamic Text and VoiceOver)
  • If adding telemetry, I read the data stewardship requirements and will request a data review
  • If adding or modifying strings, I read the guidelines and will request a string review from l10n
  • If needed, I updated documentation and added comments to complex code

@thatswinnie thatswinnie requested review from a team as code owners December 8, 2025 12:24
@thatswinnie thatswinnie requested review from clarmso and mdotb-moz and removed request for mdotb-moz December 8, 2025 12:24
@mobiletest-ci-bot
Copy link

mobiletest-ci-bot commented Dec 8, 2025

Messages
📖 Project coverage: 38.03%

✍️ Strings Updated

Detected changes in Shared/Strings.swift.
To keep strings up to standards, please add a member of the firefox-ios-l10n team as reviewer. 🌍

💪 Quality guardian

3 tests files modified. You're a champion of test coverage! 🚀

🏔️ Summit Climber

This PR is a big climb with 1365 lines changed!
Thanks for taking on the heavy lifting 💪.
Reviewers: a quick overview or walkthrough will make the ascent smoother.

🎉 BrowserViewController got smaller

Nice! BrowserViewController.swift got smaller by 41 lines.

❌ Per-file test coverage gate

The following changed file(s) are below 35.0% coverage:

File Coverage Required
firefox-ios/Client/Frontend/Browser/BrowserViewController/Extensions/BrowserViewController+ToolBarActionMenuDelegate.swift 6.0% 35.0%

Client.app: Coverage: 37.12

File Coverage
BrowserViewController.swift 29.22% ⚠️
TopTabsViewController.swift 21.52% ⚠️
PhotonActionSheetView.swift 0.0% ⚠️
BrowserViewController+ToolBarActionMenuDelegate.swift 5.97% ⚠️
OverlayModeManager.swift 88.64%
SingleActionViewModel.swift 48.0% ⚠️
TabTrayViewController.swift 49.51% ⚠️
PrivateModeButton.swift 81.82%

Generated by 🚫 Danger Swift against 3f497aa

@clarmso
Copy link
Collaborator

clarmso commented Dec 8, 2025

I can reproduce the test failures reported on Bitrise.

On iPhone only: There's a split second that the toolbar isn't visible when the test attempts to navigate to private mode.
Screenshot 2025-12-08 at 10 46 11

@mergify
Copy link
Contributor

mergify bot commented Dec 8, 2025

This pull request has conflicts when rebasing. Could you fix it @thatswinnie? 🙏

@mergify
Copy link
Contributor

mergify bot commented Dec 9, 2025

This pull request has conflicts when rebasing. Could you fix it @thatswinnie? 🙏

…olbar

# Conflicts:
#	firefox-ios/Client.xcodeproj/project.pbxproj
navigator.nowAt(HomePanel_Library)
navigator.goto(LibraryPanel_ReadingList)
mozWaitForElementToExist(app.tables[AccessibilityIdentifiers.LibraryPanels.ReadingListPanel.tableView])
// mozWaitForElementToExist(app.buttons[AccessibilityIdentifiers.Toolbar.bookmarksButton])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we comment those here? Should we fix them or discard the test?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Fixed the test.

@thatswinnie thatswinnie merged commit fd71622 into main Dec 11, 2025
8 checks passed
@thatswinnie thatswinnie deleted the wt/clean-up-legacy-toolbar branch December 11, 2025 12:27
@github-actions
Copy link
Contributor

🚀 PR merged to main, targeting version: 147.0

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.

6 participants