-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add shadcn library #77
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I think it is better to add components one by one and only when you need them. Also, components should be already modified according to our design. |
Yeap, let's add components when they'll be needed:) |
@dEdmishka Is it ready to review? |
Em, it is. |
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 think you should add a component from shadcn, to test how easily (difficult) you can use shadcn. Because now we cannot even check if our "theming" is right, and if does it fit for shadcn. Also, you can replace an existing component with a component from shadcn.
And ideally the diff should not be very big. So then it will be easier to maintain our components. You can run npx shadcn-ui diff
to check this.
Did you find out why your build failed? |
It fails in GitHub actions. Moreover it fails locally too. I guess you renamed folder, but forgot to change tsconfig or something like that. messenger-frontend/tsconfig.json Line 26 in 9b5c67b
|
Yes, I changed the folder from incorrect 'UI' to 'ui', and lowercased some folders too, because some folders were lowercased, some not(I don't think that it were the right approach). So, I record these changes to config files too. |
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.
That's it. Returned library configs, tested library button in FormAuth.tsx. And I again checked configs, everything fine and dandy.
@DemianParkhomenko @firehawk89 pls renew your reviews
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've removed bugged alias "@/ui", 'cause in VS Code is simply ignoring it.
Also rechecked all folder names, they should be and they are lowercased, in order to prevent future conflicts.
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
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.
@dEdmishka Thanks for PR. Good job! Some minor comments to resolve and you can merge it.
@dEdmishka @firehawk89 WDYT about renaming components files according to shadcn naming convention? i.e. to kebab case |
I've added brand new React components library which includes all necessary components, like accordion, form, button e.c.