-
Notifications
You must be signed in to change notification settings - Fork 1
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
Restored columnType visibility #290
Conversation
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.
LGTM🚀
@@ -48,7 +48,7 @@ | |||
transition: opacity 300ms var(--default-timing-function); | |||
} | |||
|
|||
.wrapper:hover .columnType { |
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.
Let me know why this is not working ?👀
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.
I didn't know about that either, but I've just been informed(Mr. Miyagi told me).
You're attempting to access a class named "columnType" from TableNode,
TableNode.module.css
.wrapper:hover .columnType {
opacity: 1;
}
but the real class name is obfuscated. (it is not columnType
)
As a result, you couldn't reference the class from another file. I've resolved this by utilizing the data attribute and global:.
ref: 296fdaa
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.
Thank you for explaining.
data-*
attributes can be used in that situation, I see 👍
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.
Yes😆 This time, we were able to fix the issue by only modifying the CSS.
dfac2c6
to
296fdaa
Compare
@MH4GF commit: 296fdaa preview: https://liam-erd-sample-6h1szphmk-route-06-core.vercel.app/ |
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.
Thank you for your work 🚀
Summary
Resolved the problem that prevented the column type from being shown on TableNode hover.
Before
After
Related Issue
Changes
Testing
Other Information
In contrast to the design, where column types are shown for all relevant TableNodes on hover, this implementation displays the column type only for the hovered TableNode.(In order to fix the bug quickly.)