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

Use external DittoPresenceViewerCore dependency #166

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

bplattenburg
Copy link
Member

@bplattenburg bplattenburg commented Dec 13, 2024

Updates to use the presence viewer from its own repo / package as part of the path to a single source of truth for the presence viewer's web code (JS & HTML). All the Swift code stays here.

Depends on getditto/DittoPresenceViewerCore#7

Closes CXTOOLS-358
Part of CXTOOLS-337

Copy link

linear bot commented Dec 13, 2024

Copy link

linear bot commented Dec 13, 2024

@bplattenburg bplattenburg marked this pull request as ready for review December 19, 2024 14:59
@bplattenburg bplattenburg requested a review from a team as a code owner December 19, 2024 14:59
@bplattenburg bplattenburg force-pushed the BP/extract_presence_viewer branch from 36e7fd5 to 8f85300 Compare December 20, 2024 18:32
@bplattenburg
Copy link
Member Author

This will now depend on getditto/DittoPresenceViewerCore#5 and a matching new release of the new package to avoid undoing the work in #167.

Marking as a draft for now.

@bplattenburg bplattenburg marked this pull request as ready for review January 2, 2025 18:17
@bplattenburg bplattenburg marked this pull request as draft January 2, 2025 20:06
Package.swift Outdated Show resolved Hide resolved
Sources/DittoPresenceViewer/JSWebView.swift Show resolved Hide resolved
@bplattenburg bplattenburg changed the title Use external DittoPresenceViewer dependency Use external DittoPresenceViewerCore dependency Jan 3, 2025
// MARK: Constants

private struct LocalizedStrings {
static let title = NSLocalizedString("Ditto Presence",
Copy link
Member Author

@bplattenburg bplattenburg Jan 3, 2025

Choose a reason for hiding this comment

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

We don't actually have any matching localized strings (or any at all in the package), and I was getting some inconsistent build errors from Xcode 16.2 around the Bundle+FrameworkBundle.swift code - removing this single usage allowed me to remove that extension as well.

@bplattenburg
Copy link
Member Author

This now depends on getditto/DittoPresenceViewerCore#7

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