Problem/Motivation

Claro: Label and input field in the quick-edit toolbar does not have a space between them which makes them odd and the focus of the input field overlaps with the label.

Steps to reproduce

1. Go to any node.
2. Quick edit the node, the content type of the specific node page must contain an image field or media field.
3. Hover the mouse on the image.
4. You will see the quick-edit toolbar with the label name alternative text and input field.
5. There is no space between the label and the input field, the focus of the input field overlaps the label.

Issue fork drupal-3214125

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tushar_sachdeva created an issue. See original summary.

Sakthivel M’s picture

Status: Active » Needs review
FileSize
1002 bytes

#2 Please review the patch

mitthukumawat’s picture

FileSize
66.64 KB
68.74 KB

I have tested the patch #2 manually and it fixed the issue of focus in quickedit images in Claro theme.
Adding screenshots for reference. RTBC+1

Madhu kumar’s picture

FileSize
1.12 MB
950.18 KB

Applied patch #2 Successfully and working as expected .Screenshot for the reference.

manojithape’s picture

FileSize
207.78 KB
202.62 KB

Verified and tested patch#2 on the drupal 9.3.x-dev version and Claro 9.3.0-dev version. Patch applied successfully and looks good to me.

Testing Steps:

  1. Install drupal 9.3.x-dev version.
  2. Go to Appearance -> Set Claro theme as admin and default theme
  3. Go to any node.
  4. Quick edit the node, the content type of the specific node page must contain an image field or media field.
  5. Hover the mouse on the image.
  6. Observe the quick-edit toolbar with the label name alternative text and input field. There is no space between the label and the input field, the focus of the input field overlaps the label.
  7. Now apply the patch and clear the cache.
  8. Verify after applying patch space displayed between the label and the input field.
  9. And also verify the issue of focus in quick-edit images in Claro theme fixed.

Testing Results:

After applying patch space displayed between the label and the input field and issue of focus in quick-edit images in Claro theme fixed.
Please refer attached Before patch sc and After patch sc images for reference.

Moving this ticket to RTBC.

manojithape’s picture

Status: Needs review » Reviewed & tested by the community
radheymkumar’s picture

FileSize
207.78 KB
202.62 KB

Successfully applied patch and attach screenshot
Thanks

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: 3214125.2.patch, failed testing. View results

Indrajith KB made their first commit to this issue’s fork.

IndrajithKB’s picture

FileSize
718 bytes

Here i have updated the MR according with the design, please review.
Design link: https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Drupal-Design-system...

IndrajithKB’s picture

Status: Needs work » Needs review

Moving back to NR.

chetanbharambe’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
937.31 KB
985.4 KB

Verified and tested merge request !1176 (https://git.drupalcode.org/project/drupal/-/merge_requests/1176.patch)
Patch applied successfully and looks good to me.

Testing Steps:
# Goto: Appearance -> Apply Claro theme
# Goto Extend: Install Quick edit module
# Create the node which has an image field mentioning alternative text
# Quick edit the node, the content type of the specific node page must contain an image field or media field.
# Hover the mouse on the image.
# You will see the quick-edit toolbar with the label name alternative text and input field.

Expected Results:
# There should be some space between the label and the input field, the focus of the input field overlaps the label.

Actual Results:
# There is no space between the label and the input field, the focus of the input field overlaps the label.

Please refer attached screenshots for the same.
Looks good to me.
Can be a move to RTBC.

lauriii’s picture

Status: Reviewed & tested by the community » Needs work

Posted feedback on the MR

bnjmnm’s picture

There are significantly more before/after screenshots than necessary here. Removing credit for any comments that add already-provided screenshots without additional content. Definitely removing credit for #7, which just re-uploaded the screenshots from #5 with new filenames.

yogeshmpawar made their first commit to this issue’s fork.

vikashsoni’s picture

Applied patch #2 in drupal-9.3.x-dev working fine.
for ref sharing screenshot

bnjmnm’s picture

Removing credit for #17. Just 2 comments up in #15 I mentioned there were already more screenshots than needed and removed credit for several comments that simply added more of what we already have.

Also in #17:

Applied patch #2 in drupal-9.3.x-dev working fine.

. Patch #2 is outdated. The work has moved to a merge request and has changed since #2. Be sure to review the most recent changes.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

pameeela’s picture

Project: Drupal core » Quick Edit
Version: 10.1.x-dev » 1.0.x-dev
Component: Claro theme » User interface
Issue tags: +Bug Smash Initiative

Discussed with larowlan in Slack and we agree this should be fixed in the contrib module, since it Quick Edit is no longer in core.