Skip to content

About/details panel configured to show at startup does not appear consistently when map is loaded in a context #12441#12451

Open
rowheat02 wants to merge 1 commit into
geosolutions-it:masterfrom
rowheat02:aboutAutoShow
Open

About/details panel configured to show at startup does not appear consistently when map is loaded in a context #12441#12451
rowheat02 wants to merge 1 commit into
geosolutions-it:masterfrom
rowheat02:aboutAutoShow

Conversation

@rowheat02

@rowheat02 rowheat02 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Description

The About panel sometimes did not open on startup, even when “Show at startup” was enabled, because the open action could run before the Details plugin was ready during slow context loading.

This PR now retry the startup open after the Details plugin is registered, and only open it if the map has details, “Show at startup” is enabled, and the panel is not already open.

To test the throttle to 3G and test the context map with “Show at startup” enabled.

Screen.Recording.2026-06-03.at.13.37.49-compressed.mp4

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?

#12441

What is the new behavior?

So the About panel will be opened regarless of the network speed when “Show at startup” is enabled

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

@cla-bot cla-bot Bot added the CLA Ready label Jun 3, 2026
@rowheat02 rowheat02 marked this pull request as ready for review June 3, 2026 08:11
@rowheat02 rowheat02 requested a review from offtherailz June 3, 2026 08:11
@rowheat02 rowheat02 added this to the 2026.01.02 milestone Jun 3, 2026
@tdipisa tdipisa modified the milestones: 2026.01.02, 2026.02.00 Jun 3, 2026

@offtherailz offtherailz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a workaround that duplicates what happens in config.js .
This looks to trigger an "openDetailsPanel" from a "REDUCERS_LOADED" to re-trigger the event in case the reducer was not set...

I think we should extract instead details management from config.js in order to handle all or part of the openDetailsPanel triggering (and conflict resolution with tutorial ) inside the main epic dedicated to this.
Let's separate the concerns

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.

About/details panel configured to show at startup does not appear consistently when map is loaded in a context

3 participants