-
Notifications
You must be signed in to change notification settings - Fork 237
chore(data-modeling): update drawer icon label to be generic #7356
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
Conversation
Assigned |
packages/compass-data-modeling/src/components/drawer/diagram-editor-side-panel.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates the drawer panel in the data modeling component to show generic configuration labels instead of displaying the specific item names. This improves the UI by providing clearer context about what type of configuration is being edited.
- Changes drawer title structure to separate item title from configuration type label
- Updates property naming from
label
totitle
for better semantic clarity - Adds generic labels like "Collection Configuration", "Relationship Configuration", and "Field Configuration"
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
packages/compass-data-modeling/src/components/drawer/diagram-editor-side-panel.tsx | Updates drawer component to use generic configuration labels and separates title from label properties |
packages/compass-data-modeling/src/utils/nodes-and-edges.tsx | Changes div element to italic element for mixed type display |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
packages/compass-data-modeling/src/components/drawer/diagram-editor-side-panel.tsx
Show resolved
Hide resolved
} | ||
> | ||
<div>(mixed)</div> | ||
<i>(mixed)</i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ben mentioned this sometime back in a design review.