backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

Add a "remove" UI for modules & themes (& layouts?) #5320

Open jenlampton opened 3 years ago

jenlampton commented 3 years ago

From @philsward in https://github.com/backdrop/backdrop-issues/issues/4829#issuecomment-781658407

Also, both Themes and Modules need a "remove/delete" option to completely delete them from the file system. Once a theme or module is installed through the GUI, there is no way to get rid of it from the GUI.

findlabnet commented 3 years ago

Once a theme or module is installed through the GUI...

Once and only if a theme or module is installed through the GUI, IMHO.

philsward commented 3 years ago

There's another issue floating around that talks about this. I'll try to link it when I'm in front of the computer to find it.

philsward commented 3 years ago

Issue #3939 deals with deleting from the file system, which leads to #1996 talking about adding stock folders inside the module folder. (1996 should probably be updated to include themes/layouts, to be consistent across the board)

To paraphrase #1996, I suggest that "if" a module/(theme/layout) is added through the GUI, the folder those live in is created upon first download. That way OOTB, there aren't any extra folders inside modules/themes/layouts to confuse new-comers. There are additional benefits that I won't dive into here.