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

Fix circular imports when importing ReactDialog #14352

Conversation

rannp-toro-cloud
Copy link
Contributor

What it does

This PR changes the import path from dialogs.ts to a specific path where the required types and methods are located to fix the circular dependency error.

Fixes #14347

Contributed on behalf of Toro Cloud

How to test

I added a unit test (packages/core/src/browser/dialogs/react-dialog.spec.tsx) to verify this fix.

Follow-ups

Review checklist

Reminder for reviewers

Fixes eclipse-theia#14347

Contributed on behalf of Toro Cloud

Signed-off-by: Rannie Peralta <[email protected]>
Signed-off-by: Rannie Peralta <[email protected]>
@JonasHelming JonasHelming requested review from sdirix, msujew and tsmaeder and removed request for sdirix and msujew October 28, 2024 07:59
Signed-off-by: Rannie Peralta <[email protected]>
@rannp-toro-cloud rannp-toro-cloud force-pushed the fix-circular-imports-when-importing-react-dialog branch from e3bab7c to d68b0ce Compare October 30, 2024 08:28
@tsmaeder tsmaeder merged commit 5b2836a into eclipse-theia:master Oct 30, 2024
11 checks passed
@jfaltermeier jfaltermeier added this to the 1.55.0 milestone Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Circular imports error between dialogs and widgets files
3 participants