Decide if "View Commands" should have a home in the detail modal

Created on 26 November 2024, 26 days ago

Problem/Motivation

From https://www.drupal.org/project/project_browser/issues/3310908#comment-15... Consider making 'detail page' a modal window instead of a separate "page" in app Active

In the issue above, we removed the "View Commands" button altogether, to prevent a modal-in-a-modal pattern. If we do want to show the "View Commands" from the modal, how should we do it? Or do we not want to?

Steps to reproduce

Enable Project Browser with "Allow installing via UI (experimental)" OFF.

Proposed resolution

1. decide if we want to leave View Commands just for the cards, or not.
2. if something, then implement the something.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States chrisfromredfin Portland, Maine

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

Comments & Activities

  • Issue created by @chrisfromredfin
  • 🇮🇳India narendraR Jaipur, India

    Should we close the existing modal before showing the View Commands modal on click?
    Here are the two scenarios to consider:

    • If the user clicks View Commands directly on the browse page, show the View Commands modal.
    • If the user clicks View Commands from within a modal, close the existing modal, show the View Commands modal, and on closing this modal, reopen the previous modal from which the user initiated the action.
Production build 0.71.5 2024