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
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3395496-8.patch | 13.77 KB | ifrik |
Issue fork dashboard-3395496
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
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
compare
- 1.0.x
changes, plain diff MR !8
Comments
Comment #2
ifrikComment #3
ifrikI'm working on this today.
Comment #4
ifrikComment #5
ifrikComment #7
ifrikComment #8
ifrikExporting the changes as a patch as well.
Comment #9
ifrikI'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.
Comment #10
plopescComment #12
plopescMR closed because we have already a patch and it does not apply anymore once the project has been moved.
Comment #15
penyaskitoMoving 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.
Comment #17
penyaskitoI'm also adding a regular "site content" view as a miniversion of "/admin/content" per Drupal CMS wireframes.
Comment #18
penyaskitoTests passed, tugboat is working fine!
Comment #20
penyaskitoThanks everyone who sprinted on this!