Gainesville, FL, US
Account created on 21 February 2007, about 18 years ago
  • Senior Front-end Developer at Agileana 
#

Merge Requests

More

Recent comments

🇺🇸United States mherchel Gainesville, FL, US

OK! I think we're good. I updated the example image with the goodest boy on the planet, which is a photo that I take and am happy to relinquish rights, assign whatever GPL/CC licenses needed.

🇺🇸United States mherchel Gainesville, FL, US

Another situation that I ran into is if an image component has an invalid examples.

🇺🇸United States mherchel Gainesville, FL, US

For now I'm going to delete the file in the MR. Before merging we need to figure out where its being used, and make sure nothing breaks.

🇺🇸United States mherchel Gainesville, FL, US

I would not think this should be a blocker. but if the LOE isn't much, it would definitely be a big deal

🇺🇸United States mherchel Gainesville, FL, US

This will be a great one to work on at this weekend's Florida DrupalCamp.

🇺🇸United States mherchel Gainesville, FL, US

Just left a review with a number of changes! Thank you!

🇺🇸United States mherchel Gainesville, FL, US

Thanks for volunteering and doing this @hot_sauce

🇺🇸United States mherchel Gainesville, FL, US

How do you imagine this would work? Which SDC props should accept this?

I would assume that it would be the latter (icon equivalent of $ref: json-schema-definitions://experience_builder.module/image).

This would then provide a form element similar to the gif in the issue summary. This would then (I think) return a SVG which could then be inserted into an icon component.

Does that make sense? I'm not too particular on the implementation. There might be lots of gotchas, but I would like to make sure the editorial experience is great (with the dedicated icon picker), and that the DX is great by allowing an easy way to specify the icon widget from within the SDC's component.yml file.

🇺🇸United States mherchel Gainesville, FL, US

I'm not 100% convinced we should be handling image styles on this level.

This solves a real need. I'm not sure what other alternatives we are.

I believe we should have an easy way to create responsive images in the context of a component so that I don't have to go to the Drupal UI to create these.

💯 Agree! But the same goes with image styles. I personally use responsive images only on larger images (700px wide). The majority of images are smaller.

If we implement this, then we'd want to always retrieve the source image and applying the image style would happen after running this filter.

I'm not sure I understand this. Why do we need the source image?

🇺🇸United States mherchel Gainesville, FL, US
🇺🇸United States mherchel Gainesville, FL, US

mherchel created an issue.

🇺🇸United States mherchel Gainesville, FL, US

The root of the problem is that Olivero's CSS specificity on that page title block is greater then core's visually-hidden CSS class, so the Olivero width is taking priority.

I added a utility CSS file with an !important flag on the width property.

This should be good to go, but leaving it at NR since I added the most recent code.

🇺🇸United States mherchel Gainesville, FL, US

Do you have another suggestion for how to fix this?

Ahh didn't know this. Will take a look.

🇺🇸United States mherchel Gainesville, FL, US

Left a review. The CSS specific to the frontpage is unneeded.

I'm fine with either ECA or preprocess.

🇺🇸United States mherchel Gainesville, FL, US

Yeah, it should really have a variable as the color, or if one off, a comment explaining why the variable wouldn't work.

🇺🇸United States mherchel Gainesville, FL, US

I've noticed that the bottom right arrow on the card (.teaser--card::after) does not allow clicks to go through

Oh yeah, that is a big deal. Good catch! I'll fix this at some point soon :D

🇺🇸United States mherchel Gainesville, FL, US

It's not a big deal to add the schema, but my thought was since this isn't going to be used in XB, there's not much of a point. But #5 is valid. I don't want to confuse people.

🇺🇸United States mherchel Gainesville, FL, US

An empty *.component.yml file is valid when it belongs to a theme and is not overriding another component.

I'm not sure what the problem is?

🇺🇸United States mherchel Gainesville, FL, US

You accidentally had the project link CSS selector in the case study CSS file. I just fixed that.

Notes:

  • The text still isn't aligned with the logo.
  • There are some content changes that are seemingly unrelated (but don't appear to be a problem)
🇺🇸United States mherchel Gainesville, FL, US

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

🇺🇸United States mherchel Gainesville, FL, US

It looks like you forgot commit the code to attach the CSS, which is why it didn't look quite right!

Anyway, I fixed that, and also adjusted the top layout to remove the extra spacing. Should be good!

🇺🇸United States mherchel Gainesville, FL, US

I'm going to work on this right now to fix the issues in #17

🇺🇸United States mherchel Gainesville, FL, US

Overall this is looking great! There are some inconsistencies:

  1. The image should be vertically aligned with the content.
  2. The icons are not showing
  3. Too much space between the image and the titile/phone/etc
🇺🇸United States mherchel Gainesville, FL, US

I haven't read through the comments, but @lauriii wanted me to post my use case here for a question that I was asking:

Is it possible to allow rich text, and then limit the HTML within that within props?

Use case: I have a card component. I want the entire card to be clickable, so I can either wrap everything in an tag or do another method to make it clickable. However, I want the description text to be rich (so editors can bold and italicize). But it cannot allow links since these will not work.

🇺🇸United States mherchel Gainesville, FL, US

Yeah, when I set this up Olivero supported IE11. So it's super complicated. If I were to refactor it today, i'd be using subgrid.

Either way, I'll take a look at it shortly.

🇺🇸United States mherchel Gainesville, FL, US

One quick thing is IMO "eyebrow" isn't a good name to use... too "jargon-y"... I've used "pretitle" / "Pre-title" in the past.]

I can agree with that!

🇺🇸United States mherchel Gainesville, FL, US

If anything else from #46 should change, I can make the changes myself, just let me know.

Yeah! Feel free to get in here and make changes. Just ping me in slack so we're not duplicating work.

🇺🇸United States mherchel Gainesville, FL, US

Note that the card container is not working. But I believe this is a XB problem. Even when I place the default "Two Column" component, it breaks. Can't really do much until that's fixed.

🇺🇸United States mherchel Gainesville, FL, US

I'm guessing everything in drupal_cms_olivero is very temporary anyway.

So, sure? TBH, I have no clue how this will affect the end users.

🇺🇸United States mherchel Gainesville, FL, US

Just pushed a fix to consolidate the styles. Its a bit better than duplicating them, But, hopefully XB will either work w slots, or if we can easily grab the image style's height/width from the node template and pass them in that way

🇺🇸United States mherchel Gainesville, FL, US

The previous code was relying on the code from the node--teaser.html.twig.

I created new styles in the card component and then refactored the node-teaser template to use a different classname.

@balintbrews and I had a discussion in Slack about this with he advocating that we leave the CSS out of the SDC, and me advocating that it should be contained in the SDC.

My thought is that we can do additional refactoring by duplicating the markup within the node teaser, and then creating a dependency on the SDC library.

🇺🇸United States mherchel Gainesville, FL, US

No. It's an issue. But i'm fixing as part of the other MR. When that gets merged we can close this as fixed.

🇺🇸United States mherchel Gainesville, FL, US

Style update pushed. Also added a 'Flipped layout" per Jen!

🇺🇸United States mherchel Gainesville, FL, US

This is looking super great! Thank you @boulaffasae and @vasantha deepika.

I talked to @jwitkowski (the designer) and we need some changes:

I'm going to work on this now to get it in for 1.0

🇺🇸United States mherchel Gainesville, FL, US

Per @ckrina at https://drupal.slack.com/archives/C07G41EUJP4/p1736344315627679?thread_t...

I don’t think it’s a good pattern to force someone to open something in a new window or tap, regardless of it being external or not. They should decide. And the icon should only appear if the link is going to open in a new window.

If there i no way to make that link external, then the icon doesn’t matter.

I'm taking care of this in the CSS at 📌 Implement designs for case study/project full page display within Olivero Active , since there's an external icon there, too.

🇺🇸United States mherchel Gainesville, FL, US

Styles and recipe updates. Should be good to go.

🇺🇸United States mherchel Gainesville, FL, US

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

🇺🇸United States mherchel Gainesville, FL, US

Pushed some styles! Note that I normalized some spacing, and also the font sizes on the date and location title.

🇺🇸United States mherchel Gainesville, FL, US

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

🇺🇸United States mherchel Gainesville, FL, US

I'm running into an issue caused by this fix. In many components, I've allowed multiple types. Example:

  properties:
    is_active:
      type:
        - null
        - boolean

Now, I can't see how to do this. Furthermore, I've written code that's in prod that does this, but there's no change record. When prod updates to 11, this will break.

🇺🇸United States mherchel Gainesville, FL, US

OMG and LOL. Sorry about that! I do have a habit of copying/pasting where I can.

🇺🇸United States mherchel Gainesville, FL, US

+1 on getting this in. Adjusted credit.

🇺🇸United States mherchel Gainesville, FL, US

Hi @michaellenahan,

Thanks for the issue, but since Olivero is now in core, all issues need to be created there. We already have an issue for this though at 📌 Olivero default welcome page needs link removed Active

🇺🇸United States mherchel Gainesville, FL, US

OK! I believe all items in #17 have been resolved!

🇺🇸United States mherchel Gainesville, FL, US

I ended up "fixing" #24 with the latest commit.

When the wide search opens, it adds a CSS class to all search dropdowns (since we can't know which one is the correct one). On close, it removes the CSS class.

🇺🇸United States mherchel Gainesville, FL, US

Fixed a couple things including the anonymous JS error.

However, I'm stuck on the styling for the dropdown. The issue is

  • The wide search dropdown needs to have custom styling (dark background etc).
  • The regular search dropdowns should not have this styling
  • There's no dependable CSS selector where I can only style the wide search dropdown results.
  • I delved into jQuery UI's autocomplete API to see if there was any type of pointer, reference, etc in the returned data. However, I struck out here too. Not sure quite how to proceed.
  Drupal.behaviors.searchWideForm = {
    attach(context) {
      once('search-wide-form', '[data-drupal-selector="simple-search-form"]', context).forEach(
        () => {
          $('.block-search-wide :is([type="text"], [type="search"])').autocomplete({
            open: function (event, ui) {
              // This doesn't reliably add the class to the correct dropdown. The event object doesn't point to it anywhere. The UI object is empty.
              document.querySelector('.search-api-autocomplete-search:has(.ui-menu-item)').classList.add('search-wide-dropdown');
            }
          });
        }
      );
    },
  };
🇺🇸United States mherchel Gainesville, FL, US

The new look of the Drupal.org website is pathetically ugly. It looks like a beginner made it from free elements. The old one was nice and easy to understand. Why do they want to kill Drupal?

@atomi This is one of the rudest tasteless comments that I've ever seen in my 17+ years on Drupal.org. Lots of people worked on this, and it's a far step above the previous design.

Delete your comment.

🇺🇸United States mherchel Gainesville, FL, US

mherchel created an issue.

🇺🇸United States mherchel Gainesville, FL, US

@mherchel confirming he also likes #5 🤞

So to confirm the component.yml will look something like this?

test_object_drupal_image_big:
  title: 'My title'
  $ref: json-schema-definitions://experience_builder.module/image
  width:
    minimum: 1000
  height:
    minimum: 1000
 

I'm also assuming this will be exposed in the upload/selection form so the editor can see the requirements?

if so, this is fantastic! Thanks for working on this!

🇺🇸United States mherchel Gainesville, FL, US

@sethhill

Production build 0.71.5 2024