This is a follow-up issue of #2005166: Create simple file listing under admin/content/file, but currently blocked on #2027043: Allow page displays to be both local tasks and menu items (thus postponed).

We've got the file view in place. Now we need an easy way for people with proper rights to access the file listing page from the "Shortcuts" menu ("Add files" / "All files" menu items to be in tandem with the "Add content" / "All content" ones??).

PS: adding same tags as the two related issues.

Comments

klonos’s picture

Title: Add a menu item for the new admin/content/file view. » Add a menu item(s) for the new admin/content/file view.

...

gábor hojtsy’s picture

Title: Add a menu item(s) for the new admin/content/file view. » Add menu item(s) for the new admin/content/file view
tkoleary’s picture

@klonos

As discussed close to the beginning of the original issue, we need to also add "files" to the administrative menu as a child of "Content"

saltednut’s picture

jibran’s picture

Category: Task » Bug report
Status: Postponed » Active

#2027043-99: Allow page displays to be both local tasks and menu items is moved to 8.1.x. We can still fix it and it is regression so changing it to bug.

jibran’s picture

#2027043-99: Allow page displays to be both local tasks and menu items is moved to 8.1.x. We can still fix it and it is regression so changing it to bug.

dawehner’s picture

Issue tags: +Novice

I think adding this is kinda a novice task.

joshi.rohit100’s picture

Status: Active » Needs review
StatusFileSize
new344 bytes
jibran’s picture

Issue tags: +Needs screenshots

Before and after screenshots please.

joshi.rohit100’s picture

StatusFileSize
new41.41 KB
new35.97 KB

Status: Needs review » Needs work

The last submitted patch, 8: 2047893-8.patch, failed testing.

tstoeckler’s picture

Issue tags: -Novice

So we need to conditionally add the menu link only when views module is enabled, and the given view and display exists. Removing the 'Novice' tag.

This is why #2027043: Allow page displays to be both local tasks and menu items being moved to 8.1.x is rather sad.

slashrsm’s picture

Issue tags: +sprint
slashrsm’s picture

Issue tags: +D8Media

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

vijaycs85’s picture

Status: Needs work » Postponed

Updating status as per IS.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

Status: Postponed » Closed (works as designed)
Issue tags: +Bug Smash Initiative

Hmm, I don't think this issue is required anymore?

There is a menu link under content now, and I don't think I agree with adding this to shortcuts by default. You can't actually 'Add files' via that view, it is just a listing, so 'Add files' can't be done anyway. And since the only default shortcuts are 'Add content' and 'All content', adding 'All files' seems like it would be a bit strange.

Happy for dissenting opinions to update the IS and reopen.