You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* geosolutions-it#11973: fix issue of MetadataExplorer plugin config - hideThumbnails value setting has no effect
- fix issue of not reflect cfg value for hideThumbnail in MetadataExplorer plugin
- handle use priority for hideThumbnail of service if configred/set then global cfg hideThumbnail from plugin
- add unit tests
* - rename TOGGLE_THUMBNAIL to SET_THUMBNAIL_FLAG for clarity and consistency in catalog action/reducer
- edit unit tests due to above change
* - Enhance JSDoc for cfg.hideThumbnail prop: clarify global vs service configuration behavior.
Copy file name to clipboardExpand all lines: web/client/components/catalog/editor/AdvancedSettings/TMSAdvancedEditor.jsx
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,14 @@ const INITIAL_CODE_VALUE = {
29
29
* - *forceDefaultTileGrid*: When `provider` is `tms`, the option allows to force the usage of global projection's tile grid rather than one provided by server.
30
30
* Useful for TMS services that advertise wrong origin or resolutions
31
31
* - *customTMSConfiguration*: Allows user to configure the tile URL template manually. For more info [Custom TMS](https://mapstore.readthedocs.io/en/latest/user-guide/catalog/#custom-tms)
32
-
*
32
+
*@prop {boolean} globalHideThumbnail - Global default for thumbnail visibility.
33
33
* @prop {object} service the service to edit
34
+
* @prop {function} setValid - Validity state callback.
* @prop {string} cfg.hideThumbnail - Global configuration for thumbnail visibility.
374
+
* - **Value**: `true` to hide thumbnails globally, `false` to show thumbnails in catalog.
375
+
* - **Overrides**: Service-specific configurations take precedence.
374
376
* @prop {object[]} cfg.serviceTypes Service types available to add a new catalog. default: `[{ name: "csw", label: "CSW" }, { name: "wms", label: "WMS" }, { name: "wmts", label: "WMTS" }, { name: "tms", label: "TMS", allowedProviders },{ name: "wfs", label: "WFS" },{ name: "flatgeobuf", label: "FlatGeobuf" }]`.
375
377
* `allowedProviders` is a whitelist of tileProviders from ConfigProvider.js. you can set a global variable allowedProviders in localConfig.json to set it up globally. You can configure it to "ALL" to get all the list (at your own risk, some services could change or not be available anymore)
0 commit comments