Skip to content

refactor(content-action-bar): explicitly define change detection stra…#2197

Open
spliffone wants to merge 2 commits into
mainfrom
refactor/content-action-bar-explicit-change-detection-strategy
Open

refactor(content-action-bar): explicitly define change detection stra…#2197
spliffone wants to merge 2 commits into
mainfrom
refactor/content-action-bar-explicit-change-detection-strategy

Conversation

@spliffone

@spliffone spliffone commented Jun 19, 2026

Copy link
Copy Markdown
Member

@spliffone spliffone requested review from a team as code owners June 19, 2026 09:45

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request configures the si-content-action-bar.component.ts component to use ChangeDetectionStrategy.OnPush. The reviewer noted that switching to OnPush may prevent asynchronous updates to plain properties (such as parentElement in ngAfterViewInit) from triggering change detection, and recommended converting parentElement to a signal to ensure UI updates are properly reflected.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread projects/element-ng/content-action-bar/si-content-action-bar.component.ts Outdated

@spike-rabbit spike-rabbit 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.

we should only change this with v51 to OnPush

@spliffone spliffone force-pushed the refactor/content-action-bar-explicit-change-detection-strategy branch from fe4a377 to f3be3eb Compare June 22, 2026 06:55
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