-
Notifications
You must be signed in to change notification settings - Fork 46
[Datahub]: Add interactive map filter to STAC viewer #1403
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
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
733719a
feat(libs/ui/map): add MapFilterComponent
AlexianMasson 3eb3421
feat: use gn-ui-filter-map inside StacViewComponent
AlexianMasson d4c55d9
refactor(MapContainerComponent): minor changes (mostly moving code pa…
AlexianMasson 218f352
refactor(MapContainerComponent): add destroy$ + minor cleaning + comm…
AlexianMasson b9b2917
refactor(MapContainerComponent): add setupEventListener(..)
AlexianMasson 0e973d2
feat(MapContainerComponent): add extentChange
AlexianMasson f871678
refactor: allow content projection inside MapContainer + update MapFi…
AlexianMasson d20bbec
fix(MapContainerComponent): mobile map navigation message was not dis…
AlexianMasson d8ddf02
feat+refactor: remove MapFilterComponent + plug spatial extent to sta…
AlexianMasson 42e40d3
fix(dh): lazy-load the content of the Stac preview tab
jahow e5c7458
feat(stac-view): synchronize map extent with STAC filters and improve…
AlexianMasson 3e9eaed
Merge remote-tracking branch 'origin/main' into dh-add-map-inside-sta…
AlexianMasson 096c139
chore: upgrade @geospatial-sdk packages from 0.0.5-dev.37 to 0.0.5-de…
AlexianMasson 3f34388
clean(StacViewComponent): remove useless and duplicated imports
AlexianMasson 8f64d97
refactor(StacViewComponent): use pairWise to check if we need to rese…
AlexianMasson 634e2ce
refactor(MapContainerComponent): resolvedExtentChange to follow the s…
AlexianMasson 26a2b28
fix(StacViewComponent): responsive behavior + rows width
AlexianMasson 26de576
fix(StacViewComponent): ensure OpenLayers controls are above the cust…
AlexianMasson d5dc72d
refactor(StacViewComponent): convert isFilterModified to observable p…
AlexianMasson c276191
fix(StacViewComponent): only reset spatial filter when enabled
AlexianMasson 1d1e656
fix: update package-lock.json
AlexianMasson 19a4400
test: add test for StacViewComponent and MapContainerComponent
AlexianMasson 028c14d
docs: update
AlexianMasson bf68fae
chore: upgrade @geospatial-sdk packages from 0.0.5-dev.39 to 0.0.5-de…
AlexianMasson cd53ec6
fix(RecordDataPreviewComponent): 'renders the STAC view component' test
AlexianMasson 983cd78
chore(snyk-security): upgrade github/codeql-action/upload-sarif from …
AlexianMasson a6940ea
fix(StacViewComponent): pixel perfect alignment
AlexianMasson 18cfcce
fix(StacViewComponent): onResetFilters should always reset the spatia…
AlexianMasson c08efc6
fix(StacViewComponent): add prioritizePageScroll like MapViewComponen…
AlexianMasson 0a822ed
refactor(StacViewComponent): put common logic inside a hasFiltersChan…
AlexianMasson f045ff5
fix(CheckToggleComponent): text wrapping
AlexianMasson b5679c5
fix(StacViewComponent): handle translation for toggle label
AlexianMasson 11beabf
fix(StacViewComponent): resetFilters
AlexianMasson ced193d
refactor(MapContainerComponent): use takeUntilDestroyed() instead of …
AlexianMasson 588f9b1
fix(synk): path does not exist: snyk.sarif
AlexianMasson 17398b1
fix(StacViewComponent): tests
AlexianMasson 7ec7f50
fix(StacViewComponent): only request ones for items$
AlexianMasson 57a8fb8
fix(StacViewComponent): reset pagination when filters change
AlexianMasson 289e195
fix(StaceViewComponent): tests
AlexianMasson c7107bc
formatting
AlexianMasson 0bb3531
fix(XmlUtils): "should parse valid XML without errors" test
AlexianMasson eab72ae
fix&test(StacViewComponent): reset currentPageUrl$ to initialPageUrl …
AlexianMasson 984b5f8
refactor(StacViewComponent): group filter and pagination state inside…
AlexianMasson c6e56d8
Merge remote-tracking branch 'origin/main' into dh-add-map-inside-sta…
AlexianMasson 7b7f9c8
chore: update package-lock.json after merge with main
AlexianMasson bc4153d
fix: lint error and warnings
AlexianMasson b33893c
fix(MdViewEffectsTests): remove warnings
AlexianMasson fae58db
fixStacViewComponent): minor change
AlexianMasson e0ae4b1
fix(DatasetPreview): e2e tests
AlexianMasson 914fd62
clean : move areFilterStatesEqual, areSpatialExtentsEqual & areTempor…
AlexianMasson 2344fac
clean: use @let filterState instead of custom derived observables
AlexianMasson 5e6e531
clean(StacViewComponent): remove useless filterState$.pageUrl value set
AlexianMasson 417e60b
refactor(StacViewComponent Tests): use fakeAsync + tick instead of se…
AlexianMasson 6d0412d
chore: rename mockSpatialExtent to mockInitialSpatialExtent
AlexianMasson f99a4d8
refactor(StacViewComponent Tests): use fakeAsync + tick instead of se…
AlexianMasson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <TileMap version="1.0.0" tilemapservice="https://data.geopf.fr/tms/1.0.0"><Title>Plan IGN</Title><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/epure.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/accentue.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/classique.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/transparent.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/toponymes.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/sans_toponymes.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/attenue.json"/><Metadata type="Other" mime-type="application/json" href="https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/gris.json"/><SRS>EPSG:3857</SRS><BoundingBox CRS="EPSG:3857" minx="-20026376.393709917" maxx="20026376.393709917" miny="-15538711.09630922" maxy="15538711.09630922"/><Origin x="-20037508.342789199" y="-20037508.342789259"/><TileFormat width="256" height="256" mime-type="application/x-protobuf" extension="pbf"/><TileSets profile="none"><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/0" minrow="0" maxrow="0" mincol="0" maxcol="0" units-per-pixel="156543.033928041" order="0"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/1" minrow="0" maxrow="1" mincol="0" maxcol="1" units-per-pixel="78271.516964020499" order="1"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/2" minrow="0" maxrow="3" mincol="0" maxcol="3" units-per-pixel="39135.758482010198" order="2"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/3" minrow="0" maxrow="7" mincol="0" maxcol="7" units-per-pixel="19567.879241005099" order="3"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/4" minrow="1" maxrow="14" mincol="0" maxcol="15" units-per-pixel="9783.9396205025605" order="4"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/5" minrow="3" maxrow="28" mincol="0" maxcol="31" units-per-pixel="4891.9698102512803" order="5"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/6" minrow="7" maxrow="56" mincol="0" maxcol="63" units-per-pixel="2445.9849051256401" order="6"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/7" minrow="14" maxrow="113" mincol="0" maxcol="127" units-per-pixel="1222.9924525628201" order="7"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/8" minrow="28" maxrow="227" mincol="0" maxcol="255" units-per-pixel="611.49622628141003" order="8"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/9" minrow="57" maxrow="454" mincol="0" maxcol="511" units-per-pixel="305.74811314070502" order="9"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/10" minrow="114" maxrow="909" mincol="0" maxcol="1023" units-per-pixel="152.87405657035299" order="10"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/11" minrow="229" maxrow="1818" mincol="0" maxcol="2047" units-per-pixel="76.437028285176197" order="11"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/12" minrow="459" maxrow="3636" mincol="1" maxcol="4094" units-per-pixel="38.218514142588099" order="12"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/13" minrow="919" maxrow="7272" mincol="2" maxcol="8189" units-per-pixel="19.109257071294099" order="13"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/14" minrow="1839" maxrow="14544" mincol="4" maxcol="16379" units-per-pixel="9.55462853564703" order="14"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/15" minrow="3678" maxrow="29089" mincol="9" maxcol="32758" units-per-pixel="4.7773142678235203" order="15"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/16" minrow="7357" maxrow="58178" mincol="18" maxcol="65517" units-per-pixel="2.3886571339117602" order="16"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/17" minrow="14714" maxrow="116357" mincol="36" maxcol="131035" units-per-pixel="1.1943285669558801" order="17"/><TileSet href="https://data.geopf.fr/tms/1.0.0/PLAN.IGN/18" minrow="29428" maxrow="232715" mincol="72" maxcol="262071" units-per-pixel="0.59716428347793904" order="18"/></TileSets></TileMap> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
libs/feature/record/src/lib/stac-view/stac-view.component.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| :host { | ||
| --gn-ui-button-padding: 7px 8px; | ||
| } | ||
|
|
||
| /* Ensure OpenLayers controls are above the custom toggle */ | ||
| ::ng-deep .ol-overlaycontainer-stopevent { | ||
| z-index: 11 !important; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the doc @jahow pointed to, it would make sense to put the contents of all four tabs in
ng-templates(the other tabs only do so for the tab titles), I guess, but we can have a look at this in a separate PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do an atomic PR to handle only those changes :)