unfoldadmin / django-unfold

Modern Django admin theme for seamless interface development
https://unfoldadmin.com
MIT License
1.94k stars 188 forks source link

Change row action appearance (to buttons) #884

Closed MaartenUreel closed 2 days ago

MaartenUreel commented 3 days ago

Is it a third party application feature request? No

Describe your feature request

There is an existing feature for row actions which works very well: https://unfoldadmin.com/docs/actions/changelist-row/

Currently this is implemented as a dropdown per row: image

The downside is that new users do not notice these dropdowns and are not aware of the functionality there.

For views where I have limited columns and limited number of actions I would prefer to be able to show this as buttons: image

I know I can do this manually by defining a custom display property on the admin and putting the button HTML in there, but it would be nice to be able to do this with less lines and boilerplate.

lukasvinclav commented 2 days ago

The dropdown was implemented on purpose to save horizontal space because these rows tends to display a lot of columns. Now, I can only suggest you to override the template to display them as buttons.