Skip to content
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

feat: Flow components as children for ReactAdapterComponent #19434

Merged
merged 5 commits into from
Jun 4, 2024

Conversation

caalador
Copy link
Contributor

Add support for having Flow Components
as children in a ReactAdapoterComponent

Fixes #19379

Add support for having Flow Components
as children in a ReactAdapoterComponent

Fixes #19379
Copy link

github-actions bot commented May 23, 2024

Test Results

1 104 files  + 2  1 104 suites  +2   1h 26m 27s ⏱️ + 3m 14s
7 050 tests + 2  6 999 ✅ + 3  51 💤 ±0  0 ❌ ±0 
7 420 runs  +28  7 359 ✅ +29  61 💤 ±0  0 ❌ ±0 

Results for commit 1419681. ± Comparison against base commit a463b40.

♻️ This comment has been updated with latest results.

@caalador caalador marked this pull request as ready for review May 27, 2024 03:41
@mshabarov mshabarov requested review from platosha and tltv May 27, 2024 11:40
tltv
tltv previously approved these changes May 30, 2024
Copy link
Member

@tltv tltv left a comment

Choose a reason for hiding this comment

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

LGTM. Works as expected. Manually tested even ReactAdapterComponent inside a ReactAdapterComponent case works.

@@ -118,6 +129,10 @@ export abstract class ReactAdapterElement extends HTMLElement {
this.#maybeRenderRoot();
}

public addReadyCallback(id: string, readyCallback: ReadyCallbackFunction) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing JSdoc on the public method. Should this be marked as internal in JSdoc, perhaps?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@vaadin-bot vaadin-bot added +0.0.1 and removed +1.0.0 labels Jun 3, 2024
Copy link

sonarcloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
121 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@caalador caalador merged commit 0747540 into main Jun 4, 2024
26 checks passed
@caalador caalador deleted the issues/19379-flow-components-in-react branch June 4, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support content elements in React adapter
6 participants