activeadmin_addons icon indicating copy to clipboard operation
activeadmin_addons copied to clipboard

Heads up, ActiveAdmin v4 is coming!

Open jgmontoya opened this issue 1 year ago • 10 comments

Hello plataneros, just letting you know that ActiveAdmin V4 is somewhat near and it looks awesome.

I have no idea when it'll be out of beta, if addons is still maintained (please confirm @rjherrera) or what the level of effort for supporting it would be.

Here is an explainer of the breaking changes.

Pinging @difernandez, @gmq and @ldlsegovia just in case I might tickle their interest in this 😅 😄

jgmontoya avatar May 04 '24 00:05 jgmontoya

Hi there 🙌🏻 ! I'm really excited about AA v4 too haha.

I haven't looked much into it to understand whether the update requires too much effort or not (regarding AAA), but at least in one project we have, we will push to update AA to v4. So, as we rely heavily on AAA, we will most likely be compelled to upgrade this gem too.

That being said, I don't really think we will start looking into it before there is a non-beta release or at least a release date for v4 😅.

Thanks for the heads up! I heard about v4 in January and had almost forgotten about it since then.

rjherrera avatar May 06 '24 14:05 rjherrera

@difernandez do you plan to continue maintaining this gem? it seems that the activity abruptly stopped a year ago

matgaw avatar Sep 06 '24 21:09 matgaw

@matgaw no, sorry (and sorry @jgmontoya 😅), I don't plan to, I no longer work at the company maintaining it

difernandez avatar Sep 10 '24 13:09 difernandez

@difernandez is there anyone else who was access and is willing to continue maintaining this gem?

matgaw avatar Sep 10 '24 13:09 matgaw

hi there @matgaw! We still actively use this gem, but we haven't had much time to maintain it and answer to issues, sorry about that. However, I will review some of the issues and PRs in the following days.

Regarding v4, I don't think we will make any implementation until it's out of beta.

rjherrera avatar Sep 10 '24 15:09 rjherrera

I installed activeadmin_addons on a project with v4 and I get uninitialized constant ActiveAdmin::Views::Pages (NameError) on startup.

thisismydesign avatar Oct 04 '24 09:10 thisismydesign

any news or plans about migrating to AA 4?

vnazarenko avatar Nov 26 '24 15:11 vnazarenko

Any update on this? It'd be sad to stop using this gem.

griffero avatar Feb 21 '25 22:02 griffero

I ended up using importmaps (the default of AA v4) and stimulus (default of Rails since v7) to integrate JS libraries into AA v4, for example these show you how to add tom-select:

  • https://stackoverflow.com/questions/78985376/activeadmin-v4-how-to-add-custom-js-via-importmaps
  • https://stackoverflow.com/a/79352359/2771889

Based on this, someone could make an update to activeadmin_addons, or create a similar gem for AA v4, but I'm not sure if it's needed at all. You can just integrate JS explicitly where you need it.

thisismydesign avatar Feb 22 '25 12:02 thisismydesign

I have released activeadmin-hotwire_combobox_filters gem that replaces dropdown filters in AA v4 with hotwire_combobox filters. Check it out and please give me any feedback in the issues: https://github.com/vfonic/activeadmin_hotwire_combobox_filters

vfonic avatar Apr 22 '25 15:04 vfonic