Support from Acquia helps fund testing for Drupal Acquia logo

Comments

huzooka’s picture

huzooka created an issue. See original summary.

huzooka’s picture

ckrina’s picture

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

LGTM! Both on a design and code review perspective.

lauriii’s picture

Status: Reviewed & tested by the community » Needs work
  1. +++ b/css/src/components/messages.css
    @@ -21,6 +21,19 @@
    +[data-drupal-messages],
    

    Could we add documentation on why this is needed?

  2. +++ b/css/src/components/messages.css
    @@ -21,6 +21,19 @@
    +.field .messages-list,
    +.form-wrapper .messages-list {
    +  margin-bottom: 0;
    +}
    

    Should we create a new inline variation of the message-list? We probably can't do that easily now so I'd be happy to move that to a follow-up.

lauriii’s picture

Can we also update this to the design system?

saschaeggi’s picture

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

Status: Reviewed & tested by the community » Needs work

Thanks for updating this to the design system!

#4 still needs to be addressed.

lauriii’s picture

Status: Needs work » Needs review
FileSize
6.79 KB
5.9 KB

Addressed #4.1. I think we should move #4.2 to future since it doesn't seem like there's a reliable way to determine when messages should be rendered inline. Maybe it's something we can work in a follow-up.

fhaeberle’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs follow-up

This looks good! Tested it and setting the tag.

lauriii’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
6.68 KB
3.27 KB

I realized that the Drupal message library doesn't have dependency on jQuery. I removed it from here as well.

huzooka’s picture

The patch in #10 adds an extra trailing space to the end of the js/messages.es6.js.

Apart from the error above, this looks (more than) good for me :)

Do we really need the follow-up? (I assume that we don't need it.)

huzooka’s picture

lauriii’s picture

Issue tags: -Needs follow-up

We should work on that when we find use cases for it. I don't think we need a follow-up.

huzooka’s picture

Status: Needs review » Reviewed & tested by the community

  • lauriii committed 5ca1c3e on 8.x-2.x
    Issue #3086510 by huzooka, lauriii, ckrina, saschaeggi: Proposal for (...

  • lauriii committed 9078834 on 8.x-1.x
    Issue #3086510 by huzooka, lauriii, ckrina, saschaeggi: Proposal for (...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed
FileSize
331 bytes

Awesome! I had to run eslint --fix to make this comply with our coding standards. Interdiff attached.

Committed and pushed 🚀

lauriii’s picture

Updated issue credits.

Status: Fixed » Closed (fixed)

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