-
Notifications
You must be signed in to change notification settings - Fork 47
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
🐛 Display Related Tables for Nodes without Relations #797
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: c799f2b The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Issue
Why is this change needed?
There was an issue where, when selecting a table without any relations, the RelatedTables area remained in a loading state and was not displayed. Additionally, pressing the "Open in Main area" button resulted in nothing being shown.
What would you like reviewers to focus on?
To resolve these issues, we modified the logic that takes into account the parent-child relationships of nodes, so that everything now displays as intended.
Testing Verification
2025-02-14.18.19.15.mov
2025-02-14.18.31.50.mov
What was done
🤖 Generated by PR Agent at c799f2b
Detailed Changes
5 files
Refactored node visibility handling in TableDetail component
Integrated new node visibility utilities in auto-layout hook
Added utility to check for non-related child nodes
Exported new utility functions for node handling
Added utility to update node hidden states
1 files
Updated tests for table relationship extraction logic
1 files
Fixed handling of tables without relationships
1 files
Defined constant for non-related table group node ID
1 files
Removed redundant constant declaration for non-related table group
node
2 files
Added changeset for handling tables without relationships
Added changeset for non-related group node visibility fix
Additional Notes