Add a "back" button

Created on 18 December 2023, over 1 year ago

Problem/Motivation

Add a back button when selecting components in ME. This will ensure users who selected the wrong component can easily add a new one. Otherwise a user then has to find the section they were looking for, and add everything again to make it work. This would resolve issues for those who don't know the content names very well, as well as those with mobility impairments or tremors who may have accidentally selected the wrong item

Steps to reproduce

Screencast of the issue with audio: https://share.cleanshot.com/N8jnnm8t

Proposed resolution

Add a back button along with the save and cancel so a user can quickly get to the right content: https://share.cleanshot.com/Q3RcMcL3

✨ Feature request
Status

Active

Version

2.1

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States michaelablackham

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

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @michaelablackham
  • πŸ‡ΊπŸ‡ΈUnited States justin2pin
  • πŸ‡ΊπŸ‡ΈUnited States justin2pin
  • Assigned to anish.ir
  • Hey,

    If someone is not able to reproduce this issue, please follow these steps:
    1. Make sure the layout paragraphs module is enabled and you have already created some paragraph types.
    2. Add the content type to the mercury editor ( probably from "/admin/config/content/mercury-editor" and add a field to this content type of
    entity reference type, set 'Type of item to reference' to Paragraph.
    3. Change the field's format to Layout Paragraph under the Manage Display of the content.
    After these steps, whenever you edit or create new content type you can see the '+' icon mentioned in the video under steps to reproduce section.

    I have tried resolving the issue, added the back button but the form we want to go back to, is an AJAX form, and the method I am using is AJAX to load that form, but there is some issue and the form is not rendering.

    Please let me know if there are any changes I can make in the code to make it work properly.

Production build 0.71.5 2024