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 TimelineMediaQuickLook in the MediaEventsTimelineScreen. #3598

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

pixlwave
Copy link
Member

Doesn't support swiping yet, just shows a single image.

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-12-10.at.10.36.18.mp4

@pixlwave pixlwave requested a review from a team as a code owner December 10, 2024 11:29
@pixlwave pixlwave requested review from stefanceriu and removed request for a team December 10, 2024 11:29
@@ -111,6 +111,21 @@ class TimelineMediaPreviewController: QLPreviewController, QLPreviewControllerDa

present(detailsHostingController, animated: true)
}

private var detailsButtonIcon: UIImage {
guard let bundle = Bundle(url: Bundle.main.bundleURL.appending(path: "CompoundDesignTokens_CompoundDesignTokens.bundle")) else {
Copy link
Member Author

@pixlwave pixlwave Dec 10, 2024

Choose a reason for hiding this comment

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

Will add a proper method on the design tokens for this.

Copy link

github-actions bot commented Dec 10, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against bf6406c

Doesn't support swiping yet, just shows a single image.
@pixlwave pixlwave force-pushed the doug/timeline-preview-ii branch from 22f8b0e to 1f13908 Compare December 10, 2024 11:35
Copy link

codecov bot commented Dec 10, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
879 1 878 0
View the full list of 1 ❄️ flaky tests
PreviewTests test_userProfileScreen()

Flake rate in main: 14.81% (Passed 92 times, Failed 16 times)

Stack Traces | 2.77s run time
failed - Snapshot "Verified User" does not match reference.

@−
"file:.../__Snapshots__/PreviewTests/test_userProfileScreen-iPhone-16-en-GB.Verified-User.png"
@+
"file:.../tmp/PreviewTests/test_userProfileScreen-iPhone-16-en-GB.Verified-User.png"

To configure output for a custom diff tool, use 'withSnapshotTesting'. For example:

    withSnapshotTesting(diffTool: .ksdiff) {
      // ...
    }

The percentage of pixels that match 0.9031372 is less than required 1.0
The lowest perceptual color precision 0.31062502 is less than required 0.98 (PreviewTests/Sources/PreviewTests.swift:84)

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@stefanceriu stefanceriu added the pr-wip for anything that isn't ready to ship and will be enabled at a later date label Dec 10, 2024
@stefanceriu stefanceriu merged commit e59a705 into develop Dec 10, 2024
5 checks passed
@stefanceriu stefanceriu deleted the doug/timeline-preview-ii branch December 10, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-wip for anything that isn't ready to ship and will be enabled at a later date
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants