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

Refactor FXIOS-7812 [v121] Fakespot - iPad - sidebar open/close state resets itself when user changes from landscape to portrait mode (backport #17587) #17623

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 5, 2023

This is an automatic backport of pull request #17587 done by Mergify.
Cherry-pick of f8565a9 has failed:

On branch mergify/bp/release/v121/pr-17587
Your branch is up to date with 'origin/release/v121'.

You are currently cherry-picking commit f8565a9a1.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   Client/Coordinators/Browser/BrowserCoordinator.swift
	modified:   Client/Frontend/Browser/BrowserViewController/BrowserViewController+URLBarDelegate.swift
	modified:   Client/Frontend/Browser/BrowserViewController/BrowserViewController+WebViewDelegates.swift
	modified:   Client/Frontend/Fakespot/FakespotAction.swift
	modified:   Client/Frontend/Fakespot/FakespotCoordinator.swift
	modified:   Client/Frontend/Fakespot/FakespotUtils.swift
	modified:   Client/Frontend/Fakespot/FakespotViewController.swift
	modified:   Client/Frontend/Toolbar+URLBar/TabLocationView.swift
	modified:   Client/Frontend/Toolbar+URLBar/URLBarView.swift
	modified:   firefox-ios/Tests/ClientTests/Coordinators/BrowserCoordinatorTests.swift
	modified:   firefox-ios/Tests/ClientTests/Coordinators/FakespotCoordinatorTests.swift
	modified:   firefox-ios/Tests/ClientTests/Fakespot/FakespotUtilsTests.swift
	modified:   firefox-ios/Tests/ClientTests/TabTray/Legacy/TabLocationViewTests.swift

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   Client/Frontend/Browser/BrowserViewController.swift
	both modified:   Client/Frontend/Fakespot/FakespotState.swift
	deleted by us:   Client/Frontend/FeltPrivacy/BrowserViewControllerState.swift

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

… resets itself when user changes from landscape to portrait mode (#17587)

* Dismiss sidebar when opting out

* Dismiss sidebar when tapping not now

* Use state to dismiss and show Fakespot

* Dismiss Fakespot when startAtHome

* Use iPad sidebar state

* Update Fakespot when user navigates using the back/forward buttons

* Update Fakespot when user navigates using the back/forward buttons

* Update Fakespot actions

* Open and close fakespot via state change

* Fix bugs related to deep-linking

* Fix test

* Address PR comments

* Fix merge issues

* Fix Swiftlint warning

(cherry picked from commit f8565a9)

# Conflicts:
#	Client/Frontend/Browser/BrowserViewController.swift
#	Client/Frontend/Fakespot/FakespotState.swift
#	Client/Frontend/FeltPrivacy/BrowserViewControllerState.swift
Copy link
Contributor Author

mergify bot commented Dec 5, 2023

This pull request has conflicts when rebasing. Could you fix it @mergify[bot]? 🙏

@adudenamedruby
Copy link
Contributor

ok. Now try it again!

@thatswinnie
Copy link
Contributor

@Mergifyio rebase

Copy link
Contributor Author

mergify bot commented Dec 6, 2023

rebase

☑️ Nothing to do

  • -conflict [:pushpin: rebase requirement]
  • -closed [:pushpin: rebase requirement]

# Conflicts:
#	Client/Frontend/Browser/BrowserViewController.swift
#	Client/Frontend/Fakespot/FakespotState.swift
#	Client/Frontend/FeltPrivacy/BrowserViewControllerState.swift
@mobiletest-ci-bot
Copy link

Messages
📖 Project coverage: 34.52%
📖 Edited 16 files
📖 Created 0 files

Client.app: Coverage: 31.9

File Coverage
BrowserViewController+URLBarDelegate.swift 4.27% ⚠️
BrowserCoordinator.swift 94.19%
BrowserViewControllerState.swift 68.29%
FakespotState.swift 24.14% ⚠️
FakespotCoordinator.swift 100.0%
URLBarView.swift 52.11%
BrowserViewController.swift 17.18% ⚠️
TabLocationView.swift 50.7%
FakespotUtils.swift 87.8%
FakespotViewController.swift 4.96% ⚠️
BrowserViewController+WebViewDelegates.swift 2.07% ⚠️

Generated by 🚫 Danger Swift against a90160a

@thatswinnie thatswinnie merged commit 93b0aad into release/v121 Dec 6, 2023
10 checks passed
@thatswinnie thatswinnie deleted the mergify/bp/release/v121/pr-17587 branch December 6, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants