Installed this module for some quick database tweaks and found the handy option of enabling/disabling modules quickly via autocomplete.

Just wanted to report in something suspicious.

There's a current issue with the Migration module [Latest update crashes Blocks UI and Views UI]. Disabling this module trough the Drupal Tweaks interface doesn't take away this problem, whereas doing it trough the Modules page takes it away.

This leads me to think that perhaps something is not done completely right when disabling modules.

CommentFileSizeAuthor
#8 patch (1).diff5.3 KBkenorb

Comments

kenorb’s picture

Status: Active » Needs review

Added additional function to clear js and css after disabling the module.
http://drupal.org/cvs?commit=268178
But probably it's not a problem of that, because when disabling the module you are not uninstalling it, only disabling (so all configuration of the module is still there until completely uninstalled).
Later there could be some additional option to uninstall it as well.

ari-meetai’s picture

If the procedure were the same as when the module is disabled on the Modules page, then the error would have gone away... o_o

Installed your last commit. Will test afterwards.

dkruglyak’s picture

Title: Uninstalling modules issue » Module autocomplete functionality gone
Component: Operations » General
Status: Needs review » Active

I installed this module specifically for autocomplete enable/disable feature shown in the screenshot.

However, I did not see it in "General" tab that only had "node quick operations" and "user quick operations" missing the full functionality of the screenshot.

Why was this module autocomplete functionality dropped? Your existing modules page is absolutely unusable if you have a lot of modules (I have 32 pages!!!). Autocomplete is a real necessity and it would be nice to add further module filtering and sorting (through views?) to your module page.

P.S. Another suggestion is to merge http://drupal.org/project/multisite_info into Drupal tweaks. Access to all sites in one place is very handy.

kenorb’s picture

Feature related to module enabling/disabling has been moved into Modules tab. Autocomplete will be added soon. Sorry.
And thanks for suggestion.

dkruglyak’s picture

Thanks, just wanted to note that with the current version dealing with hundreds, let alone thousands, of modules is not manageable.

Definitely hope you can also add module search, filtering and sorting using views, while keeping autocomplete - which could be just one of the possible views filters?

Hope this can be fixed soon, right now the module is broken for me...

kenorb’s picture

Committed. I reverted recent changes until new part will have autocomplete.
Now should have autocomplete in the first tab.
http://drupal.org/cvs?commit=383248
Sorry for that.

dkruglyak’s picture

OK, I tested the new version and it does not work. The form shows up just fine, but when I pick and module and submit it does not get enabled.

Could you look into what is wrong? By the way, what is this module's behavior if selected module has dependencies? Are they all confirmed/enabled by default?

kenorb’s picture

StatusFileSize
new5.3 KB

Added autocomplete widget in Modules tab.
http://drupal.org/cvs?commit=395536

kenorb’s picture

Status: Active » Needs review

Can you test autocomplete in Modules tab, are you happy to move this widget now away from General tab?

dkruglyak’s picture

OK, I tested it out and I like the new UI/design.

However the functionality is completely broken. I keep getting JavaScript errors, paging links are gone and actual filtering does not work.

Could you please fix it?

P.S. I'd like to have a widget in the General tab as well. No reason to get rid of it.

dkruglyak’s picture

Status: Needs review » Needs work

Now it is completely broken, typing module names always filters out to empty modules list, in both tabs.

kenorb’s picture

Status: Needs work » Fixed

Problem with empty modules list is fixed (#11).
autocomplete widget is back.

kenorb’s picture

Priority: Critical » Normal

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.