opensearch-project / dashboards-maps

:globe_with_meridians: User interface for the backend geospatial plugin which can be integrated with OpenSearch Dashboards and a home for all other map related features.
https://opensearch.org/docs/latest/dashboards/geojson-regionmaps/#custom-vector-maps-with-geojson
Apache License 2.0
17 stars 44 forks source link

Support multi data source display in Maps app #611

Closed junqiu-lei closed 4 months ago

junqiu-lei commented 4 months ago

Description

Support multi data source display in Maps app. In maps list page, it will display all available data source. In maps visualization page, it will display all data sources in using.

Demo

https://github.com/opensearch-project/dashboards-maps/assets/90288540/62e66996-9581-46fe-90cd-d6569e392b37

Test

Will add test in another PR in https://github.com/opensearch-project/opensearch-dashboards-functional-test which can mock remote data source.

Issues Resolved

Part of https://github.com/opensearch-project/dashboards-maps/issues/584

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

junqiu-lei commented 4 months ago

The cypress CI failure is known issue unrelated to this PR.

opensearch-trigger-bot[bot] commented 4 months ago

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-611-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 f325212eb75c491b1b9e715403732d810197c869
# Push it to GitHub
git push --set-upstream origin backport/backport-611-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-611-to-2.x.