opendatacube / datacube-explorer

Web-based exploration of Open Data Cube collections
Apache License 2.0
56 stars 31 forks source link

Make field search capability more discoverable #505

Closed Ariana-B closed 1 year ago

Ariana-B commented 1 year ago

Made field search capability more discoverable as per #491. Also took the opportunity to remove some unnecessary imports and clean up dataset fields grid styling a little.

Auto-determine bounds for 'time' and 'creation_time' to be 1 day when they are not provided, included when they are not provided as a range, as occurs in this use case. Also make dataset maturity search case-insensitive to avoid confusions due to capitalisation in the label.


:books: Documentation preview :books:: https://datacube-explorer--505.org.readthedocs.build/en/505/

pindge commented 1 year ago

is there UI changes? could u take a screenshot in the description

codecov[bot] commented 1 year ago

Codecov Report

Base: 86.04% // Head: 86.46% // Increases project coverage by +0.41% :tada:

Coverage data is based on head (7a34ec8) compared to base (220f29d). Patch coverage: 90.47% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #505 +/- ## =========================================== + Coverage 86.04% 86.46% +0.41% =========================================== Files 24 26 +2 Lines 3281 3427 +146 =========================================== + Hits 2823 2963 +140 - Misses 458 464 +6 ``` | [Impacted Files](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) | Coverage Δ | | |---|---|---| | [cubedash/generate.py](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-Y3ViZWRhc2gvZ2VuZXJhdGUucHk=) | `85.16% <ø> (ø)` | | | [cubedash/\_pages.py](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-Y3ViZWRhc2gvX3BhZ2VzLnB5) | `88.03% <88.23%> (-0.28%)` | :arrow_down: | | [cubedash/\_filters.py](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-Y3ViZWRhc2gvX2ZpbHRlcnMucHk=) | `90.00% <100.00%> (+0.24%)` | :arrow_up: | | [cubedash/\_\_init\_\_.py](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-Y3ViZWRhc2gvX19pbml0X18ucHk=) | `100.00% <0.00%> (ø)` | | | [cubedash/\_model.py](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-Y3ViZWRhc2gvX21vZGVsLnB5) | `96.00% <0.00%> (ø)` | | | [cubedash/\_utils.py](https://codecov.io/gh/opendatacube/datacube-explorer/pull/505/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-Y3ViZWRhc2gvX3V0aWxzLnB5) | `89.55% <0.00%> (+0.26%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.