Needs work
Project:
Drupal core
Version:
main
Component:
taxonomy.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jan 2013 at 22:53 UTC
Updated:
10 Jan 2022 at 12:54 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
yesct commentedNot exactly the same situation, but close:
See the more common pattern of linking the name of something, and having edit in the drop button on the other end of the table.
Comment #2
sunClarifying issue title.
If we do this, then I think it should be consistent for most Configurables; e.g., also applying to content types on admin/structure/types, and so on.
Comment #3
larowlanAlso #1891690: Use EntityListController for vocabularies
Comment #4
andypostWe also need to decide on field_ui operations and probably delete operation + translate
Comment #5
joachim commentedCurrently, the label in each row is not bad in the base EntityListController class. So if we're wanting to make this change consistently across all entity types, it means a lot of classes to change.
I'd suggest fixing #2084255: add label to rows in EntityListController first.
Comment #6
yoroy commentedComment #7
pguillard commentedSo, this small patch, only addressing the vocabulary label link in administrative listing.
Comment #8
joachim commentedThe docs for l() say:
> This method is a convenience wrapper for the link generator service's generate() method. For detailed documentation, see \Drupal\Core\Routing\LinkGeneratorInterface::generate().
So presumably this could be called on an injected service instead?
Comment #9
andypostThis should use '#type=>link' as
\Drupal\node\NodeListBuilder::buildRow()useComment #10
andypostSomething like that
We can't use *data* because
\Drupal\Core\Config\Entity\DraggableListBuilder::buildForm()using label value as stringComment #12
andypostlooks unrelated fail
Comment #13
andypostAny reviews?
Comment #14
joachim commentedYup, looks good to me.
Comment #15
xjmHmm, I am not sure about this change. For one thing, we already changed it so that "list terms" is the default operation for the dropbutton (rather than edit) so the original problem statement in the summary is no longer applicable. For another, some users might expect the link to point to the vocab edit page, and others might expect the list terms page.
Nodes, taxonomy terms, etc. link to view the thing in the admin listing, but they are content entities. Vocabularies are configuration entities providing a bundle for a content entity type. The closest analog I can think of for vocabularies is the
/admin/structure/typespage for administering content types, and that does not link the name of the content type to anything.The links to nodes and taxonomy terms also do not duplicate any dropbutton operation.
Let's add updated before-and-after screenshots and then get a usability review of the proposed change.
Comment #16
xjmI also might recommend simply postponing this on a better overall design for the vocab pages (see #1340500-28: Merge "list terms" page into "edit vocabulary" page).
Comment #18
NikitaJain commentedTested the latest patch (1891746-10.patch) getting an error while applying the patch on 8.3.x-dev.
Screenshot attached.
Comment #19
oleksiyReroll of the latest patch (1891746-10.patch)
Comment #20
Bojhan commentedI can review after screens.
Comment #21
pguillard commentedStill don't know what to decide according to #15 and #16.
Anyway I tested the patch, and if we pursue that way, this is RTBC.
Comment #25
matthieuscarset commentedHi here,
I've tested the patch and it's RTBC.
Hope to see this in core soon.
I think this is a basic improvement and such a quick fix that will everybody's life easier with Taxonomy in Drupal :)
Comment #26
idebr commentedLet's do the usability review xjm requested in #15. Screenshot is available in #21
Comment #27
andypostComment #33
abhijith s commentedPatch #19 failed in 9.2x.Needs reroll
Comment #34
abhijith s commentedRerolled patch #19 .Please check and verify
Including screenshots after applying this patch

Comment #36
anmolgoyal74 commentedFixed the failed test cases.
Comment #39
vikashsoni commented#36 patch applied successfully and looks good for me
Thanks for the patch
For ref sharing screenshot ....
Comment #40
ranjith_kumar_k_u commentedRe-rolled for 9.4.