Change the default action for the Svelt UI for install controllers

Created on 2 November 2022, about 2 years ago
Updated 12 October 2023, about 1 year ago

Problem/Motivation

Currently the drop button for a project not installed yet has the default action View commands, which opens the instructional modal how to add and install a module with composer and drush, and the options download (experimental) and download and install (experimental).

that entails two main problems:

  • the available default action shows how you manually install a project, the options how to install it directly, conveniently via the project browser ui are hidden from the user and require one extra click.
  • having view commands as the default action makes it impossible to assess in which state a module is in. is it already in the codebase or has it already been added. the only state which is clear is the grey Installed button

Steps to reproduce

Proposed resolution

  • I would recommend to remove View commands as the default option. It could be debated if as soon as the svelt ui patch is merged the instructional modal should completely removed and only be available when package manager is not installed or if the instruction should be still be available that users are able to access it somehow (but not sure if it would make sense as a regular option in the drop button)
  • with view commands removed the question is if it should be a step wise process. for modules not added yet have Add as the default option and add and install as an option. question is would users prefer to have add and install as the default and add as on option instead? for modules already added (either in project browser or with composer) the default option would be install.

Remaining tasks

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

Closed: outdated

Version

1.0

Component

User experience

Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States chrisfromredfin Portland, Maine

    The UI has changed significantly here depending on if the site is "install-capable" and that functionality is enabled, so this is now outdated.

Production build 0.71.5 2024