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 <malika.shamgun@gmail.com>

* Removed KUI icon from maps_legacy plugin

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* import

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Added to CHNAGELOG.md

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Updated CHANGELOG.md

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Update in CHANGELOG.md

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* 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 <miki@amazon.com>

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

Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>

* Resolved merge conflicts

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>

* Apply suggestions from code review

Resolve changelog conflicts

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Malika Shamgunova <malika.shamgun@gmail.com>
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Miki <miki@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
  • Loading branch information
5 people committed 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.