Multiple dashboard behavior

Created on 17 August 2024, 4 months ago

Problem/Motivation

Issue #1
The Dashboard route has a title of "Dashboard" that stays singular even when there are multiple dashboards.

Entities listing pages in Drupal seem to be plural by default. See Files, Blocks. Media and Content are singular and plural, I believe.

Issue #2
If you do have multiple dashboards, the title of the first is replaced with "Default dashboard" instead of pulling in the name of the dashboard.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States thejimbirch Cape Cod, Massachusetts

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

Merge Requests

Comments & Activities

  • Issue created by @thejimbirch
  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    #1 Singular vs Plural

    Dashboard is a concept, not necessarily a listing, even if in our case it can have several tabs.
    As an example, I checked WordPress too to see what other products are using and they are using Dashboard (singular too) fot the title, while using "My Home" for the navigation title.

    #2 Title of Default Dashboard

    I'd look if this is possible, but I think this is a limitation by Drupal menu system. You can't have a different title in menu and in the page title block itself.
    In this case, e.g. WordPress uses "My Home" and "Dashboard": https://wordpress.com/support/dashboard/#wp-admin-dashboard-actions

    For the tab, I think we could be able to use the dashboard title as with other non-default dashbords.

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Re: singular vs plural, I agree that we can get away with just using 'Dashboard' but the menu link in the nav is 'Dashboards', and the description also uses plural. The page title is 'Dashboard configuration' so perhaps updating this could be a resolution.

    Re: the tabs, I do think this needs to be updated. The way it works now, the title of your default never appears anywhere, which is a bit confusing. Also the term 'Default Dashboard' is not super user friendly. If we could use the dashboard title instead, that would be great!

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Rescoping this issue to remove the default tab, created ๐Ÿ“Œ Use the dashboard title for the default tab Active for that.

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela
  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    I created ๐Ÿ› Fix title for admin listing Active overlooking this one.

    I think the Navigation top-link being "Dashboard" is right, as it gives you access to your main Dashboard. You _might_ have access to multiple Dashboards, but is your "plane cockpit" entry point.

    Then in admin/structure you will have "Dashboards", as this is where you can configure your different dashboards. This is consistent with e.g. "Contact Forms" (plural) in the same menu, while the user tab for the contact form is "Contact" (singular)

    Does this make sense?

  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    Not sure the contact comparison makes sense because you can have multiple contact forms in different places, and theyโ€™re not related to each other. Thereโ€™s only ever one dashboard though right? With multiple displays/tabs?

    I think itโ€™s a little strange to use plural in one place but singular in the other because they are both referring to the same set of displays.

  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    Right now you could say that all dashboards live together now.

    But it was already requested (one of the first requests when we started planning on dashboard 2 years ago to be honest): โœจ Dashboards should have the ability to customize path (alias) Postponed

    I also find it weird that you get into "Dashboard" (admin/structure/dashboard) and see a listing with a singular heading.

    Maybe I'm just overthinking this, if you feel it's important we can change it and revisit after its exposed to a larger userbase.

  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    I didn't even notice there was a branch here (there was no MR)

    I rebased that (the "Default dashboard" is gone now, we will use its title).
    I'm closing ๐Ÿ› Fix title for admin listing Active as a dupe.

  • Pipeline finished with Skipped
    28 days ago
    #353818
  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ
  • ๐Ÿ‡ฆ๐Ÿ‡บAustralia pameeela

    No worries, I donโ€™t feel that strongly, but we should review all of the terminology together probably. The config page is called โ€œDashboard configurationโ€ now so that would never be plural I think. But itโ€™s not standard to use โ€œconfigurationโ€ in the page title either! So thatโ€™s why it would be good to do a full review.

  • ๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

    That's the one I just renamed to Dashboard, and I intended to have as "Dashboards".

    I think the confusion comes from the original report, which was about the navigation item. But we are hiding that now because we will have the "Dashboard" block on the top of the navigation (the one which is already in Drupal CMS, but can't be in every default installation until a RTBC core issue is committed).

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024