SIGN IN SIGN UP

inlineChat: make status placeholder registration a singleton (#312975)

* inlineChat: make status placeholder registration a singleton

The actionViewItemService.register() call for the StatusPlaceholder
was done per InlineChatZoneWidget instance. Since the service throws
on duplicate (menuId, commandId) registrations, having two zone widgets
(e.g. in side-by-side editors) would crash.

Fix: single process-lifetime registration that dispatches to the correct
widget instance via DOM containment at render time.

Fixes #312792

* defer DOM lookup to rAF since render() runs before DOM attachment
J
Johannes Rieken committed
389fcc75413448ac329dd47d6672c664a7a29106
Parent: ceb044c
Committed by GitHub <noreply@github.com> on 4/28/2026, 10:37:06 AM