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

Open in album #121

Merged
merged 7 commits into from
Oct 12, 2024
Merged

Open in album #121

merged 7 commits into from
Oct 12, 2024

Conversation

SmilyOrg
Copy link
Owner

@SmilyOrg SmilyOrg commented Oct 8, 2024

Added

  • Open Image in Album context menu entry. This is useful to open an image in album/time-based context from e.g. a search or map view.
    screenshot
  • Scroll persistence: the scrollable views (album, timeline, highlights, flex) now persist the scroll position via a file-based anchor in the URL (f parameter). Refreshing or sharing the URL within a long album should therefore retain the viewed position. This supports the "Open Image in Album" feature by scrolling it into view on page load.

Fixed

  • There is some functionality that scrolls the view to the top when you change the search query, so that you aren't looking at the new results half-way down the page. This scroll reset seemed to be happening a little too often at weird times, so the fix hopefully only makes it reset the scroll exactly for this scenario and no other.

Note that the scroll on load is still a little glitchy, so if it doesn't work the first time, refreshing should fix it.

ui/src/api.js Outdated Show resolved Hide resolved
@SmilyOrg SmilyOrg merged commit 6172d7b into main Oct 12, 2024
1 check passed
@SmilyOrg SmilyOrg deleted the open-in-album branch October 12, 2024 10:56
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