Problem/Motivation

Bartik's code needs to meet current Drupal coding standards.

Proposed resolution

This is the current design of comments in Bartik.

It is important that the work in this issue does not change the design.

Work to be carried out:

  • All CSS in Bartik for comments is kept within the comments.css file in Bartik's CSS component folder.
  • The selectors used in the component file need to follow best practices here. If selectors need to be changed also make sure to go to the comment.html.twig template and make the changes their too.
  • Check that the contents of the CSS file are formatted correctly and follow the coding standards, see the #1342054: [META] Clean up templates and CSS for things to check and links to the standards

Remaining tasks

  • Assess the code and figure out what work oulined above need to be included in the patch.
  • Write a patch with as much work as you want to include, upload and comment what changed you have included with an interdiff
  • Review the patch - code review and visual changes
  • Upload screenshots to show nothing/something is broken on the frontend

User interface changes

None, we are cleaning up CSS and markup in templates. The use of Bartik's UI and design will stay the same.

API changes

n/a

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task because it is a code clean up overhaul of a theme.
Unfrozen changes Unfrozen because it only refactors CSS and templates, no changes to UI or APIs
Prioritized changes The main goal of this issue is usability and performance. We want Bartik code to be up to date and something to be proud of.
Disruption No disruption it's only refactoring code not changing how to use the theme
CommentFileSizeAuthor
#58 screenshot-2398461-58.png316.59 KBrachel_norfolk
#57 interdiff-52-55-full.txt771 bytesjp.stacey
#55 2398461-55.patch7.97 KBidebr
#55 interdiff-55-52.txt590 bytesidebr
#53 patched_node_published.png106.61 KBjp.stacey
#53 patched_node_unpublished.png113.91 KBjp.stacey
#53 unpatched_node_published.png106.67 KBjp.stacey
#53 unpatched_node_unpublished.png128.45 KBjp.stacey
#52 2398461-52.patch7.95 KBidebr
#52 interdiff-52-43.txt3.61 KBidebr
#49 comment-cleanup-after-patch.png41.47 KBDickJohnson
#47 interdiff-2398461-43-47.txt435 bytesDickJohnson
#47 clean-up-bartiks-comments-2398461-47.patch5.98 KBDickJohnson
#44 2398461-43-after.png394.65 KBidebr
#44 2398461-43-before.png258.56 KBidebr
#43 interdiff-2398461-40-43.txt412 bytesjp.stacey
#43 clean-up-bartiks-comments-2398461-43.patch5.97 KBjp.stacey
#40 interdiff-2398461-36-40.txt640 bytesjp.stacey
#40 clean-up-bartiks-comments-2398461-40.patch5.83 KBjp.stacey
#36 interdiff-2398461-34-36.txt2.55 KBjp.stacey
#36 clean-up-bartiks-comments-2398461-36.patch5.82 KBjp.stacey
#34 clean-up-bartiks-comments-2398461-34.patch4.38 KBjp.stacey
#29 clean-up-bartiks-comments-2398461-29.patch4.32 KBrachel_norfolk
#29 interdiff-2398461-26-29.txt2.06 KBrachel_norfolk
#26 interdiff-23-26.txt1.22 KBrachel_norfolk
#26 clean-up-bartiks-comments-2398461-26.patch3.95 KBrachel_norfolk
#23 clean-up-bartiks-comments-2398461-23.patch3.97 KBlauriii
#23 interdiff.txt733 byteslauriii
#22 clean-up-bartiks-comments-2398461-22.patch3.87 KBDickJohnson
#21 clean-up-bartiks-comments-2398461-13.patch3.87 KBDickJohnson
#19 Test_article___Site-Install.png76.81 KBemma.maria
#18 Screen Shot 2015-01-11 at 16.03.02.png50.24 KBemma.maria
#16 Screen Shot 2015-01-11 at 14.55.42.png148.54 KBemma.maria
#13 clean-up-bartiks-comments-2398461-13.patch814 bytesmukeysh
#11 clean-up-bartiks-comments-2398461-11.patch3.23 KBDickJohnson
#4 clean-up-bartiks-comments-2398461-4.patch1.52 KBDickJohnson
#2 bartik-comment-unpublished-4.png16.2 KBDickJohnson

Comments

emma.maria’s picture

DickJohnson’s picture

StatusFileSize
new16.2 KB

Ok, spend some time on testing comments and looking the code.

1. Comment arrow is currently broken. Before starting to actually work with this I fixed it to #2398531: Some images not showing up after SMACSS split
2. Unpublished content is kinda impossible to notice as Bartik current styles are overriding cores unpublished styles. We're adding a tiny pink borders to comment arrow when unpublished (see screenshot), but it took me like few minutes to notice there's actually something. Related to this theres few issues around on this f.ex on #1854376: Bartik overrides unpublished style from node.css

On 2. I'd rather add the pink background.
Pink borders

DickJohnson’s picture

The code for unpublished comments also exists both in comments.css and content.css. I think on this issue we're not going to change content.css, right?

DickJohnson’s picture

Status: Active » Needs review
StatusFileSize
new1.52 KB

And a patch.

Don't consider this to be ready. Just sending it to testbot.

Status: Needs review » Needs work

The last submitted patch, 4: clean-up-bartiks-comments-2398461-4.patch, failed testing.

emma.maria’s picture

Title: Clean up "comments" CSS in Bartik » Clean up the "comments" component in Bartik

Status: Needs work » Needs review
idebr’s picture

Status: Needs review » Needs work

Setting back to 'Needs work' per #4

Don't consider this to be ready. Just sending it to testbot.

lauriii’s picture

+++ b/core/themes/bartik/css/components/comments.css
@@ -1,4 +1,8 @@
+ *

I don't think there should be empty row

DickJohnson’s picture

Assigned: Unassigned » DickJohnson

Lets take a new start here.

DickJohnson’s picture

Status: Needs work » Needs review
StatusFileSize
new3.23 KB

1. .comment h2.title removed as there's no h2 in .comment. There's h3 in .comment and h2 in .comment-wrapper
2. @lewisnyman pointed out that we're not making visual changes on these, so I'll revert the mention about unpublished colors.
3. Made some changes to template.
4. Made some changes to css-file based on changes on template
5. The missing arrow bug was already fixed on other issue.

A patch as attachment. Don't think it's ready, but some feedback would be great.

Status: Needs review » Needs work

The last submitted patch, 11: clean-up-bartiks-comments-2398461-11.patch, failed testing.

mukeysh’s picture

StatusFileSize
new814 bytes

patch for comment.css there is an extra space .comment-footer { display: table-row; } and added outline: none in comment subject field

mukeysh’s picture

Issue tags: +#dcdelhi
lauriii’s picture

Status: Needs work » Needs review

Setting to needs review so the testbot triggers

emma.maria’s picture

Issue summary: View changes
Status: Needs review » Needs work
StatusFileSize
new148.54 KB

Thanks @Mukeysh for creating a patch. Your latest patch does not contain the work from #11. Patches need to follow on from a previous patch if one exists in the issue already. Apply the patch to your copy of Drupal, add the changes you want to add and then create and upload a new patch from that.

emma.maria’s picture

Issue summary: View changes
emma.maria’s picture

StatusFileSize
new50.24 KB

Some feedback for patch in #11

  1. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,7 +1,11 @@
    + * Visual styles for commenting in Bartik
    

    Commenting implies the comment form. These are styles for the comment display so change to just "comment".

  2.  

  3. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,7 +1,11 @@
    + * Visual styles for commenting in Bartik
    + */
    +.comment {
    

    Needs a blank line below the file comment see here.

  4.  

  5. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,7 +1,11 @@
    -.comment h2.title {
    -  margin-bottom: 1em;
    

    This property needs to be kept for the h2.title in the comments wrapper, the selector is currently incorrect and the h2 has lost it's margin-bottom in Core. Plus add a good selector to the h2.title such as .comments__title, we don't want to avoid using elements in the selector.

  6.  

  7.  

    For some reason the comment author post date has lost it's styles ^^
  8.  

  9. +++ b/core/themes/bartik/templates/comment.html.twig
    @@ -73,25 +73,25 @@
    -<article role="article"{{ attributes.addClass(classes)|without('role') }}>
    

    This is needed as required classes are being added by this.

emma.maria’s picture

StatusFileSize
new76.81 KB

Screenshot for point 3 in #18 to show why we need to keep this property for the h2.title in the Comment wrapper

+++ b/core/themes/bartik/css/components/comments.css
@@ -1,7 +1,11 @@
-  margin-bottom: 1em;
emma.maria’s picture

  1. +++ b/core/themes/bartik/css/components/comments.css
    @@ -31,19 +35,19 @@
    -.comment .content {
    +.comment-content {
    

    This needs to be .comment__content to follow standards.

  2.  

  3. +++ b/core/themes/bartik/templates/comment.html.twig
    @@ -73,25 +73,25 @@
    -          <p class="comment-parent visually-hidden">{{ parent }}</p>
    +          <p class="comment__parent visually-hidden">{{ parent }}</p>
    

    The comment-parent class is not being used anywhere in core so we can remove this class from the template.

  4.  

  5. +++ b/core/themes/bartik/css/components/comments.css
    @@ -31,19 +35,19 @@
    -.comment .submitted .comment-time {
    +.comment .comment__created {
    

    .comment should be taken out of this selector and we should keep the word time. Therefore the selector should be .comment__time

  6.  

  7. +++ b/core/themes/bartik/css/components/comments.css
    @@ -31,19 +35,19 @@
    -.comment .submitted .comment-permalink {
    +.comment .comment__permalink {
    

    .comment should be taken out of the selector, .comment__permalink implies that is is part of the comment component.

DickJohnson’s picture

StatusFileSize
new3.87 KB

Worked a bit on this. Didn't yet fix all things mentioned by emmamaria.

DickJohnson’s picture

StatusFileSize
new3.87 KB

You can forget the one in #21. Something went wrong.

lauriii’s picture

Status: Needs work » Needs review
StatusFileSize
new733 bytes
new3.97 KB

I guess we still have to print the parent item and print content attributes. Maybe we just remove the class as Emma suggested?

emma.maria’s picture

Assigned: DickJohnson » Unassigned

Unassigning so someone can review the latest patch by @lauriii.

rachel_norfolk’s picture

Assigned: Unassigned » rachel_norfolk

Reviewing...

rachel_norfolk’s picture

Assigned: rachel_norfolk » Unassigned
Issue tags: +#drupalcampbrighton
StatusFileSize
new3.95 KB
new1.22 KB

Looking back at #20 Emma's list, I've found a couple of things still need updating, so here's an update that I believe includes all 4 requirements at #20.

idebr’s picture

Status: Needs review » Needs work
  1. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,7 +1,12 @@
    -.comment h2.title {
    -  margin-bottom: 1em;
    +.comment {
    +  margin-bottom: 20px;
    +  display: table;
    +  vertical-align: top;
    

    The .comment styling is now added twice in the stylesheet

  2. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,7 +1,12 @@
     .comment .field-name-field-user-picture img {
       margin-left: 0; /* LTR */
    

    An <img/> element has 0 margin by default. This code can be removed

  3. +++ b/core/themes/bartik/css/components/comments.css
    @@ -14,40 +19,40 @@
    +.comment__attribution img {
       margin: 0;
    

    Same here

  4. +++ b/core/themes/bartik/css/components/comments.css
    @@ -14,40 +19,40 @@
    -.comment .comment-arrow {
    +.comment-arrow {
    

    This should be .comment__arrow since it is nested in .comment

  5. +++ b/core/themes/bartik/css/components/comments.css
    @@ -57,12 +62,12 @@
    +.comment-text {
    

    This should be .comment__text since it is nested in the .comment component

  6. A comment ends with the .comment-footer class. This should be .comment__footer since it is nested in the .comment component.
rachel_norfolk’s picture

Assigned: Unassigned » rachel_norfolk
rachel_norfolk’s picture

Assigned: rachel_norfolk » Unassigned
Status: Needs work » Needs review
StatusFileSize
new2.06 KB
new4.32 KB

I've incorporated all of idebr's comments at #26 and also noted that the comment-arrow border colours that used to be defined in colors.css are (rightly) not there any more - so I've added them here. I *believe* that falls within the scope of this issue - I'm happy to create a new one if required...

rachel_norfolk’s picture

Also note that I'm unsure about renaming some of the classes still using old comment-xxx structure in there. I *think* they should be converted but want to check...

idebr’s picture

Status: Needs review » Needs work
  1. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,68 +1,62 @@
    + * Visual styles for comments in Bartik
    

    Comments should end in a full stop.

  2. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,68 +1,62 @@
    -.comment h2.title {
    -  margin-bottom: 1em;
    -}
    

    This <h2> used to belong to the comment-wrapper. If we remove it here, we should at least open a followup to reapply it to the comment-wrapper

  3. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,68 +1,62 @@
    -.comment .attribution .username {
    +.comment__author {
       white-space: nowrap;
     }
    

    This breaks the username display, since the attribute now applies to the wrapper instead of the child element.

  4. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,68 +1,62 @@
    -.comment .submitted .comment-time {
    +.comment__created {
    

    This selector should be .comment__time per #20.3

  5. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,68 +1,62 @@
    +  border-color: #ffffff;
    

    Use the shorthand color code when possible, eg. #fff. If you copied the selector from colors.css, please remove it from the original file.

  6. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,68 +1,62 @@
    -.comment .comment-text {
    +.comment-text {
    

    This should be .comment__text since it is a child element of .comment

  7. +++ b/core/themes/bartik/css/components/comments.css
    @@ -95,11 +89,10 @@
    +.comment.unpublished .comment__arrow {
    

    unpublished is a modifier, so the selector should be .comment--unpublished

  8. +++ b/core/themes/bartik/css/components/comments.css
    @@ -95,11 +89,10 @@
     .comment-footer {
       display: table-row;
     }
    

    The markup should be .comment__footer since it is a child element of .comment. The css does not appear to do anything, since its parent is not a table. If so, it can be removed.

Some other points that are not in the patch:

  1. typography.css contains a selector p.comment-time that should be updated with the new markup. The selector can be moved to comments.css optionally in the same way #2398447: Remove the "typography" CSS file in Bartik does.
  2. content.css contains this selector that should be moved and updated:
    .node--unpublished .comment-text .comment-arrow,
    .unpublished .comment-text .comment-arrow {
      border-left: 1px solid #fff4f4;
      border-right: 1px solid #fff4f4;
    }
jp.stacey’s picture

Assigned: Unassigned » jp.stacey

I'm going to look at this today after around 2.30-3pm UTC unless anyone else wants to work on it.

emma.maria’s picture

Go for it @jp.stacey! Looking forward to your patch. If you need help do leave us a comment.

Also thanks @idebr for the great guidance, these Bartik issues are a treat for novices to work on :)

jp.stacey’s picture

StatusFileSize
new4.38 KB

The patch in #29 is out of date, so I've re-rolled it with a slight tweak ("commment__content") and attached. I've interdiffed manually and it looks right. I think it's the font-family statement that was preventing #29 applying.

I'll now look at @idebr's feedback - thanks for that! If I don't get that done by 1700UTC then I'll be at a meeting so I'll try to remember to unassign it!

idebr’s picture

Thanks @jp.stacey! There's no rush, so feel free to work on it at your own pace.

jp.stacey’s picture

Assigned: jp.stacey » Unassigned
Status: Needs work » Needs review
StatusFileSize
new5.82 KB
new2.55 KB

Please find a patch attached, plus interdiff. I think this covers all feedback from @idebr in #31, minus their original point 2, but plus the second extra point mentioned. Outstanding points are therefore:

* **Feedback #2: This h2 used to belong to the comment-wrapper. If we remove it here, we should at least open a followup to reapply it to the comment-wrapper**: I didn't want to make the call for how to open the followup, what parent issue to assign it to etc.
* **Extra point #1: typography.css contains a selector p.comment-time that should be updated with the new markup.** As above, I think this might be best suited to opening a followup, to fix once this and #2398447: Remove the "typography" CSS file in Bartik are both closed. Otherwise the overlap means we might get into a race condition with that other ticket!

As an addendum, unfortunately I've also just hosed my local D8 build, just as I was testing my last bit of code: changing of comment selector from .comment.unpublished to comment--unpublished (so using Twig string concatenators.) I believe what's in the patch is syntactically correct but I would appreciate other eyes specifically on that bit.

jp.stacey’s picture

(Oh, weirdly #2398447: Remove the "typography" CSS file in Bartik is showing as crossed out in my new comment, but not in @idebr's. So possibly that work can be done here.)

idebr’s picture

Status: Needs review » Needs work

Thanks for working on this, jp.stacey! I have done another review and found a few more things before this can be commited.

  1. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,69 +1,63 @@
    -.comment h2.title {
    -  margin-bottom: 1em;
    -}
    

    Let's reintroduce this selector as .comment-wrapper h2 to prevent this style from being lost.

  2. +++ b/core/themes/bartik/css/components/comments.css
    @@ -1,69 +1,63 @@
    -.comment .attribution img {
    -  margin: 0;
    

    This selector is necessary to win specificity over .field-type-image img. Let's introduce a new selector .comment .field-type-image img with just the margin: 0 declaration as a comment to indicate the selector is overqualified to win specificity over .field-type-image img

  3. +++ b/core/themes/bartik/css/components/comments.css
    @@ -87,20 +81,20 @@
     }
    -.comment.unpublished .comment-text .comment-arrow {
    +.node--unpublished .comment__text .comment__arrow,
    +.comment--unpublished .comment__text .comment__arrow {
    

    The border color overrides are used to fix the white borders when a node is unpublished and gets a light red background-color. An unpublished comment has no background-color, so .comment--unpublished .comment__text .comment__arrow can be removed. The selector is overqualified and can be rewritten as .node--unpublished .comment__arrow

  4. +++ b/core/themes/bartik/css/components/comments.css
    @@ -87,20 +81,20 @@
     .comment-footer {
       display: table-row;
     }
    

    This selector no longer applies since the class has been changed to comment__footer in the html markup. Since the parent is not displayed as a table, this selector can probably be removed. Please test manually to confirm.

jp.stacey’s picture

Assigned: Unassigned » jp.stacey

Thanks, @idebr. Looking at this now.

jp.stacey’s picture

Assigned: jp.stacey » Unassigned
StatusFileSize
new5.83 KB
new640 bytes

Attached patch and interdiff.

@idebr, referring to your most recent round of changes:

1. #content h2 in content.css takes precedence unless this selector is #content .comment-wrapper h2 so I've used that.
2. I've copied this verbatim as you requested, but this would affect all fields of type image on comments, not just attribution images. Do we care?
3. Done
4. Done: looks fine here in Chrome. As you say I can't see display: table-row doing much inside non-table elements.

I've yet to open the two followup tickets I detailed in #36. Anyone willing to take responsibility for their correct metadata? :)

jp.stacey’s picture

Status: Needs work » Needs review
idebr’s picture

Status: Needs review » Needs work

This is looking really good, thanks jp.stacey :)

  1. 1. #content h2 in content.css takes precedence unless this selector is #content .comment-wrapper h2 so I've used that.

    Excellent! In a case like this where we use an overqualified selector to override styling from other selectors, please add a comment why the selector is overqualified. For an example, have a look at the Seven theme: http://cgit.drupalcode.org/drupal/tree/core/themes/seven/css/components/...

    /* This is required to win over specificity of [dir="rtl"] .tabs__tab */

  2. 2. I've copied this verbatim as you requested, but this would affect all fields of type image on comments, not just attribution images. Do we care?

    That's a good point. Let's not add any more overrides then necessary and switch the selector to .comment .field-name-user-picture img. This selector is also overqualified, so it needs a similar comment as above to make clear the selector is overqualified to override .field-type-image img.

Regarding the follow-ups:

  • The css for the comment wrapper title has now been in this issue, so that is already covered.
  • The issue #2398447: Remove the "typography" CSS file in Bartik has already been committed and its changed have successfully been merged into the most recent patch, so that is covered as well
jp.stacey’s picture

Status: Needs work » Needs review
StatusFileSize
new5.97 KB
new412 bytes

OK, attached is a file and interdiff with the most recent round of changes for review.

idebr’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new258.56 KB
new394.65 KB

Thanks @jp.stacey! I did a manual test as well to confirm nothing broke. Screenshots here:

Before/after:

DickJohnson’s picture

Run some tests with BackstopJS and everything looks good. RTBC++

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs screenshots

What does an unpublished comment look like now?

+++ b/core/themes/bartik/css/components/comments.css
@@ -87,20 +89,16 @@
-.comment.unpublished {
+.comment--unpublished {
   margin-right: 5px; /* LTR */
   padding: 5px 2px 5px 5px; /* LTR */
 }
-[dir="rtl"] .comment.unpublished {
+[dir="rtl"] .comment--unpublished {
   margin-left: 5px;
   margin-right: 0;
   padding: 5px 5px 5px 2px;
 }
-.comment.unpublished .comment-text .comment-arrow {
+.node--unpublished .comment__arrow {
   border-left: 1px solid #fff4f4;
   border-right: 1px solid #fff4f4;
 }

+++ b/core/themes/bartik/css/components/content.css
@@ -123,11 +123,6 @@ ul.links {
-.node--unpublished .comment-text .comment-arrow,
-.unpublished .comment-text .comment-arrow {
-  border-left: 1px solid #fff4f4;
-  border-right: 1px solid #fff4f4;
-}

What does an unpublished comment on a published node and on an unpublished node look like? And what does a published comment on an unpublished node look like?

DickJohnson’s picture

Status: Needs work » Needs review
StatusFileSize
new5.98 KB
new435 bytes

Good catch.

idebr’s picture

Status: Needs review » Needs work

@DickJohnson The border colors are to blend in with unpublished nodes that have a light red background. Unpublished comments have no background-color, as you noticed yourself in #2422113: Unpublished comments have lost their styles in D8

DickJohnson’s picture

StatusFileSize
new41.47 KB

I still don't get what I'm missing. After my latest patch unpublished comments look like:
After patch

And unpublished nodes have pink background.

idebr’s picture

Looks like your browser has zoomed out

emma.maria’s picture

Issue tags: -Needs screenshots

Your browser indeed has zoomed in. I did that earlier without realising and panicked!

Can we be super awesome and replace the arrow with a CSS3 triangle styling instead of the crappy image? The quality and fragility of the image is not great. If you look closely the image doesn't even join up with the comment box there are gaps. Also in core we are moving away from relying on images for things.

Also once we have that in place we can even raise a follow up issue for the design of unpublished comments to have a much cleaner design. I was thinking the comment box with arrow could have the pink colour set rather than the whole wrapper as it looks a little rough right now.

Thanks!

idebr’s picture

Status: Needs work » Needs review
StatusFileSize
new3.61 KB
new7.95 KB

I replaced the comment arrow with a css triangle. The technique is explained on CSS tricks: http://css-tricks.com/snippets/css/css-triangle

The patch is based on #43, since the interdiff in #47 suggests an oversight by DickJohnson on the .unpublished selector

jp.stacey’s picture

@idebr that's a neat drop-in and good to get rid of the image.

I've reviewed the patch in #52 and it applies cleanly. I've also reviewed published and unpublished nodes' comment threads, before and after the patch is applied. They look great to me and the only difference seems to be the welcome return of the margin under h2.title.

However, I can't for the life of me detect the nuances mentioned by @alexpott between the 2^3=8 different states: patched/unpatched; node published/unpublished; comment approved/unapproved. The only obvious difference to me for unapproved comments is they get a right-hand margin (left-hand in RTL).

I've therefore uploaded screenshots of all states (4, not 8, but the thread always contains a comment, a reply and an unapproved) so maybe if there are still changes on this ticket, we can discuss with reference to these.

idebr’s picture

Assigned: Unassigned » idebr
Status: Needs review » Needs work
Issue tags: +Needs reroll

Patch no longer applies after #2422113: Unpublished comments have lost their styles in D8 was committed. I'll work on a reroll.

idebr’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new590 bytes
new7.97 KB

Rerolled the patch and applied the unpublished styling that was already available for nodes to comments as well.

idebr’s picture

Assigned: idebr » Unassigned
jp.stacey’s picture

StatusFileSize
new771 bytes

Reviewed +1 here: patch applies cleanly, visuals look exactly the same to me as with patch from #52!

The interdiff on #55 didn't take into account the rerolling owing to #2422113: Unpublished comments have lost their styles in D8, so I attach another for reference which is literally every line change: a bit noisier that way, but it might be of use.

It'd be great to get another review of this soon, so we don't have to keep rerolling to hit the moving target of HEAD.

rachel_norfolk’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new316.59 KB

Patch applies to latest head,
code looks good,
loving the inline css triangle,
screenshot shows no noticeable visual changes.

I'd say it's a good patch! :-)

screenshot 58

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Sorry, this dropped off my radar. Changes look good, are isolated to Bartik, and testing looks nice and thorough. Thanks!

Committed and pushed to 8.0.x.

  • webchick committed 7141a8d on 8.0.x
    Issue #2398461 by DickJohnson, jp.stacey, idebr, rachel_norfolk, lauriii...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.