Open zoltanszogyenyi opened 2 years ago
Hello, the main reason to make this separate repo and package is due to the clutter and bad code practices of flowbite-svelte, it was simpler to just port over the flowbite-react to svelte from scratch than fixing the already existing code.
Hey @edde746,
Thanks for the comment. Could you make a list of bad code practices that you would change for the current Flowbite Svelte library? As I've said, I think that rather than keeping two libraries parallel it would be more beneficial to adopt a single one.
I believe that dialogue together with @shinokada would be helpful.
Thanks!
The entire demo page looks bad, it does not look anything like the flowbite-react page or the official flowbite page.
Thank you for pointing out the shortcomings.
I think the library is still at the early stage and there are more to fix. It will be nice that the community can help to grow.
@shinokada I've stated previously as well, the presentation of Flowbite Svelte needs to be changed and improved and the best way to do it is to use the same layout as from the main docs.
This will help in terms of usability, general UI/UX, SEO, marketing, and more.
As much as I appreciate the code work that you've put into the current library, the presentation has to get up to the standard of the main version which was designed by professional UI/UX designers.
Just my 2 cents.
@zoltanszogyenyi Sure. I need help to make it similar to Flowbite.com.
Hey @edde746 and @shinokada,
I couldn't reach out otherwise so I'm just opening the issue. I'm one of the founders of Flowbite and thanks for your contribution to creating another Svelte library. It's quite impressive!
I think it would be a good idea to objectively compare the two libraries and settle for a version or merge before an alpha release. We could use this thread for the discussion. @shinokada has been one of the first devs to start a Svelte integration and I've talked with him that we should mention it in the main library.
I myself am not a Svelte dev, however, I've worked with React before. In my mind it would be nice if the Svelte community joined forces and contributed to one single repository, this way, the community would benefit a whole lot more.
As one of the core devs from Flowbite I would be more than happy to help out in this process!
As a good example, the React community has joined up very nicely and there are a lot of devs actively working and maintaining the repository and from my knowledge are very close to an alpha release.
That being said, here are the things that I would definitely upgrade for the current Flowbite Svelte library:
Flowbite Svelte: https://flowbite-svelte.com/dropdowns/default
I think that the problem arises when I want to:
Flowbite Svelte BB: https://flowbite-svelte-but-better.vercel.app/dropdown
This is quite a bit nicer because I can customize the component however I want and the code is cleaner frankly. It's also not forcing the developer into using a certain dataset.
In other areas, such as the badge component there are not that many differences:
https://flowbite-svelte.com/badges/default https://flowbite-svelte-but-better.vercel.app/badges
What I propose is to update the main Flowbite Svelte repository based on some of the improvements and @edde746 , I'm sure that these changes would be more than welcome by everyone!
The main reason would be that:
Please keep it a positive discussion, we're all here to provide value to the open-source community ❤️