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

#10901: Update plugin documentation of BrandNavbar and localConfig #10911

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsuren1
Copy link
Contributor

@dsuren1 dsuren1 commented Mar 7, 2025

Description

This PR updates localConfig to remove BrandNavbar config and added to mapstore-datadir in this PR to include config and update plugin configuration

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?

What is the new behavior?
Configuration will add logo and hyperlink from datadir to point to configured link

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@dsuren1 dsuren1 added bug BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch Regression MapStore Homepage labels Mar 7, 2025
@dsuren1 dsuren1 added this to the 2025.01.00 milestone Mar 7, 2025
@dsuren1 dsuren1 requested a review from allyoucanmap March 7, 2025 12:22
@dsuren1 dsuren1 self-assigned this Mar 7, 2025
@dsuren1 dsuren1 linked an issue Mar 7, 2025 that may be closed by this pull request
1 task
Comment on lines -415 to -420
{
"name": "BrandNavbar",
"cfg": {
"containerPosition": "header"
}
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we removing BrandNavbar from configuration?
The default application should keep the plugin while in the datadir we should just add the override for the specific cfg to override the logo

Copy link
Contributor Author

@dsuren1 dsuren1 Mar 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin rests in an array block ex: desktop, if we need to override we need to ensure there are in a fixed index position to apply an override. So if it's position accidentally modified we will lose the override and end up modifying a incorrect plugin in the position. To avoid it, I removed it from localConfig and prepended them in the patch file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch bug MapStore Homepage Regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MapStore icon link
2 participants