Skip to content

feat(js,react): activated event when block is displayed #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 8, 2025

Conversation

VojtechVidra
Copy link
Member

No description provided.

@VojtechVidra VojtechVidra changed the title Feat/activated-at feat(js,react): activated event when block is displayed Apr 3, 2025
@VojtechVidra VojtechVidra linked an issue Apr 3, 2025 that may be closed by this pull request
@OPesicka OPesicka requested a review from Copilot April 4, 2025 12:57
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

workspaces/shared/src/types/active-block.ts:32

  • [nitpick] Using the 'get' handler of the Proxy to trigger sendActivate on every access of the 'props' property may lead to unexpected side effects if 'props' is accessed frequently. Although deduplication is handled downstream, consider adding a comment to document this behavior and its rationale.
if (prop === "props") void sendActivate(block.id);

@VojtechVidra VojtechVidra merged commit 42ae65b into main Apr 8, 2025
6 checks passed
@VojtechVidra VojtechVidra deleted the feat/activated-at branch April 8, 2025 13:35
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.

Send activatedAt event when a component block is rendered
1 participant