Problem/Motivation

There are at least three blocks listing content related to a user for the Content dashboard: "my drafts", "my latest content" and "content edited by me". These are very similar and should be provided by the same View rather then in three different ones.

As discussed at the contrib sprint: We should provide them in one View (rather then providing several different one by default) .
It would also be useful to use consistent machine names for these blocks.
This way it would also be easier to display them consistently.

Proposed resolution

  • Replace the existing view (my drafts) and add the blocks proposed in issues #3327580. and #3327580
  • Use a machine name starting with "dashboard" to make it clearer for future sitebuilders
  • Link each block to the Content admin page instead of each having their own pager or scrollbar

Remaining tasks

  • Create patch
  • Write tests

User interface changes

This provides new blocks

API changes

None

Data model changes

None

CommentFileSizeAuthor
#8 3395496-8.patch13.77 KBifrik

Issue fork dashboard-3395496

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Issue fork 3327580-3395496

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 3327580-3395496/1.0.x Comparecompare
  • 1 hidden branch
  • 1.0.x Comparechanges, plain diff MR !8

Comments

ifrik created an issue. See original summary.

ifrik’s picture

I'm working on this today.

ifrik’s picture

Issue summary: View changes
ifrik’s picture

Status: Active » Needs review

ifrik’s picture

Component: User interface » Code
ifrik’s picture

StatusFileSize
new13.77 KB

Exporting the changes as a patch as well.

ifrik’s picture

I've also created a PR to apply the patch and place the blocks in the Content Management dashboard - but I'm not sure I did everything correctly at the github config.

In order to see content in the list of edited content, the logged-in user has to edit a node created by the other user.

plopesc’s picture

Project: Dashboard-sandbox » Dashboard
Version: » 2.x-dev

plopesc’s picture

MR closed because we have already a patch and it does not apply anymore once the project has been moved.

penyaskito’s picture

Moving credit from #3391998: Provide a block to display content that the user edited recently which ended up being a dupe of (parts of) this issue.

penyaskito’s picture

I'm also adding a regular "site content" view as a miniversion of "/admin/content" per Drupal CMS wireframes.

penyaskito’s picture

Status: Needs review » Reviewed & tested by the community

Tests passed, tugboat is working fine!

  • penyaskito committed 7d2fd779 on 2.x
    Issue #3395496 by penyaskito, ifrik, plopesc, dead_arm, sahana _n:...
penyaskito’s picture

Status: Reviewed & tested by the community » Fixed

Thanks everyone who sprinted on this!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.