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

Expose web view activation/deactivation in Visitable #135

Merged
merged 7 commits into from
Aug 7, 2023

Conversation

svara
Copy link
Contributor

@svara svara commented Aug 4, 2023

This PR exposes web view activation/deactivation in Visitable.

The main reason we are exposing them is because we need to delegate the web view activation/deactivation to Strada.

@svara svara requested a review from jayohms August 4, 2023 09:59
Copy link
Collaborator

@jayohms jayohms left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

Source/Visitable/Visitable.swift Show resolved Hide resolved
Copy link
Collaborator

@jayohms jayohms left a comment

Choose a reason for hiding this comment

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

@svara once the tests pass, you can merge this over and tag a new release.

You may have to bump this timeout for the failing tests when turbo doesn't exist on a page: https://github.com/hotwired/turbo-ios/blob/main/Tests/SessionSpec.swift#L8 (or just use a separate timeout constant for the failing test from the changes here: #133)

@svara svara merged commit 312f369 into main Aug 7, 2023
1 check passed
@svara svara deleted the expose-visitable-webview-lifecycle branch August 7, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants