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

Fullscreen Image #1499

Merged
merged 12 commits into from
Dec 16, 2024
Merged

Fullscreen Image #1499

merged 12 commits into from
Dec 16, 2024

Conversation

EricBAndrews
Copy link
Member

@EricBAndrews EricBAndrews commented Dec 13, 2024

Checklist

Pull Request Information

This PR replaces the sheet-based image viewer with an overlay-based implementation. It can be swiped away either up or down, and interactive dismissal works on iPad now too.

I've also moved the audio button to the bottom to avoid conflict with the close button.

@EricBAndrews EricBAndrews requested a review from a team as a code owner December 13, 2024 18:06
@EricBAndrews EricBAndrews requested review from WestonHanners, JakeShirley and Sjmarf and removed request for a team December 13, 2024 18:06
@Sjmarf
Copy link
Contributor

Sjmarf commented Dec 13, 2024

Swipe to dismiss doesn't seem to be working for me on my physical device 🤔

Copy link
Contributor

@Sjmarf Sjmarf left a comment

Choose a reason for hiding this comment

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

The old NavigationPage.imageViewer code needs removing, assuming it isn't still being used anywhere?

@EricBAndrews
Copy link
Member Author

EricBAndrews commented Dec 16, 2024

The old NavigationPage.imageViewer code needs removing, assuming it isn't still being used anywhere?

It is still used--the overlay needs to be a NavigationLayerView to gain access to the share menu and proxy failure popup

Copy link
Contributor

@Sjmarf Sjmarf left a comment

Choose a reason for hiding this comment

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

Ah, I see 👍 LGTM!

Mlem/App/Views/Pages/ImageViewer.swift Outdated Show resolved Hide resolved
@EricBAndrews EricBAndrews merged commit d85e6f5 into dev Dec 16, 2024
2 checks passed
@EricBAndrews EricBAndrews deleted the eric/fullscreen-image branch December 16, 2024 23:55
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.

[2.0] Image jumps to the left when closing preview
2 participants