Skip to content
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

Use new header to maps listing page #653

Merged

Conversation

junqiu-lei
Copy link
Member

@junqiu-lei junqiu-lei commented Aug 7, 2024

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 using HeaderControl 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)

Screenshot 2024-08-09 at 12 56 41 PM

When turn on home:useNewHomePage

Screenshot 2024-08-09 at 12 56 13 PM

Issues Resolved

Part of #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.

@junqiu-lei junqiu-lei changed the title Apply new header to maps listing page Use new header to maps listing page Aug 7, 2024
Signed-off-by: Junqiu Lei <[email protected]>
@AMoo-Miki
Copy link
Contributor

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.

@junqiu-lei
Copy link
Member Author

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.

@junqiu-lei junqiu-lei merged commit 370e5dd into opensearch-project:feature/new-header Aug 12, 2024
8 of 11 checks passed
@junqiu-lei junqiu-lei deleted the trineo-listing-1 branch August 12, 2024 19:06
junqiu-lei added a commit to junqiu-lei/dashboards-maps that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants