Skip to content

Notify open views when config-loaded style groups change - #545

Merged
bnmajor merged 1 commit into
masterfrom
flaky-config
Aug 26, 2026
Merged

Notify open views when config-loaded style groups change#545
bnmajor merged 1 commit into
masterfrom
flaky-config

Conversation

@bnmajor

@bnmajor bnmajor commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The context menu fetches its style groups eagerly in initialize(), before _getConfig's network request resolves, so it could end up showing stale groups from a previously viewed folder until the page was reloaded.

Fix _getConfig to trigger 'h:styleGroupsEdited' once the new groups are saved, matching the pattern DrawWidget uses when groups are edited.

The context menu fetches its style groups eagerly in initialize(), before _getConfig's network
request resolves, so it could end up showing stale groups from a previously viewed folder until the
page was reloaded.

Fix _getConfig to trigger 'h:styleGroupsEdited' once the new groups are saved, matching the pattern
DrawWidget uses when groups are edited.
@bnmajor
bnmajor merged commit 6fcd815 into master Aug 26, 2026
9 checks passed
@bnmajor
bnmajor deleted the flaky-config branch August 26, 2026 13:53
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.

2 participants