Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
node system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 11:08 UTC
Updated:
18 Mar 2025 at 22:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jose reyero commentedBetter title.
Comment #2
casey commentedI agree, but we are developing on the D8 branch.
Comment #3
jose reyero commentedOk, updated patch for D8.
And done the same to node_revision_overview() page.
Comment #4
gábor hojtsyLooks like a great idea! Do we have any test coverage for this page to ensure it works?
@Jose: please submit patches without the -dX ending, so they actually get tested. The -dX ending makes the patch bypass testing.
Comment #5
jose reyero commentedUpdated and renamed patch.
About the test coverage, since existing pages shouldn't change, existing tests will do
Comment #6
andypostLet's normalize a indent for this lines too
Do we have a formal conclusion about operations in tables? Some core's modules places then in one cell some in different. As I remember there was a troubles within field's table when i18n enbaled.
Comment #7
dawehnerThere is an issue about implementing a ui pattern for operation links: #1480854: Convert operation links to '#type' => 'operations'
Do we have a formal conclusion about operations in tables? Some core's modules places then in one cell some in different. As I remember there was a troubles within field's table when i18n enabled.
There seems to be no real conclusion about that.
There are places #theme 'links' is used. Here using actual keys gives you automatic helpful css classes which is kind of cool.
There are places like here on which just hard-coded links are used, which are hard to alter.
Personally i would preper to have some alterable code, so for example using #theme links would be the way to go. What do you think?
This patch is just about fixing the indentation problem.
Comment #8
dawehnerHere is a new patch which converts it to '#type' => 'link'
Comment #9
jose reyero commentedImprovements by @dereine look very good to me. About 'operation links' I've posted my comment there but anyway I don't think we need to wait for them to decide as whatever it is needed there, this patch will just ease the path for that.
Comment #10
das-peter commentedJust gave this a review and changed parts of the code to apply to the coding standards.
Unfortunately there's still following construct that looks really odd even if it complies to the standards:
Comment #11
dawehnerSome improvements for the uglyness.
Comment #12
das-peter commentedI'm absolutely fine with that. Now you've at least a small change to understand that :P
Comment #13
jair commentedNeeds reroll
Comment #14
jair commentedNeeds reroll
Comment #15
dawehner.
Comment #16
deepakaryan1988Re-rolling patch from #11
Comment #18
david.lukac commentedAssigning to me during DrupalCon Prague sprint.
Comment #19
david.lukac commentedRevision timestamp coming from node_revision_list() was referenced as
$revision->timestamp. Changing to$revision->revision_timestamp.Comment #21
xjm(Merging "node system" and "node.module" components for 8.x; disregard.)
Comment #22
internetdevels commentedUpdated patch for Drupal 8
Comment #23
oleksandr senenko commentedComment #24
yesct commentedpatch applies to d8 head. removing needs reroll tag.
Comment #25
alansaviolobo commentedreroll
Comment #27
yesct commentedComment #41
acbramley commentedIt looks like NodeController::addPage is already doing this.
The Revision routes will be covered in #3153559: Switch Node revision UI to generic UI if not already.
Closing as outdated.