bastinald / ui

Laravel Livewire & Bootstrap 5 UI & CRUD starter kit.
108 stars 32 forks source link

Feature Request: Searchable/Filterable Tables #2

Closed MACscr closed 3 years ago

MACscr commented 3 years ago

I really like your coding style and everything appears to be very straightforward to use. Great documentation too. Only thing I have left that i really need is a solid livewire table option for BS5. The only one that I know of is https://github.com/rappasoft/laravel-livewire-tables, which isnt bad, but from what i have seen from your packages so far, yours would be even more flexible and easier to use. Have anything in the works?

bastinald commented 3 years ago

Well, I don't really use tables that much anymore. I prefer responsive grids which change based on the viewport.

That being said, I'm considering adding a ui:crud command to generate some basic crud scaffolding, which would include a searchable/sortable/filterable index view for model listings.

MACscr commented 3 years ago

Obviously doesn’t have to be an actual table, but index pages for CRUD type content. Important for admin panels, which is what I am trying to piece together without having to use actual constrictive panels like Nova or Filament.

On May 21, 2021, at 2:51 PM, bastinald @.***> wrote:

Well, I don't really use tables that much anymore. I prefer responsive grids which change based on the viewport.

That being said, I'm considering adding a ui:crud command to generate some basic crud scaffolding, which would include a searchable/sortable/filterable index view for model listings.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bastinald commented 3 years ago

Obviously doesn’t have to be an actual table, but index pages for CRUD type content. Important for admin panels, which is what I am trying to piece together without having to use actual constrictive panels like Nova or Filament. - Mark

I'll work on a new ui:crud command for this over the weekend :)

It will generate actual flexible code for you so the sky is the limit, just like with everything else in this package.

MACscr commented 3 years ago

Awesome! Thank you so much for saving me from all these other messes. Also, I didn’t mind the 40min YouTube video as it was super helpful in getting a good grasp of the framework has available. Thanks again!

On May 21, 2021, at 2:54 PM, bastinald @.***> wrote:

Obviously doesn’t have to be an actual table, but index pages for CRUD type content. Important for admin panels, which is what I am trying to piece together without having to use actual constrictive panels like Nova or Filament. - Mark …

I'll work on a new ui:crud command for this over the weekend :)

It will generate actual flexible code for you so the sky is the limit, just like with everything else in this package.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bastinald commented 3 years ago

@MACscr

I think I'm actually going to make a new package with CRUD in mind.

There are a few things about this package that I feel could have been executed better.

I'll let you know when its done.

MACscr commented 3 years ago

lol, ok. Guess I should slow my role tonight on the project? =P

bastinald commented 3 years ago

Lol yeah. I'm pretty OCD when it comes to releasing new packages every week.

But this new one will be better and have more features. Will implement a lot of stuff from this package with more refinements.

For example right now I'm adding badges to nav items because you currently have no way of doing it aside from straight bootstrap code. Also refining some naming conventions etc.

MACscr commented 3 years ago

Don't change it too much. I love how you can easily embed form elements, etc into blade files as that allows tons of control over the layout of the forms versus even the approach you used in the bastinald/laravel-livewire-forms package.

Also, if it means anything, I have a lot of relational data since this is primary going to be for a CRM for a non profit. With that in mind, its important to be able to tie data together on creation, not after. A generic example would be two models with Posts and PostTags. Its important to be able to assign the tags to the post on post creation. Not simply creating the post, then having to assign the tags or other relational data after the fact that most of the admin panel solutions seem to do for some odd reason. Im a stickler for UX and anything that requires extra clicks/steps than necessary is a big negative to me. Zero clue if what you are making has anything to do with any of that, but wanted to though that out there.

Another simple example would be on user creation, assigning a role or roles during the user creation process, not after the user is created.

On May 21, 2021, at 10:17 PM, bastinald @.***> wrote:

Lol yeah. I'm pretty OCD when it comes to releasing new packages every week.

But this new one will be better and have more features. Will implement a lot of stuff from this package with more refinements.

For example right now I'm adding badges to nav items because you currently have no way of doing it aside from straight bootstrap code. Also refining some naming conventions etc.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

bastinald commented 3 years ago

The new package will be admin panel style but still give you full control just like this one does.

All the existing admin panel packages I've seen for Laravel are either restrictive, clunky, or both.

MACscr commented 3 years ago

I am excited to start testing it tomorrow. ;) lol

On May 21, 2021, at 10:56 PM, bastinald @.***> wrote:

The new package will be admin panel style but still give you full control just like this one does.

All the existing admin panel packages I've seen for Laravel are either restrictive, clunky, or both.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

MACscr commented 3 years ago

Just curious what features you are thinking about doing for this new “admin framework” so I can try not to duplicate work on my current project. Not going to hold you to any of it, but you sound passionate like me and like to get stuff knocked out. No matter what, thanks again for your help and what you have put out so far.

bastinald commented 3 years ago

going to be adding basic crud to this package soon

maybe 2 versions, with and without filters etc

not sure about tables. they're bad on mobile.

bastinald commented 3 years ago

@MACscr just FYI CRUD has now been added with search sort etc.

https://github.com/bastinald/ui#making-crud