Ottawa
Account created on 4 March 2005, over 20 years ago
#

Merge Requests

More

Recent comments

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I'll merge this to the default branch, tested on D10.3 and D11.2.2, if anyone has any issue, please let me know and I'll re-open the task.

🇨🇦Canada danrod Ottawa

I don't have permissions for that, you may need to contact Adrian Ababei for that.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Everything looks ok except for the tests. Which still need to be tested.

Moving it to "Needs Review" hope someone can review this.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

If anyone doesn't mind, I'll merge this and move to "Fixed".

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Tested and works fine on D10.3 and D11.2.2. I'll move to "Fixed" for now, let me know if you encounter other issues.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Looks ok to me, thanks @ankitv18

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I fixed some PHPCS / PHPSTAN, I think this is ready for review.

Appreciate any help.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Tested on my D10.3 and D11.2.2 instance and works as expected. Needs review.

🇨🇦Canada danrod Ottawa

Hey @anktiv18, I don't have permissions to that, maybe @c-logemann can help you with that

🇨🇦Canada danrod Ottawa

I can help with with the table sort, with vanilla JS. Just need to find some time for it.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I'll move it to "Fixed" then. Any issues please let me know and I'll re-open the task.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I'll move it to "Fixed", if there's any issue, I can re-open the task.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Thanks ! I'll merge this.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

This one is ready for review again, setting this to "Needs Review".

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Looks ok to me I'll move to RTBC

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Needs an extra review if possible.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Tested on a D11.2, works as expected.

Applied the patch and commited to 3.x.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

This has been included/fixed in the 3.0.x-dev release: https://www.drupal.org/project/media_thumbnails_svg/releases/3.x-dev

A tagged release will follow suit. I'm closing this for now.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Thanks Boris,

I created the new 3.x branch and dropped support for D9/10.

I'll close this.

🇨🇦Canada danrod Ottawa

Fixed all the PHPCS / PHPSTAN issues. Ready for review again.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

It seems like not a lot of work needs to be done here, the *.module is there with some preprocess calls.
No need to do more work.

🇨🇦Canada danrod Ottawa

I applied the #[LegacyHook] to support the D10 version and restored back the .module file as suggested, tested on a D10.5 instance and works great, moving this to "Needs Review" again.

🇨🇦Canada danrod Ottawa

@joseph.olstad Thanks, I'll have a look.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Moving this to "Needs Work", need to add backwards compatibility support with D10.3

🇨🇦Canada danrod Ottawa

I need to add Add backwards compatibility support with D10. Moving this to "Needs Work"

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

You are correct @ankitv18 , the Hook attribute is not really supported in D10.3, I will implement the #[LegacyHook] attribute and move this to "Needs Work".

🇨🇦Canada danrod Ottawa

I was aware that the hook attribute was introduced in D10.3 as well, but I can do the #[LegacyHook] if needed.

🇨🇦Canada danrod Ottawa

@smustgrave you can close this, please, thanks !

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I created a small patch for this just in case there is no patch yet.

🇨🇦Canada danrod Ottawa

Looks like indeed was fixed in another (duplicate) issue: https://www.drupal.org/project/entity_browser/issues/3440973 🐛 TypeError: key(): Argument #1 ($array) must be of type array, null given in key() (line 424 of modules\contrib\entity_browser\src\Plugin\Field\FieldWidget\EntityReferenceBrowserWidget.php) RTBC

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I tested this on a D10.3 and D11.2 instance and worked fine (screens attached), but we will need to drop support for D9 if we want to merge this.

I'll leave it to "Needs Review" for now.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I'll merge this to the 3.0.x branch.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I'll merge this to the 1.0.x branch.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

Tested this on a D11.2 instance and a D10.3
I would love a second opinion of this, moving the issue to "Needs Review".

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

It's is working fine for me. How to test it easily:

1. Create a basic article, make sure the text format is "Full HTML".

2. Add this JS snippet:

<script>
  let trimText = "                  TEXT               ";
  console.log("Text before applying the $.trim() function: ", trimText);
  trimText = $.trim(trimText);
  console.log("Text AFTER before applying the $.trim() function: ", trimText);
</script>

3. Save it and you should see something like that on the browser console:

Text before applying the $.trim() function:                    TEXT               
 Text AFTER before applying the $.trim() function:  TEXT

I'll set this to "Needs Review" just in case anyone wants to have look on it (and get extra points!)

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

This request doesn't seem to fix the issue.

🇨🇦Canada danrod Ottawa

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

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

I added a few screenshots, reorderered the information and added some information of why this module is useful: https://www.drupal.org/project/machine_name

Ready for review. @ankitv18

🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa
🇨🇦Canada danrod Ottawa

This looks good to me, I'll approve it.

🇨🇦Canada danrod Ottawa

For some reason, the "composer" tests are failing, I'll look into this later.

🇨🇦Canada danrod Ottawa

danrod created an issue.

🇨🇦Canada danrod Ottawa

I created a MR for this, please review.

Production build 0.71.5 2024