Enable map side panel on a per-map basis

Created on 1 August 2022, almost 3 years ago
Updated 30 October 2023, over 1 year ago

Problem/Motivation

I have a simple map used in a form that I would like to render without the side panel. Right now the side panel setting is applied all or nothing by adding the enable_side_panel map behavior in the core farm_map module event subscriber.

Steps to reproduce

N/A

Proposed resolution

Right now the easiest way to alter this behavior is to add an event subscriber that runs after the core one and remove the behavior's attachement. There should be an easier way.... maybe a #default_behaviors or #override_behaviors boolean on the farm_map render element? This could be default to True/False respectively and the core map render event subscriber (and presumably others) would respect this value.

Remaining tasks

TBD

User interface changes

Allow hiding the map side panel on some maps.

API changes

TBD

Data model changes

None.

✨ Feature request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024