Skip to content

Bugfix [Add new tab gesture] FXIOS issues on new Tab gesture #27993

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

Merged
merged 7 commits into from
Jul 21, 2025

Conversation

FilippoZazzeroni
Copy link
Collaborator

@FilippoZazzeroni FilippoZazzeroni commented Jul 16, 2025

📜 Tickets

Add new tab animation

Jira ticket

Fix blank tab when restarting the app

Jira ticket

Fix theme not being updated on add new tab

Jira ticket
Github issue

Add new tab sync with new tab settings

Jira ticket
Github issue

Add background shadow to Tab preview

Jira ticket
Github issue

💡 Description

Fix the issues reported on Add new tab feature and align new tab with the User settings around add new tab.

🎥 Demos

Simulator.Screen.Recording.-.iPhone.16.-.2025-07-16.at.11.18.20.mp4

📝 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 needed, I updated documentation and added comments to complex code
  • If needed, I added a backport comment (example @Mergifyio backport release/v120)

@FilippoZazzeroni FilippoZazzeroni requested a review from a team as a code owner July 16, 2025 09:16
@mobiletest-ci-bot
Copy link

mobiletest-ci-bot commented Jul 16, 2025

Messages
📖 Project coverage: 35.54%
📖 Edited 8 files
📖 Created 0 files

Client.app: Coverage: 35.26

File Coverage
BrowserViewController.swift 25.49% ⚠️
BrowserCoordinator.swift 69.45%
AddressToolbarContainer.swift 43.29% ⚠️
TabWebViewPreview.swift 46.24% ⚠️
AddressBarPanGestureHandler.swift 26.42% ⚠️

Generated by 🚫 Danger Swift against e358495

@FilippoZazzeroni FilippoZazzeroni changed the title Zazz/add new tab shadow Bugfix [Add new tab gesture] FXIOS issues on new Tab gesture Jul 16, 2025
@FilippoZazzeroni
Copy link
Collaborator Author

@mergify backport release/v141

Copy link
Contributor

mergify bot commented Jul 16, 2025

backport release/v141

✅ Backports have been created

case .topSites:
webPagePreview.setScreenshot(homepageScreenshot)
case nil, .blankPage:
// this is needed otherwise the compiler doesn't which setScreenshot overload to use
Copy link
Collaborator

Choose a reason for hiding this comment

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

small typo in this comment - missing "know" after "doesn't"

case nil, .blankPage:
// this is needed otherwise the compiler doesn't which setScreenshot overload to use
let url: URL? = nil
webPagePreview.setScreenshot(url)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of passing a nil url, isn't it better to have a default parameter set to nil for setScreenshot function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yess i agree @PARAIPAN9

Copy link
Contributor

mergify bot commented Jul 17, 2025

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

@FilippoZazzeroni FilippoZazzeroni merged commit 0023ba8 into main Jul 21, 2025
10 of 11 checks passed
@FilippoZazzeroni FilippoZazzeroni deleted the zazz/add-new-tab-shadow branch July 21, 2025 09:32
mergify bot pushed a commit that referenced this pull request Jul 21, 2025
* Added new tab page settings for the AddressbarPanGestureHandler

* Fix new tab page

* Add missing tests

* Refactor code for better readability

* Refactor as per code review

---------

Co-authored-by: Filippo <[email protected]>
(cherry picked from commit 0023ba8)
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.

4 participants