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

✨Implementing a key-only view #308

Merged
merged 4 commits into from
Dec 19, 2024
Merged

✨Implementing a key-only view #308

merged 4 commits into from
Dec 19, 2024

Conversation

FunamaYukina
Copy link
Member

@FunamaYukina FunamaYukina commented Dec 18, 2024

Summary

2 changes.
Preview: https://liam-erd-sample-epqkj9r9x-route-06-core.vercel.app/

1st

Implementing a key-only view

ss 2549

2nd

Add LinkIcon and apply it as an icon for foreign keys.
This applies not only to Key Only views but also to All Fields views.

ss 2553

Related Issue

Changes

Testing

Other Information

@@ -35,26 +35,34 @@ export const TableColumn: FC<TableColumnProps> = ({
className={styles.primaryKeyIcon}
role="img"
aria-label="Primary Key"
strokeWidth={1.5}
Copy link
Member Author

Choose a reason for hiding this comment

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

I've modified the strokeWidth to fit the design.

ss 2550

Copy link
Member

Choose a reason for hiding this comment

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

Oh!! Thanks for noticing!

@FunamaYukina FunamaYukina marked this pull request as ready for review December 19, 2024 03:35
@FunamaYukina FunamaYukina requested a review from a team as a code owner December 19, 2024 03:35
@FunamaYukina FunamaYukina requested review from hoshinotsuyoshi, junkisai, MH4GF and sasamuku and removed request for a team December 19, 2024 03:35
@FunamaYukina
Copy link
Member Author

I'm going to refactor the code to reduce unnecessary use of map and filter functions.🙏

@FunamaYukina
Copy link
Member Author

I've created a new function, shouldDisplayColumn, in the TableColumnList file and refactored the code to minimize the use of map and filter functions.

commit: ab66460
preview: https://liam-erd-sample-anywae9me-route-06-core.vercel.app/

@MH4GF
I'd appreciate it if you could review this again🙏.

Copy link
Member

@MH4GF MH4GF left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks 🚀

@MH4GF MH4GF added this pull request to the merge queue Dec 19, 2024
Merged via the queue into main with commit 96b6407 Dec 19, 2024
12 checks passed
@MH4GF MH4GF deleted the add-key-only-view branch December 19, 2024 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants