Tab for "Scheduled media" but I can't create scheduled media

Created on 6 January 2025, 4 months ago

Experienced tech lead kicking the tyres of Drupal CMS and providing feedback as requested.

Problem/Motivation

I can't seem to create Scheduled Media despite it looking like I should be able to.

Steps to reproduce

When I visit the Media menu item I can see a "Scheduled media" tab located at /admin/content/media/scheduled
This is empty as I have no Scheduled Media.

I think that looks like an interesting feature, so I decide to add some Scheduled Media. I try document, image, remote video and SVG image, but nowhere can I see how to enter a date/date for new media items to be published. Even when I toggle the item as unpublished, no date/time field pops up for me to enter when they are published.

That's not a good experience for new users of the CMS. It feels like something is missing.

Proposed resolution

I don't know whether the tab should be removed to display Scheduled Media or the required functionality added to allow me to create Scheduled Media. Either way, the solution currently provides an inconsistent experience.

πŸ› Bug report
Status

Active

Component

Track: Media Management

Created by

πŸ‡¬πŸ‡§United Kingdom dunx

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

Comments & Activities

  • Issue created by @dunx
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    This is a @pameeela decision but IMHO it makes sense to remove the option to schedule media for now. That seems like an unlikely use case for most of our target audience. Fun fact: the Scheduler module includes the ability to schedule taxonomy terms -- who the hell does that? I know we turned that off in another issue; just not sure which issue that was.

  • πŸ‡¬πŸ‡§United Kingdom tonypaulbarker Leeds

    I think this is for the Publishing workflows track. I haven't looked at anything to do with scheduling but I don't think that the ability to schedule media is useful. Feels likely a default setting that we want to turn off.

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • πŸ‡¬πŸ‡§United Kingdom dunx

    I can't *see* any way to schedule media, only a way to view a list of those things I can't set up, haha.

    As you note, who needs that on a simple website anyway? Probably not a good requirement for Drupal CMS out of the box.

    Perhaps wrap it in to a "Publishing" Recipe as noted by Tony.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    I would love to turn it off for media and taxonomy. Unfortunately Scheduler does not provide this option currently. So we can either remove it entirely and not have it for nodes either, or have it for media and taxonomy even though it's not needed. I'd probably say better to have it than not? But I don't feel strongly about it.

  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    I swear we removed it for Taxonomy at some point - how did we do that?

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Doh! We already fixed this, just realised this testing is being done with RC2.

    @dunx any chance you can test with the latest version instead? Things are moving *pretty* quickly.

  • πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

    This is fixed on 1.x.

    The view is disabled in https://git.drupalcode.org/project/drupal_cms/-/blob/1.x/recipes/drupal_...

        # Disable the taxonomy and media scheduler views because they are not
        # needed and break the navigation menu.
        views.view.scheduler_scheduled_media:
          disable: {}
        views.view.scheduler_scheduled_taxonomy_term:
          disable: {}
    
  • πŸ‡¬πŸ‡§United Kingdom dunx

    Can test tomorrow no problem. Speedy speedy :)

  • πŸ‡¬πŸ‡§United Kingdom dunx

    I performed a fresh install from git:

    git clone https://git.drupalcode.org/project/drupal_cms.git
    cd drupal_cms
    ddev config --project-type=drupal11 --docroot=web --php-version=8.3
    ddev start
    ddev composer install 
    ddev launch

    On visiting /admin/content/media I can confirm the Scheduled Media tab is no longer present.

    This looks like a fix to me.

Production build 0.71.5 2024