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

ImagePane: Gallery and refactor #539

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

Dlurak
Copy link
Collaborator

@Dlurak Dlurak commented Sep 14, 2024

Description

  1. Add support for "galleries" in the ImagePane
    Wikipedia and wikimedia commons categories know give the user a list of multiple images. Those are displayed in a grid. If there are more then four images the user can press a button to open a dialog to see all images.
  2. Full sized images
    Each image/gallery of multiple images know stretch from the left to the right. If the aspect ratio isn't right the space will be filled up with a blurred version of the image.
  3. Arrows to switch galleries
    It wasn't clear anymore that these images are scrollable so now there are arrows on the left and right to make it clear and simple to switch the image.
    The right arrow even is animted to motivate the user to try out more images.
  4. Only images
    Like discussed in Wikimedia audio files #524 audio files are filtered out now.

image
image
image

Notes

It would be quite hard to test the image fetcher for wikipedia images as they now have multiple requests. For this reason I've removed them

ToDo

  • Filter out some generic images from wikipedia

Checklist

  • checked dark mode / light mode
  • checked mobile / desktop
  • checked server-side-rendering (SSR)
  • code style is consistent with the rest of the project
  • new dependencies are reasoned about in PR comments

Copy link

vercel bot commented Sep 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
osmapp ✅ Ready (Inspect) Visit Preview Sep 20, 2024 7:39am

@zbycz
Copy link
Owner

zbycz commented Sep 21, 2024

Thanks, another impressive work 🙂 The code is mostly fine, I have a few comments, but the UX design of the Slider has to be rethinked. And until this is done we can't merge it. I have spent a lot of time on this today, and I am not sure yet how to make a design which will allow to have much more images.

Let me know, if you want me to submit the review comments and work on it. Even though, I am not sure how long it will take until I find inspiration and come up with a design I am comfortable with. For me, the Slider is very key component to the FeaturePanel and I want it to be as balanced and fluent as the current one.

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 participants