Project:Drupal core
Version:8.x-dev
Component:taxonomy.module
Category:feature request
Priority:normal
Assigned:Zen
Status:needs work

Issue Summary

Similar to the node management page, I believe that terms should also be manageable. The patch:

  • Adds select all/ checkbox support to the page.
  • Adds an operations field similar to the node management page. Other modules can hook in (untested) etc.
  • Uses a multi-step form instead of callbacks. This should enable more complex functionality by contrib modules.
  • Currently only offers a mass delete option in core.

This was created and tested against 1.331 and merged with HEAD.

First time I'm playing with multi-step forms, and I'm sure that this can be improved.

Reviews welcome.

Cheers,
-K.

AttachmentSizeStatusTest resultOperations
taxonomy-management-3.patch8.1 KBIgnored: Check issue status.NoneNone

Comments

#1

I don't know how the 'map arguments' field is supposed to be set.

AttachmentSizeStatusTest resultOperations
taxonomy-management-4.patch8.06 KBIgnored: Check issue status.NoneNone

#2

This is a *really* great idea. I will review the patch later when I have some more time.

#3

*subscribing* to test out later once HEAD is settled down a bit and the dust fell down..

#4

I think this is a good idea. Care to share some screenshots? :)

I'd love to see something for paths too.

Plus, I'd love other modules to be able to tap into these operation boxes and add some of their own. I think we need to take a step back, and come up with a system that provides that.

#5

Yes, other modules can tap into this form. I've cleaned the patch up a little further and also added an example module as a demo of how other modules can hook into this. The screen looks just like the node manager screen.

In the interest of easy reviewing, I've created the patch against Drupal HEAD as of Jan 24 0000 UTC. Consequently, please checkout using the -D switch (something like -D "2007-1-24 05:30" [accounting for my zone offset]).

Thanks
-K

AttachmentSizeStatusTest resultOperations
taxonomy-management-5.patch11.11 KBIgnored: Check issue status.NoneNone

#6

Sync with HEAD + some tidying up.

-K

AttachmentSizeStatusTest resultOperations
tax-multi-step.patch8.21 KBIgnored: Check issue status.NoneNone

#7

And here's the demo module.

AttachmentSizeStatusTest resultOperations
capitalise_0.patch2.49 KBIgnored: Check issue status.NoneNone

#8

Another Sync patch.

AttachmentSizeStatusTest resultOperations
tax-multi-step_0.patch8.21 KBIgnored: Check issue status.NoneNone

#9

Zen care to share some screenshots?

#10

Status:needs review» needs work

I like this patch a lot; however, portions of it no longer apply cleanly to HEAD.

# patch -p0 < tax-multi-step_0.patch
(Stripping trailing CRs from patch.)
patching file modules/taxonomy/taxonomy.module
Hunk #2 FAILED at 134.
1 out of 3 hunks FAILED -- saving rejects to file modules/taxonomy/taxonomy.module.rej

#11

Version:6.x-dev» 7.x-dev

Should be re-assessed now this is available: http://drupal.org/project/taxonomy_manager

#12

Version:7.x-dev» 8.x-dev
nobody click here