Closed junqiu-lei closed 2 months ago
The header changes look good.
Just in case it is not on your radar, the page body also needs updating to use whole width of the page.
The header changes look good.
Just in case it is not on your radar, the page body also needs updating to use whole width of the page.
Just offline synced up with @AMoo-Miki, there is hardcoded width restriction in TableListView
component from OSD, Miki will help to make the table width changeable. Then I can raise another PR for the maps listing page width change align with UX mock.
Description
This PR adds the changes to apply new header to maps listing page when turn on
home:useNewHomePage
in advanced setting.The code change in maps-dashboards plugin mainly is moving
Create map
button from table to header by usingHeaderControl
provided from OSD header collective branch navigation component.This PR is target to
feature/new-header
branch, since above OSD code change isn't available in main branch yet. Will add integ test after this PR and OSD feature code is merged to main.Screenshot
When turn off
home:useNewHomePage
(by default)When turn on
home:useNewHomePage
Issues Resolved
Part of https://github.com/opensearch-project/dashboards-maps/issues/649
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.