Add content type names in Dashboard: Recent content

Created on 13 January 2025, 3 months ago

Problem/Motivation

Recent content panel in the main dashboard lists all recent content, but it's not possible to know the content type name of each content, without opening the page.

Proposed resolution

Just add a column Type or Content type to this panle

๐Ÿ“Œ Task
Status

Active

Component

Track: Dashboard

Created by

๐Ÿ‡ฎ๐Ÿ‡ฑIsrael heyyo Jerusalem

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

Merge Requests

Comments & Activities

  • Issue created by @heyyo
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts
  • First commit to issue fork.
  • Pipeline finished with Success
    3 months ago
    Total: 1489s
    #395165
  • Pipeline finished with Success
    3 months ago
    Total: 1940s
    #395176
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia anjaliprasannan

    Added new column Content Type to the recent_content view in dashboard.

    Attaching screenshot.

    MR raised and pipeline has passed. Please review

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia diwakar07

    Reviewed MR !449.
    The changes look good. It successfully adds content type column in the Recent Content table.

    @anjaliprasannan Let's try to hide/remove the label of the "Content type" field in the view, as it seems to be breaking the design of the table.
    Moving to NW for now.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sayan_k_dutta

    Working on it.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sayan_k_dutta

    Assigned mistakenly. But I want to highlight a point that adding the content type column is causing the table cell for the content upload time to shrink and it is not looking good in appearance. Maybe we can do something to restore the widths of the column.

  • Pipeline finished with Success
    3 months ago
    Total: 947s
    #395424
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia anjaliprasannan

    Removed the content type label and created MR.

    @sayan_k_dutta yes we can certainly change the width of content column. but that need to be a separate issue under dashboard. I will create the ticket and update here.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia anjaliprasannan

    New ticket raised in dashboard : ๐Ÿ› Shrink the Active

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Thanks everyone for contributing to this already! Just wanted to say Iโ€™m not sure that we will want to make this change, I can see the use of it but itโ€™s also nice that the dashboard is uncluttered.

    Weโ€™re in a freeze for now and will weigh up the open issues when we resume.

  • ๐Ÿ‡ณ๐Ÿ‡ฑNetherlands undersound3

    +1 to provide more info by adding the conntent type column.

    Another thing I missed as a user is the ability to edit a node straight away from this Recent panel.

    I agree with @pameeela to be careful not to clutter things up but perhaps we can show info/actions like content type or edit only when hovering over the current table row for that node.

  • First commit to issue fork.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia adwivedi008

    Hello Undersound3 and Everyone
    I was checking out for an edit link and that was neither looking good nor handly
    That's why I thought it would be better if we use operational links here instead of an edit link

    I have modified the MR accordingly
    Please review and suggest any other changes required

    I have added screenshots for both

  • ๐Ÿ‡ณ๐Ÿ‡ฑNetherlands undersound3

    @adwivedi008 thanks!

    Looks good to me, it is really fighting for space here indeed. Who get's the front row seats :)
    I really like the way Sulu cms is handling this where the user can quickly decide which columns to show or not.

    https://www.drupal.org/files/issues/2025-02-25/Sulu.gif โ†’

Production build 0.71.5 2024