Problem/Motivation

After posting a comments on a page, the profile image associated with the user is overlapping with Layout Builder section.

Steps to reproduce

  1. Make Olivero the default theme in Appearance.
  2. Enable Layout Builder module in Extend.
  3. Create an Article page with comments.
  4. Go to Home > Administration > Structure > Content types > Article
  5. Under Manage Display tab go to Layout options
  6. Check Use Layout Builder and Allow each content item to have its layout customized. then save.
  7. Go to the Article page and click on the Layout tab.
  8. Scroll down to the comments section.
  9. Result: You will see the user's circular image overlapping with the Layout Builder section.
  10. Expected: User's image should be aligned correctly within the comment.

Please refer to the video attached.

Proposed resolution

TBA

Remaining tasks

Confirm that #72 is complete

User interface changes

Introduced terminology

API changes

See images in #83

Data model changes

Release notes snippet

CommentFileSizeAuthor
#83 AfterMR8645-layout.png326.23 KBkanchan bhogade
#83 BeforeMR-8645-layout.png307.41 KBkanchan bhogade
#83 AfterMR8645.png185.76 KBkanchan bhogade
#83 BeforeMR8645.png185.29 KBkanchan bhogade
#81 3210703-nr-bot.txt1.22 KBneeds-review-queue-bot
#80 User's-image-in-comments-overlaps-3210703-80.png37.9 KBjaydeep_patel
#76 3210703_76.patch1.25 KBdsandhya
#76 after-patch-.png18.99 KBdsandhya
#76 before-patch-.png18.33 KBdsandhya
#71 Screenshot from 2022-07-25 17-43-10.png162.63 KBdishakatariya
#71 Afterpatch.png69.12 KBdishakatariya
#71 Beforepatch.png68.27 KBdishakatariya
#69 After-patch-RTL.png49.87 KBShubham Sharma 77
#69 After-patch-LTR.png48.53 KBShubham Sharma 77
#69 Before-patch-RTL.png49.61 KBShubham Sharma 77
#69 Before-patch-LTR.png49.4 KBShubham Sharma 77
#68 after-patch.png156.87 KBsakthivel m
#68 before-patch.png160.36 KBsakthivel m
#68 3210703-65.patch1.35 KBsakthivel m
#64 Before patch.png51.05 KBmanojkumar_97
#64 After patch.png32.96 KBmanojkumar_97
#64 3210703-64.patch864 bytesmanojkumar_97
#55 Screenshot_After_Patch_54.png61.63 KBandregp
#55 Screenshot_Before_Patch_54.png55.99 KBandregp
#54 interdiff-3210703-52-54.txt6.51 KByogeshmpawar
#54 3210703-54.patch8.55 KByogeshmpawar
#53 Afterpatch.png11.66 KBasha nair
#53 Applying patch.png56.97 KBasha nair
#52 actual_interdiff_3210703_46-47.txt7.01 KBandregp
#52 interdiff_3210703_46-51.txt595 bytesandregp
#52 interdiff_3210703_47-51.txt6.43 KBandregp
#52 3210703-51.patch8.42 KBandregp
#50 3210703-after-patch.png23.88 KBdevashish jangid
#50 3210703-before-patch.png25.4 KBdevashish jangid
#47 interdiff_46-47.txt595 bytesranjith_kumar_k_u
#47 3210703-47.patch8.55 KBranjith_kumar_k_u
#46 interdiff_3210703_41-46.txt7.01 KBandregp
#46 3210703-46.patch8.41 KBandregp
#41 interdiff-3210703-40_41.txt2.16 KBgauravvvv
#41 3210703-41.patch8.55 KBgauravvvv
#40 3210703-40.patch9.65 KBsakthivel m
#39 rtl-comments-screenshot.png192.36 KBsakthivel m
#37 After--patch--pic.png38.66 KBvikashsoni
#37 Before--patch--pic.png38.96 KBvikashsoni
#36 comment-with-profile-image.png1.97 MBheni_deepak
#36 comment-with-default-image.png1.93 MBheni_deepak
#35 3210703-34.patch8.38 KBkostyashupenko
#34 Screenshot from 2021-09-09 15-33-43.png35.12 KBkostyashupenko
#34 Comments.png121.1 KBkostyashupenko
#34 Comments LB.png134.35 KBkostyashupenko
#34 Screenshot from 2021-09-09 14-23-38.png28.68 KBkostyashupenko
#33 After Patch 3210703.png276.8 KBchetanbharambe
#33 Before Patch 3210703.png275.68 KBchetanbharambe
#31 Screenshot 2021-08-18 at 7.43.16 PM.png105.66 KBkiran.kadam911
#29 Before-patch.png319.73 KBkishor_kolekar
#29 After-patch.png306.41 KBkishor_kolekar
#29 interdiff-23-29.txt2.39 KBkishor_kolekar
#29 3210703-29.patch1.78 KBkishor_kolekar
#26 After-patch.png206.23 KBsakthivel m
#26 Before-patch.png198.23 KBsakthivel m
#23 after.png63.85 KBtushar_sachdeva
#23 before.png64.51 KBtushar_sachdeva
#23 interdiff_16-23.txt1.19 KBtushar_sachdeva
#23 3210703-23.patch1.27 KBtushar_sachdeva
#17 after.png187.29 KBtushar_sachdeva
#17 before.png195.21 KBtushar_sachdeva
#16 3210703-16.patch1.43 KBkiran.kadam911
#14 3210703.13.patch2.07 KBsakthivel m
#12 3210703.12.patch2.71 KBsakthivel m
#7 3210703-7.patch2.05 KBabhijith s
#6 3210703-after.png38.47 KBabhijith s
#6 3210703-before.png32.95 KBabhijith s
#5 3210703.4.patch2.07 KBsakthivel m
#4 After patch profile image displayed properly.png117.92 KBmanojithape
#4 Before patch profile image overlaps on layout builder border.png131.53 KBmanojithape
#2 3210703.2.patch2.08 KBsakthivel m
Screen Recording 2021-04-26 at 5.41.16 PM.mov1.88 MBtushar_sachdeva

Issue fork drupal-3210703

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:

Comments

tushar_sachdeva created an issue. See original summary.

sakthivel m’s picture

Status: Active » Needs review
StatusFileSize
new2.08 KB

#2 Please review the patch

kishor_kolekar’s picture

StatusFileSize
new2.07 KB
new571 bytes

please review the patch.

manojithape’s picture

StatusFileSize
new131.53 KB
new117.92 KB

Verified and tested patch#2. Patch applied successfully and looks good to me.

Testing Steps:

  1. Install drupal 9.2.x-dev version
  2. Go to Appearance -> Set Olivero theme as admin and default theme
  3. Go to Content and create one article content type also post a comment.
  4. Go to Home>Administration>Structure>Content types>Article,under layout options check layout builder.
  5. Go to the article node, click on layout.
  6. Scroll down to the place where comments are being posted.
  7. You will see the user's image(circular one) overlapping with the layout builder section.
  8. Now apply the patch and clear cache and again go to the article node, click on layout and verify now user's image(circular one) not overlapping with the layout builder section and displayed properly.

Testing Results:
After applying the patch user's image (circular one) not overlapping with the layout builder section and displayed properly.

sakthivel m’s picture

StatusFileSize
new2.07 KB

#4 Recreated Patch

abhijith s’s picture

StatusFileSize
new32.95 KB
new38.47 KB

Applied patch #4 and it works fine.

Before patch;
before

After patch:
after

But there are some whitespace and CS issues in this patch.

3210703.4.patch:38: trailing whitespace.
[dir="ltr"] .layout-builder-block .comment .add-comment__picture,[dir="ltr"] 
3210703.4.patch:43: trailing whitespace.
[dir="rtl"] .layout-builder-block .comment .add-comment__picture,[dir="rtl"] 
Checking patch core/themes/olivero/css/components/comments.css...
Checking patch core/themes/olivero/css/components/comments.pcss.css...
Applied patch core/themes/olivero/css/components/comments.css cleanly.
Applied patch core/themes/olivero/css/components/comments.pcss.css cleanly.
warning: 2 lines add whitespace errors.

abhijith s’s picture

StatusFileSize
new2.05 KB

Fixed whitespace and CS issues in patch #4.

tushar_sachdeva’s picture

Assigned: Unassigned » tushar_sachdeva
tushar_sachdeva’s picture

@Abhijith S Drupal code quality checks failed showing this

themes/olivero/css/components/comments.pcss.css
 244:5  ✖  Expected empty line before at-rule   at-rule-empty-line-before

.Please refer https://stylelint.io/user-guide/rules/at-rule-empty-line-before

tushar_sachdeva’s picture

Assigned: tushar_sachdeva » Unassigned
tushar_sachdeva’s picture

Status: Needs review » Needs work
sakthivel m’s picture

Status: Needs work » Needs review
StatusFileSize
new2.71 KB

#12 Recreated patch

tushar_sachdeva’s picture

Assigned: Unassigned » tushar_sachdeva
sakthivel m’s picture

StatusFileSize
new2.07 KB
tushar_sachdeva’s picture

@Sakthivel M getting this error while reproducing this output locally

yarn run v1.22.4
$ cross-env BABEL_ENV=legacy node ./scripts/css/postcss-build.js --check --file /Users/tusharsachdeva/Sites/devdesktop/drupal/core/themes/olivero/css/components/comments.pcss.css
[14:11:09] '/Users/tusharsachdeva/Sites/devdesktop/drupal/core/themes/olivero/css/components/comments.pcss.css' is being checked.
[14:11:10] '/Users/tusharsachdeva/Sites/devdesktop/drupal/core/themes/olivero/css/components/comments.pcss.css' is not updated.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

.Not able to find out why custom commands is failing every time any guesses?

kiran.kadam911’s picture

Assigned: tushar_sachdeva » Unassigned
StatusFileSize
new1.43 KB

Kindly review the attached patch.

Thanks!

tushar_sachdeva’s picture

StatusFileSize
new195.21 KB
new187.29 KB

The #16 patch applied successfully but getting few warnings @ kiran.kadam911

Checking patch core/themes/olivero/css/components/comments.css...
Hunk #1 succeeded at 426 (offset 11 lines).
Checking patch core/themes/olivero/css/components/comments.pcss.css...
Hunk #1 succeeded at 239 (offset 4 lines).
Applied patch core/themes/olivero/css/components/comments.css cleanly.
Applied patch core/themes/olivero/css/components/comments.pcss.css cleanly.
warning: 2 lines add whitespace errors.

.Attached before and after screens shots for reference.

tushar_sachdeva’s picture

Moving it to RTBC as these are just warnings in the compiled CSS file, which can be ignored for now.

tushar_sachdeva’s picture

Status: Needs review » Reviewed & tested by the community

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

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

lauriii’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/themes/olivero/css/components/comments.pcss.css
@@ -235,3 +235,19 @@
+  & .comment {
...
+    & .add-comment__picture,

Isn't .comment unnecessary here? Also, I don't think this would work because .add-comment__picture isn't inside .comment.

tushar_sachdeva’s picture

Assigned: Unassigned » tushar_sachdeva
tushar_sachdeva’s picture

StatusFileSize
new1.27 KB
new1.19 KB
new64.51 KB
new63.85 KB

Patch attached, kindly review and verify. Thanks

tushar_sachdeva’s picture

Status: Needs work » Needs review
tushar_sachdeva’s picture

Assigned: tushar_sachdeva » Unassigned
sakthivel m’s picture

StatusFileSize
new198.23 KB
new206.23 KB

Verified and tested patch#23. Patch applied successfully and looks good to me.

Moving to RTBC

sakthivel m’s picture

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

Status: Reviewed & tested by the community » Needs work

#21 still needs to be addressed. I'm not sure why .add-comment__picture was added in the first place but removing it would be probably fine since it is never inside .comment, so the selector never matched anything.

kishor_kolekar’s picture

Status: Needs work » Needs review
StatusFileSize
new1.78 KB
new2.39 KB
new306.41 KB
new319.73 KB

@lauriii,
Can we keep it simple and remove few lines of code.
please review the patch.

mherchel’s picture

Priority: Normal » Minor
Status: Needs review » Needs work

We need to ensure that these fixes don't affect the output of the styling when the LB builder is not active.

kiran.kadam911’s picture

StatusFileSize
new105.66 KB

@mherchel I think it won't affect since it's only written to fix issues inside LB which is working fine after patch. I checked on the node comment section it's working fine #23.

SS:

Thanks!

xjm’s picture

Priority: Minor » Normal

Normal priority bug under the normal issue priority definition:

Bugs for site visitors that do not interfere with site use, for example, visual layout issues.

chetanbharambe’s picture

StatusFileSize
new275.68 KB
new276.8 KB

Agree with @xjm.
And UI of the Image(circular one) is too close to the horizontal line. but it also does not interfere with site use.

Verified and tested patch #29.
Patch applied successfully and looks good to me.

Testing Steps:
# Go to Appearance:- Set Olivero theme
# Go to Content and create one article content type also post a comment.
# Go to Extend:- Install the layout builder option.
# Go to Home>Administration>Structure>Content types>Article,under layout options check layout builder.
# Go to the article node, click on layout.
# Scroll down to the place where comments are being posted.
# You will see the user's image(circular one) overlapping with the layout builder section

Expected Results:
# User's image(circular one) should not overlap with the layout builder section and displayed properly.

Actual Results:
# User's image(circular one) overlapping with the layout builder section.

Please refer attached screenshots.
Looks good to me.

kostyashupenko’s picture

Status: Needs work » Needs review
StatusFileSize
new28.68 KB
new134.35 KB
new121.1 KB
new35.12 KB

I applied the latest patch from #29 and it breaks some stuff, so i decided to revert it and create new patch from scratch.

For local tests i have used Drupal 9.3.x + standard profile installation + default CT Article page with multiple comments.

I've found several bugs with alignment of comments on real pages between 700px - 1000px width of screen:

Comment bug

So you can see that comment picture is outside of viewport. To fix this little issue was not so obvious and easy thing, but now everything works fine on my side under all breakpoints + also LB comments were fixed (and looks ok under all breakpoints aswell).

There are two examples of comments on real page and LB page

kostyashupenko’s picture

StatusFileSize
new8.38 KB

Here is a patch btw

heni_deepak’s picture

StatusFileSize
new1.93 MB
new1.97 MB

I have applied #35 patch and tested it with the hirechical index example.

vikashsoni’s picture

StatusFileSize
new38.96 KB
new38.66 KB

Applied patch #16 working fine and giving expected result
Thanks for the patch
For ref sharing screenshots....

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.

sakthivel m’s picture

Status: Needs review » Needs work
StatusFileSize
new192.36 KB

@kostyashupenko RTL the User's image in comments is overlapping with layout builder section.

Attached screenshot here.

Moved to Needs work

sakthivel m’s picture

Status: Needs work » Needs review
StatusFileSize
new9.65 KB

#40 Please review the patch

gauravvvv’s picture

StatusFileSize
new8.55 KB
new2.16 KB

I have fixed the custom commands failed, Attached interdiff for same. Please review.

kristen pol’s picture

Status: Needs review » Needs work
Issue tags: +Bug Smash Initiative

Thanks for the update. The indentation in the patch seems off to me, e.g.

 @media (min-width: 43.75rem) {
 
+[dir="ltr"] .comment {
+    padding-left: 5.625rem
+  }
+
+[dir="rtl"] .comment {
+    padding-right: 5.625rem
+  }
+  }

Also not sure that #28 was properly addressed:

#21 still needs to be addressed. I'm not sure why .add-comment__picture was added in the first place but removing it would be probably fine since it is never inside .comment, so the selector never matched anything.

kristen pol’s picture

Title: User's image in comments is overlapping with layout builder section. » User's image in comments overlaps with Layout Builder section
Issue summary: View changes

Cleaned up title and the issue summary formatting and wording. Also added more information to the steps to reproduce. Still could use the full issue summary template.

andregp’s picture

Issue summary: View changes
andregp’s picture

Assigned: Unassigned » andregp

I'm going to work on #42 and #28.

andregp’s picture

Assigned: andregp » Unassigned
Status: Needs work » Needs review
StatusFileSize
new8.41 KB
new7.01 KB

@kristen-pol Indeed the identantion is off on the comments.css file.

There are 10 places on the original file with a @media tag wrapping some css rules and their curly braces positions and identation is not consistent (differently from comments.pcss.css file which follows the coding standards).
I corrected the indentation just for the blocks added/edited by the patch to keep within this issue scope, maybe a follow up issue just for the CS after this is committed would be a good idea.

Also #28 was addressed in #23 (see the interdiff). The original problem (#21) was about the .add-comment__picture inside .comment which was correctly removed.

The patch bellow fixes the identations and CS on the introduced code.

ranjith_kumar_k_u’s picture

StatusFileSize
new8.55 KB
new595 bytes

Fixed CS errors.

Status: Needs review » Needs work

The last submitted patch, 47: 3210703-47.patch, failed testing. View results

yogeshmpawar’s picture

Status: Needs work » Needs review

Marking Needs Review again because test failures are unrelated.

1) Drupal\Tests\layout_builder\FunctionalJavascript\BlockFormMessagesTest::testValidationMessage
Failed asserting that a NULL is not empty.

/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:121
/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:55
/var/www/html/core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php:65
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:726

Getting above test failures in most of the issues.

devashish jangid’s picture

StatusFileSize
new25.4 KB
new23.88 KB

Drupal 9.4.x-dev
Verified and tested patch #47.
Patch applied successfully and looks good for me.
Sharing screenshot for the reference.

kristen pol’s picture

Status: Needs review » Needs work

Thanks for the updates and testing.

A frontend dev should take a look at the changes more carefully, but I reviewed interdiffs in #46 and #47.

The indentation problems appear to be addressed. One thing that was added in that IMO doesn't need to be added is the comment: /* Comment's padding-top */

+++ b/core/themes/olivero/css/components/comments.css
@@ -350,7 +350,7 @@
+    top: 2.25rem; /* Comment's padding-top */
andregp’s picture

Status: Needs work » Needs review
StatusFileSize
new8.42 KB
new6.43 KB
new595 bytes
new7.01 KB

@Kristen Pol Thank you for pointing that out. If it wasn't you I wouldn't notice the interdiff on #47 is actually wrong. If you download the patch #46 and the patch #47 and run interdiff 3210703-46.patch 3210703-47.patch > interdiff_3210703_46-47.txt you will get the interdiff attached here.

It means #47 corrected the 3 spaces on core/themes/olivero/css/components/comments.pcss.css but also reverted all other CS corrections I made on #46.

Here is a new patch with the spaces from core/themes/olivero/css/components/comments.pcss.css corrected, and all the corrections I did on #46 added back.

@Kristen Pol, also, regarding the addition of /* Comment's padding-top */ it just seems that I have added this comment because of the interdiff, but actually I reverted this change. This comment is already present on the original core code and the previous patch (#41) was removing it. As it seemed an unrelated change I just didn't delete the comment from the code when working on my patch.

asha nair’s picture

StatusFileSize
new56.97 KB
new11.66 KB

Applied patch #52. Patch failed. No changes

yogeshmpawar’s picture

StatusFileSize
new8.55 KB
new6.51 KB

Resolved CSpell errors.

andregp’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new55.99 KB
new61.63 KB

Sorry, I'm feeling a bit embarrassed because at the time I worked on this issue I didn't know that we should not change the "file_name".css files, and inadvertently tried to "fix" comments.css causing my patch to fail and adding unnecessary noise to this issue's thread.

The correct approach is to change/update the .pcss.css version of whatever file we are working with, and then run yarn run build:css on the core folder, so yarn automatically updates the .css version of the file. (see documentation here).

Even if the .css file looks a bit off (in this issue's case, with inconsistent indentation, etc., etc.) we should keep it as is, and only update it through yarn when changing the .pcss.css equivalent.

@yogeshmpawar probably did this on his patch (thanks for that!), and now the patch not only fix the issue (as you can see on the pictures attached), but it's also free of errors.

Moving to RTBC.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 54: 3210703-54.patch, failed testing. View results

andregp’s picture

Status: Needs work » Reviewed & tested by the community

Unrelated test fail, requeueing tests ans restoring status.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 54: 3210703-54.patch, failed testing. View results

andregp’s picture

Status: Needs work » Reviewed & tested by the community

Another random failure.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 54: 3210703-54.patch, failed testing. View results

andregp’s picture

Status: Needs work » Reviewed & tested by the community

Random failure again.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 54: 3210703-54.patch, failed testing. View results

manojkumar_97’s picture

Assigned: Unassigned » manojkumar_97
manojkumar_97’s picture

Assigned: manojkumar_97 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new864 bytes
new32.96 KB
new51.05 KB

Before apply patch:

After apply patch:

andregp’s picture

Status: Needs review » Reviewed & tested by the community

@manojithape, what was the intent of the new patch? It's a good practice to always write a comment explaining what you did on your patch and to provide an interdiff between your patch and the last one. This helps other members on the community to know what you're doing.

Also, the patch #54 was working just fine. The "Needs work" tag was added automatically by a random fail. A further investigation on the test results (or reading the comments) could have helped to know this.

Sending back to RTBC as per patch #54.

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.

larowlan’s picture

Status: Reviewed & tested by the community » Needs work

CI is showing that the css is out of sync with the pcss, so this needs work

sakthivel m’s picture

Status: Needs work » Needs review
StatusFileSize
new1.35 KB
new160.36 KB
new156.87 KB

#68 Please review the patch

Before Patch
image

After Patch
image

Shubham Sharma 77’s picture

StatusFileSize
new49.4 KB
new49.61 KB
new48.53 KB
new49.87 KB

Applied patch #68 applied successfully in drupal-9.5.x-dev.
For ref sharing screenshots...
We can move this ticket to RTBC.

dishakatariya’s picture

Assigned: Unassigned » dishakatariya
dishakatariya’s picture

Assigned: dishakatariya » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new68.27 KB
new69.12 KB
new162.63 KB

Verified and tested #68 applied successfully and looks good to me
Testing steps-
1.Make Olivero the default theme in Appearance.
2.Enable Layout Builder module in Extend.
3.Create an Article page with comments.
4.Go to Home > Administration > Structure > Content types > Article
5.Under Manage Display tab go to Layout options
6.Check Use Layout Builder and Allow each content item to have its layout customized. then save.
7.Go to the Article page and click on the Layout tab.
8.Scroll down to the comments section.

Actual Result: You will see the user's circular image overlapping with the Layout Builder section.
Expected Result: User's image should be aligned correctly within the comment.
Can be move to RTBC

mherchel’s picture

Priority: Normal » Minor
Status: Reviewed & tested by the community » Needs work

I'm really indifferent if this even needs to be fixed. I'm recategorizing as minor.

If we do fix this, we need to ensure the non-layout builder UI is not affected. The current patch affect the comments when the LB UI is not in use.

amin.ankit’s picture

Assigned: Unassigned » amin.ankit
amin.ankit’s picture

Assigned: amin.ankit » Unassigned

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.

dsandhya’s picture

StatusFileSize
new18.33 KB
new18.99 KB
new1.25 KB

I have created this patch for 10.1.x-dev and its working fine. Please verify.

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

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

jaydeep.jdb@gmail.com made their first commit to this issue’s fork.

jaydeep_patel’s picture

Status: Needs work » Needs review
StatusFileSize
new37.9 KB

User's profile image in comments section overlaps with in Article has been fixed. Please review. Thanks !!!

needs-review-queue-bot’s picture

Status: Needs review » Needs work
StatusFileSize
new1.22 KB

The Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

jaydeep_patel’s picture

Status: Needs work » Needs review

comments.pcss.css has been updated and User's profile image in comments overlaps with Layout Builder section issue has been resolved

kanchan bhogade’s picture

StatusFileSize
new185.29 KB
new185.76 KB
new307.41 KB
new326.23 KB

I've tested MR 8645 on Drupal 11.x
The MR is applied cleanly...

Test Result:
The User's image in the comments overlaps with the Layout Builder section issue is resolved and visually looks good.
Also, the Non-Layout UI looks good.

Attaching Scrrenshots

RTBC+1

chandansha’s picture

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

Issue summary: View changes

I read the issue summary, which is incomplete, there is no proposed resolution. And as, an issue that affects the UI there should be screenshots available from the issue summary. I am restoring the template and will update as I continue. Thanks you to andregp for summarizing the relevant changes and what comments have been addressed.

I think everything has been addressed here, but worth checking that #72 is complete. Also an Olivero maintainer commented in #72 that they are "indifferent" about this being changed.

Leaving at RTBC

gauravvvv’s picture

Updated attributions

nod_’s picture

Status: Reviewed & tested by the community » Closed (works as designed)

I reviewed the issue and all the different solutions change the design of the comment section one way or another. Changing the design of the comment section is not in the scope of this issue.

The issue is that inside the LB UI the icon is outside the LB section. This is by design that the picture is out of the normal flow of the page, it makes sense that it is also out of the flow of the LB interface. If we make it fit inside the LB the preview would not be accurate anymore.

Moving the comment element to the right to avoid this, but it breaks the intended design of the page. If the overlap is problematic it's always possible to disable the content preview with the checkbox on top of LB UI. Because we do not want to change the design of the comment and there is a solution to avoid this I'm closing this as works as designed.

Thanks to everyone who worked on this over the years. I wish we caught this one earlier to avoid spending so much time on this.