Skip to content

Commit

Permalink
Removed KUI usage in maps_legacy plugin (#3998)
Browse files Browse the repository at this point in the history
* Removed KUI usage from map_legacy plugin

Signed-off-by: Malika Shamgunova <[email protected]>

* Removed KUI icon from maps_legacy plugin

Signed-off-by: Malika Shamgunova <[email protected]>

* import

Signed-off-by: Malika Shamgunova <[email protected]>

* Added to CHNAGELOG.md

Signed-off-by: Malika Shamgunova <[email protected]>

* Updated CHANGELOG.md

Signed-off-by: Malika Shamgunova <[email protected]>

* Update in CHANGELOG.md

Signed-off-by: Malika Shamgunova <[email protected]>

* Upgrade the backport workflow (#4343)

* Copy over the labels from the original PR
* Label the backport PR with `autocut`
* Label a PR that fails to backport

Signed-off-by: Miki <[email protected]>

* Hide any output from `use_node` checking for Node compatibility (#4237)

Signed-off-by: Miki <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Josh Romero <[email protected]>

* Resolved merge conflicts

Signed-off-by: Malika Shamgunova <[email protected]>

* Apply suggestions from code review

Resolve changelog conflicts

Signed-off-by: Josh Romero <[email protected]>

---------

Signed-off-by: Malika Shamgunova <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Signed-off-by: Miki <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Qingyang(Abby) Hu <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
  • Loading branch information
5 people authored Jul 19, 2023
1 parent 6849437 commit 22a8943
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [Table Visualization] Remove custom styling for text-align:center in favor of OUI utility class. ([#4164](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4164))
- Migrate from legacy elasticsearch client to opensearch-js client in `osd-opensearch-archiver` package([#4142](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4142))
- Replace the use of `bluebird` in `saved_objects` plugin ([#4026](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4026))
- [Maps Legacy] Removed KUI usage in `maps_legacy` plugin([#3998](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3998))
- Relocate tutorials imagery into `src/plugins/home/public/assets/tutorials/logos` ([#4382](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4382))
- [VisBuilder] Use OUI icon ([#4446](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4446))
- [Vis Colors] [VisLib] Update legend colors to use OUI color palette ([#4365](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4365))
Expand Down
9 changes: 9 additions & 0 deletions src/plugins/maps_legacy/public/map/_legend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@
left: $euiSizeXXL;
white-space: nowrap;
}

.mapButton {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome, sans-serif;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function makeFitControl(fitContainer, opensearchDashboardsMap) {
);
$(this._fitContainer)
.html(
`<a class="kuiIcon fa-crop" href="#" title="${fitDatBoundsLabel}" aria-label="${fitDatBoundsLabel}"></a>`
`<a class="mapButton fa-crop" href="#" title="${fitDatBoundsLabel}" aria-label="${fitDatBoundsLabel}"></a>`
)
.on('click', (e) => {
e.preventDefault();
Expand Down

0 comments on commit 22a8943

Please sign in to comment.