Feeds in the Admin Content Menu

Created on 14 December 2024, 4 months ago

Problem/Motivation

I seem to remember at some point that hovering "feeds" in the admin menu administration>content>feeds would reveal all your available feeds.

I don't know when it changed, but for me "Feeds" is now just a normal menu item with no children and which takes you to /admin/content/feed.

I can also see that /feed/[feed-number] is the path for each feed, but /feed itself is not an actual page. It seems logical to me that the feeds should be at /admin/content/feed/[feed-number] and for this to be an unbroken route.

Is it not like that for a reason? It feels a shame I can't reach those places on the admin toolbar (except of course without making a menu link myself for every feed, and writing a redirect for /feed-->/admin/content/feed)

I noticed that in 2018 there was a request to get the admin_structure stuff working with admin toolbar

Can the approach there be used again ( #2968559 )

Steps to reproduce

Install admin toolbar and feeds.

Hovering content>feed gives you no further options.

Going to /feed also reveals a 404

Proposed resolution

make /admin/content/feed the new /feed

Remaining tasks

- decide whether this is a good idea
- try the approach from #2968559
- troubleshoot
- propose a solution
- review
- merge

User interface changes

- Admin toolbar, and presumably other navigation tools using the admin menu route will now be able to access feeds directly.

API changes

- Routes would change

Data model changes

N/A

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom jacobupal Leeds

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jacobupal
  • 🇳🇱Netherlands megachriz

    I'm not sure yet if adding all feeds as menu item in the admin content menu is a good idea. That list could potentially become large, because multiple feeds of the same type could exist.

    However, in the D7 version of Feeds, we do had "feeds" listed in the admin content menu, but that worked a bit differently. For importers that used a "standalone import form", you could access existing feeds this way, because you would only have one feed per importer in this case. But for importers attached to a content type, you would be redirected to a node/add page instead, because multiple feeds per importer could exist. In the modern Drupal version of Feeds the "standalone import form" concept no longer exists and instead we have feeds and feed types which is conceptually closer to the "importers attached to a content type" concept.

    I think it would be cool if /feed would redirect to /admin/content/feed.

Production build 0.71.5 2024