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

feat(mac): ✨ use quick look for image popups #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

piotrski
Copy link
Contributor

Use system quick look to preview images instead of custom popup

image

@piotrski piotrski force-pushed the feat/use-quick-look branch 2 times, most recently from ab0ed44 to cfcb991 Compare September 30, 2022 10:59
@Leland
Copy link

Leland commented Oct 2, 2022

Huge win.

A major next step would be making the images focusable, so users can Tab between them and press Space to trigger Quick Look views.

@divamgupta
Copy link
Owner

Thanks for the PR. I have plans to build it for windows and other OS as well. Can we only use quick look when its macOS

@piotrski
Copy link
Contributor Author

piotrski commented Oct 2, 2022

This is exactly what I did, I check the platform and use quick look only on mac, all others use the old popup window.

Thanks for the PR. I have plans to build it for windows and other OS as well. Can we only use quick look when its macOS

@@ -3,7 +3,7 @@
<div class="animatable_content_box ">

<div v-if="Object.values(app_state.history).length > 0">
<div v-for="history_box in Object.values(app_state.history).reverse()" :key="history_box.key" style="clear: both;">
<div v-for="history_box in Object.values(app_state.history)" :key="history_box.key" style="clear: both;">
Copy link
Owner

Choose a reason for hiding this comment

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

why remove the .reverse ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I must have made a mistake while rebasing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BTW why history is stored as an object with random keys instead of array?

@Leland
Copy link

Leland commented Oct 3, 2022

Fixes #173

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.

None yet

3 participants