Skip to content

Improve thumbnail loading performance, relocate search button #269

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
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HUN220
Copy link

@HUN220 HUN220 commented May 20, 2025

Apologies if this PR contains too many changes but the changes are at least nicely separated in the commits.

  • admin.py: add support for windows
  • Move loading of thumbnails to background tasks. This allows the UI to show the results as soon as they return from the STAC catalogue and display the thumbnails as they're loaded asynchronously. If the user pages back/forth before loading is complete the thumbnail requests are cancelled.
  • Fix Update the Search button position #214 by moving the search button below the scroll area of the Search tab so it's always visible.
  • queryables: default datetime to NULL instead of current datetime.

HUN220 added 4 commits May 1, 2025 15:05
Allow the search results to display as soon as the results are returned and
move the loading of the thumbnails to background tasks.

If thumbnails are still loading when you page back and forth, or clear the
results, they will be cancelled.
 This fixes stac-utils#214 by moving the search button below the scroll area
 of the Search tab.
If you enable Data Driven Queryables the current timestamp is used for
the datetime property and the user needs to manually clear it if they don't
want to use it.

If they don't clear the datetime their search won't return any results.
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.

Update the Search button position
1 participant