Update the more catagories pill with a list of Items

Created on 21 July 2023, 11 months ago
Updated 13 October 2023, 9 months ago

Problem/Motivation

When a user comes to the Project Browser page (/admin/modules/browse) and looks at a module card with more than 3 category they see text like "+ 2 more". However, without clicking on the module name to learn more you don't know the other categories.

Steps to reproduce

  1. Install Project Browser
  2. Go to the Project Browser page (/admin/modules/browse)
  3. Find a Module Card with more than 3 Categories
  4. Try clicking on the "+ n more" pill

Proposed resolution

When someone hovers or clicks on "+ 2 more" pill it should show the other categories that apply.

Remaining tasks

  • ✅ File an issue about this project
  • ☐ Manual Testing
  • ☐ Code Review
  • ☐ Accessibility Review
  • ☐ Automated tests needed/written?
Feature request
Status

Closed: outdated

Version

1.0

Component

User experience

Created by

🇺🇸United States johnpicozzi Providence, RI

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

Comments & Activities

  • Issue created by @johnpicozzi
  • 🇺🇸United States johnpicozzi Providence, RI
  • First commit to issue fork.
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update 10 months ago
    Custom Commands Failed
  • @omkar-pd opened merge request.
  • Status changed to Needs review 10 months ago
  • 🇮🇳India omkar-pd

    On hover showed a list of more categories. I think styling can be improved or we can show categories on click. Ready for review.

  • 🇺🇸United States johnpicozzi Providence, RI

    I have applied the above patch and I'm not seeing a popup on hover, maybe I'm doing something wrong. Also, I think it should be a click action on the pill not a hover.

    Could you please change this to a click instead of a hover and provide some testing instructions for this patch.

  • Status changed to Closed: outdated 9 months ago
  • 🇺🇸United States chrisfromredfin Portland, Maine

    As we're now close on the new categories plan, and in said plan we won't allow for more than 3 categories, this issue becomes moot.

Production build 0.69.0 2024