Skip to content

#12889 Add Settings option while creating context resources - #12892

Open
Binabh wants to merge 3 commits into
geosolutions-it:masterfrom
Binabh:add-settings-plugin-context-wizard
Open

Binabh wants to merge 3 commits into
geosolutions-it:masterfrom
Binabh:add-settings-plugin-context-wizard

Conversation

@Binabh

@Binabh Binabh commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Description

Adds settings in context map setup wizard. And also updates docs about settings plugin

Screenshot 2026-09-15 at 13 56 39

Please check if the PR fulfills these requirements

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

  • Feature

Issue

What is the current behavior?
#12889

What is the new behavior?
Settings have been added in burger menu

Breaking change

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

  • No

@Binabh
Binabh requested a review from allyoucanmap September 15, 2026 08:13
@cla-bot cla-bot Bot added the CLA Ready label Sep 15, 2026
@Binabh Binabh linked an issue Sep 15, 2026 that may be closed by this pull request
2 tasks
@Binabh Binabh added this to the 2026.03.00 milestone Sep 15, 2026
Comment thread web/client/plugins/Settings.jsx Outdated
Comment on lines +193 to +199
* @prop {string} [cfg.id="mapstore-settings"] HTML identifier used by the panel or dialog wrapper.
* @prop {object} [cfg.style] Inline style applied to the settings content. The default width is 300 px.
* @prop {boolean} [cfg.wrap=false] If `true`, renders the content only while the Settings control is enabled and adds a panel or dialog wrapper.
* @prop {boolean} [cfg.wrapWithPanel=false] If `true` and `cfg.wrap` is enabled, uses a Bootstrap panel instead of a modal dialog rendered through a portal.
* @prop {object} [cfg.panelStyle] Inline style applied to the panel or dialog wrapper. By default it creates an absolutely positioned overlay with a minimum width of 300 px.
* @prop {string} [cfg.panelClassName="toolbar-panel"] CSS class applied to the panel or dialog wrapper.
* @prop {string} [cfg.closeGlyph="1-close"] Glyph used by the modal dialog close button. A falsy value renders the multiplication sign instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can remove these and just keep the overrideSettings below. The property listed here are mainly to change the style of the main component and I think it's better to now expose them for the moment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure. I have done that. Thank You for your feedback!

Comment thread web/client/plugins/Settings.jsx Outdated
Comment on lines +201 to +202
* @prop {boolean} [cfg.overrideSettings.language] Shows or hides the language selector. If omitted from a custom override object, availability is inferred from the locale state.
* @prop {boolean} [cfg.overrideSettings.history] Shows or hides the undo/redo controls. If omitted from a custom override object, availability is inferred from map-history state.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

are these configurations still working?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes they are working. I also verified by changing them in config. But I realized that availability is not inferred from the local state so I have simplified that statement.

@Binabh
Binabh requested a review from allyoucanmap September 18, 2026 08:48
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.

Add Settings option while creating context resources

2 participants