Somethink needs to be done with "Recent content" block which looks terrible for anonymous users and users without rights to edit or delete content. Maybe theme_node_recent_block() should be fixed

Anyway attached screenshot shows that empty cells eats a lot of block space

Maybe just provide a different version of the block for dashboard or for anonymous users.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost’s picture

Taggin'

jensimmons’s picture

Embedding screenshot from above (for easier viewing)

[FYI, the medium blue background color for the sidebar makes for low contrast, and perhaps hard to read — but that's not an issue that needs discussion. That's just something that anyone can do with the color module.]

andypost’s picture

Thanx Jen, Another screen from user with admin rights, seems not better then anonymous because actual content takes less space then actions on it.

Bojhan’s picture

Maybe because this is a dashboard admin block? I dont see how we can optimize for both front-end and back-end without losing ux somewhere. Maybe make a diffrent block?

amc’s picture

Possibly related with regard to style issues: #614418: Redesign 'Recent comments' block for use on dashboard.

bleen’s picture

I think Bojhan is correct ... this block is inteded for the dashboard. Perhaps we could simply rename the block "Manage Recent Content" (or something like that). Site builders can easily override this title in the block configuration, but then everyone would understand that it wasn't necessarily designed to look good/have good UX on the front end.

andypost’s picture

Status: Active » Needs review
FileSize
599 bytes

Good idea and less troubles for themers

andypost’s picture

Another idea to check that block rendered in dashboard context. seems that block cache does not work for dashboard

Maybe it better to add a variable for theme_node_recent_block() but this lead to API change

andypost’s picture

The only problem with this approach that block cached by role (default) and looks the same on both pages except uid=1

Bojhan’s picture

Issue tags: -Needs usability review

No screenshot.

andypost’s picture

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

now here

bleen’s picture

Given that the dashboard module is no longer in core, is this issue still relevant for D8?

andypost’s picture

Yes, we need to remove links (edit, delete) from block

xjm’s picture

Component: node.module » node system
Issue summary: View changes

(Merging "node system" and "node.module" components for 8.x; disregard.)

dawehner’s picture

Status: Needs review » Closed (won't fix)

There is not dashboard stupidity anymore.

andypost’s picture

Status: Closed (won't fix) » Needs work
FileSize
6.05 KB

at least "edit|delete" links should be removed in theme_node_recent_block()

andypost’s picture

Status: Needs work » Needs review
FileSize
1.15 KB

Just clean-up code, probably better to move this to block implementation and get rid of theme_node_recent_block()

dawehner’s picture

Status: Needs review » Closed (won't fix)

We don't have to write patches which will need to be rewritten again from scratch anyway. You could have spent your time reviewing #2020393: Convert "Recent content" block to a View

andypost’s picture

Status: Closed (duplicate) » Needs work

The last submitted patch, 17: 849670-node_recent_block-17.patch, failed testing.

lokapujya’s picture

Status: Needs work » Closed (duplicate)