Skip to content

Moves some UI elements under a More Information icon#916

Merged
EdwardMoyse merged 2 commits into
mainfrom
add-new-top-level-menu-item
May 30, 2026
Merged

Moves some UI elements under a More Information icon#916
EdwardMoyse merged 2 commits into
mainfrom
add-new-top-level-menu-item

Conversation

@EdwardMoyse
Copy link
Copy Markdown
Member

I also updated the naming to be a bit more consistent, and tweaked the icons.

See #903 for some discussion related to this.

cc @sponce

… icons and naming to be a bit more consistent
From Claude: The root cause was that [checked]="infoPanel?.showInfoPanel" read state via @ViewChild, which is undefined during the first render and resolves to the component instance only after ngAfterViewInit — causing Angular to see a value change mid-cycle (null → false).

The fix tracks each panel's open/closed state with plain boolean properties (showInfoPanel, showEventBrowser, etc.) on MoreInfoComponent itself. These are always initialised to false, so [checked] never changes unexpectedly. The toggle methods update the local flag first, then delegate to the child component's toggleOverlay().
@EdwardMoyse EdwardMoyse merged commit 911f91e into main May 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant