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

dynamic search form based on queryables #168

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from

Conversation

alambare
Copy link
Collaborator

@alambare alambare commented Feb 27, 2025

Add a PARAMETERS section in the form of the labextension.
The inputs from this section are generated from the results of EODAG list_queryables() method.

Required parameters are automatically displayed. The optional parameters are available from a dropdown button.

Available values for each input is dynamically adapted from the input selected values using the dynamic behavior of EODAG list_queryables() method. This is particularly useful for ECMWF-like product types (from cop_cds, cop_ads, cop_ewds, wekeo_ecmwf and dedt_lumi)

image
image

@alambare alambare added the enhancement New feature or request label Feb 27, 2025
@alambare alambare self-assigned this Feb 27, 2025
@alambare alambare changed the title Dynamic queryables form dynamic search form based on queryables Feb 27, 2025
@alambare alambare force-pushed the dynamic-queryables-form branch 7 times, most recently from 3c57c9b to 2132000 Compare February 27, 2025 16:06
@alambare alambare requested a review from sbrunato March 4, 2025 15:33
Copy link
Collaborator

@sbrunato sbrunato left a comment

Choose a reason for hiding this comment

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

please

  • rebase
  • replace additional parameters hover message with something like Additional parameters not available in parameters list, and remove link
  • fix ignored geometry issue when selected before provider

@sbrunato sbrunato marked this pull request as draft March 5, 2025 14:17
@alambare alambare force-pushed the dynamic-queryables-form branch from 1f47dfc to 5d6fc0f Compare March 6, 2025 08:59
@alambare alambare force-pushed the dynamic-queryables-form branch from 5d6fc0f to a7f247c Compare March 6, 2025 09:02
@alambare alambare force-pushed the dynamic-queryables-form branch from 9ae64a7 to 20e35e1 Compare March 6, 2025 09:20
@alambare alambare force-pushed the dynamic-queryables-form branch 2 times, most recently from 3e45071 to 9b1ffaf Compare March 7, 2025 17:59
This is to clarify the purpose of this form section
@alambare alambare force-pushed the dynamic-queryables-form branch from 9b1ffaf to e6c0d4c Compare March 7, 2025 18:00
@alambare alambare marked this pull request as ready for review March 7, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants