-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
[Feature] Rewrite UI to use Tailwind #885
Comments
i like the idea but its gonna be so much work |
The main work will be to migrate from adminlte3 css to really anything :D |
Yes it will be, but gives so much less work when it's done though, lol. |
Then let's get started 😂 |
If you want to do this you will have to do it in stages. You can make a list of all the pages you have and then start converting them one by one. Other pages which aren't converted yet can still use the normal CSS files so they won't break. Bootstrap is honestly kinda outdated now in my opinion. Also I wouldn't just use the Tailwind CDN url but instead install Tailwind as a package to get more control. |
To go even further i would do the stages thing as a new theme that is not the default, so the default UI is uniformly. Once most of the user accessible UI has been done it can be switched to be the default theme. Not sure if it makes sense like this |
im gonna actually try to do this |
@LakshmiBhaskarPVL if you are willing to make it and actually known tailwind, there is a possibility that @1day2die have a bounty on that |
starting to work on this today |
you should check discord API rate limit and work whit them |
While we are at it, we could work on some prettier UI in general. |
ctrlpanel clearly need a design rework but it may be complicated to start from zero, maybe some html template could help |
Yeah my original plan was to do it throughout templates / partial
replacements, unfortunately my time got so limited I kept it open for
others.
Especially using the components Laravel / Tailwind have available. It would
work wonders on some pages, especially the main stuff.
|
We can either use tailwind or use this https://ui.shadcn.com/ updating step my step using components would be great. would also greatly improve UI coding speed in the future and should actually be quite easy to implement if done step by step |
@LakshmiBhaskarPVL please keep us updated on your progress. maybe we can help once you started. I probably will. If you create a PR we can all work on it together |
im using vite and scss together and As @BitSec01 said, imma be using the actual tailwind package not the cdn |
i forgor to check that |
a similar thing exist for tailwing. Tailwind-UI https://tailwindui.com/ I would do it something like writing re-useable css classes to be put together to components like widgets, page skeleton etc(tailwind can be used for this as well) |
@LakshmiBhaskarPVL can you create a PR? |
sure
im using both shadcn and tailwind |
I personally wouldnt bring in too many 3rd party dependencies. That often doesnt end well. Also another thing to consider: the less cdn calls the application does, the better. There have been many court cases where people got sued for not stating in their privacy policy etc that there is a dependency to e.g. query etc doing constant cdn calls from the users Browser, essentially leaking private information like IP addresses unknowingly to 3rd party. |
we usually ship all scripts in app, without cdn |
Feature Description
Just like the installer UI did; #781
Rewriting the UI of the panel to use Tailwind instead of Bootstrap means we're more up-to-date, and Tailwind is commonly used alongside Laravel.
Solution Idea
Following are the advantages of using Tailwind CSS –
Following are the advantages of using Bootstrap –
Additional Info
Whoever's interested in making this, please do :)
The text was updated successfully, but these errors were encountered: