Open kimadactyl opened 2 years ago
We could pay for this if it helps https://gorails.com/episodes/datatables-from-scratch-using-hotwire
@geeksforsocialchange/developers Seems like maybe we have done some of this? I'm adding to Barriers to onboarding - but we might want to refactor the issue to take into account whether ticketed elsewhere, done or won'tfix / not a bit deal.
I think these are still valid.
I know kim wants us to roll our own fancy table display, which is a bit Dream Yard, but the other points would be easier cosmetic enhancements that'd make admin life easier.
Is your feature request related to a problem? Please describe.
Currently, datatables only allow string content types. This is getting a bit janky and it would be nice to have fancier types. We should give this a spring clean and make it all nicer.
Describe the solution you'd like
Change the object passed to datatables to include potentially
key
,value
andtype
. Make datatables prettier.Describe alternatives you've considered
Replace the whole thing with Hotwire/Stimulus. This is not necessarily mutually exclusive - I think this will be good prep work for replacing later.
Additional context
Proposed column types and improvements this will allow
Would also like to have:
Implementation plan
Action taken
1275