Account created on 22 December 2015, over 8 years ago
#

Merge Requests

More

Recent comments

🇫🇷France mably

Merged. Thanks @linhnm for the fix!

🇫🇷France mably

The MR looks fine.

I can see that the regexp corresponds to the one found here:

https://stackoverflow.com/questions/71000139/javascript-regex-for-youtub...

Tested successfully with the following urls here : https://regex101.com/r/5JhmpW/1

http://www.youtube.com/watch?v=0zM3nApSvMg&feature=feedrec_grec_index
http://www.youtube.com/user/IngridMichaelsonVEVO#p/a/u/1/QdK8U-VIH_o
http://www.youtube.com/v/0zM3nApSvMg?fs=1&hl=en_US&rel=0
http://www.youtube.com/watch?v=0zM3nApSvMg#t=0m10s
http://www.youtube.com/embed/0zM3nApSvMg?rel=0
http://www.youtube.com/watch?v=0zM3nApSvMg
http://youtu.be/0zM3nApSvMg
https://youtube.com/shorts/0dPkkQeRwTI?feature=share
https://youtube.com/shorts/0dPkkQeRwTI
🇫🇷France mably

Thanks for the patch @linhnm!

Could you create a merge-request please?

🇫🇷France mably

Hi Mike, thanks for having a look at our issue.

All the buttons are disabled by default and not displayed.

It should not affect existing installations and be backward compatible.

We are ok with merging this in a new 2.0.x branch of the module (this is what we are currently doing with the views_filters_summary module).

🇫🇷France mably

Has been implemented in 3.0.x-dev using a info_alter hook in a dedicated submodule.

🇫🇷France mably

Has been implemented in 3.0.x-dev using a info_alter hook in a dedicated submodule.

🇫🇷France mably

You're welcome! Feel free to come back to me if you encounter any issue.

🇫🇷France mably

Has been implement in 3.0.x-dev via a hook in a submodule.

🇫🇷France mably

@khiminrm this last commit^^ should fix it.

🇫🇷France mably

@khiminrm I'll have a look at it, thanks 👍

🇫🇷France mably

Should be fixed in 3.0.x-dev branch.

Thanks for all you contributions!

🇫🇷France mably

Current fixes have been merged in 3.0.x-dev branch.

Keeping open for eventual futur uses.

🇫🇷France mably

Seems to be fixed in 3.0.x-dev as I can't reproduce it. Could you give it a try?

🇫🇷France mably

Taxonomy term are automatically translated in Drupal 8+.

I guess this is for a very specific translation use case.

🇫🇷France mably

Should be fixed in 3.0.x-dev branch.

🇫🇷France mably

Most of these issues should be fixed in 3.0.x-dev branch.

🇫🇷France mably

This commit allows to inject a specific class in the page when the view uses Ajax:

https://git.drupalcode.org/project/views_filters_summary/-/commit/7e3234...

So I think this fixes this specific issue and we can now work on this one:

https://www.drupal.org/project/views_filters_summary/issues/3345403 🐛 Remove link removes all filters Fixed

🇫🇷France mably

Should be fixed in 3.0.x-dev branch, could you give it a try?

🇫🇷France mably

Should be greatly improved in 3.0.x-dev branch, could you give it a try?

🇫🇷France mably

Should be fixed in 3.0.x-dev branch, could you give it a try?

🇫🇷France mably

Maintainership has been accepted, thanks.

Working on 3.0.x-dev branch, processing the issue backlog.

🇫🇷France mably

Date filters summary should now display fine in 3.0.x-dev branch, could you give it a try?

🇫🇷France mably

Removal of the toc_ng module as it has been backported to toc_js.

🇫🇷France mably

Released as version 3.0.0-beta2.

🇫🇷France mably

Ok, I have tried to implement a first version of collapsible items, it is marked as experimental in the configuration screen:

This basic implementation is a proof-of-concept that will probably need to be improved later on:

🇫🇷France mably

Added an MR to this issue that allows you to override the default way to get the toc container.

You can check the code here: https://git.drupalcode.org/project/toc_js/-/merge_requests/21/diffs

It should allows you to do whatever you want to select the right container you are interested in.

🇫🇷France mably

Could you explain what can't be done in CSS exactly?

🇫🇷France mably

This particular case should be handled in your site theme. 2 sizes in definitely not enough, some people will need to be able to handle 3 or more different size levels... This definitely belongs to your theme CSS files.

The ToC title configuration option can be left empty or hidden in CSS as you did, I'm not a SEO expert so won't be able to give a more precise answer.

🇫🇷France mably

Ok, thanks for the test!

🇫🇷France mably

have not tested the autocomplete feature, but the datalist part seems to be working fine, thanks!

🇫🇷France mably

Could you provide a complete scenario for reproducing the bug?

On my side everything seems to be working fine:

Tested with latest code from this MR.

🇫🇷France mably

Are you sure to have download the module's code corresponding to this issue's MR?

I can definitely see the Toc container field in the block configuration of the layout builder:

🇫🇷France mably

You dont need a specific CSS class, we use the closest() jQuery API with a simple selector to get the parent container.

If your parent container is a div, just put div in the container selector field.

🇫🇷France mably

@w01f, could you give a try to this issue's MR that implements this new "toc container selector" option and tell us how it goes?

Here is a screenshot of the new configuration option:

🇫🇷France mably

Hi @w01f, thanks for your suggestion.

What do you think of adding a "toc container selector" configuration option allowing to choose on which parent element of the toc we want to apply visibility and stickiness ?

🇫🇷France mably

Nice work!

I think it would be preferable to create a dedicated submodule to avoid a dependency on the rather heavy webform module for those who don't need it, what do you think?

🇫🇷France mably

We cannot disable the toc_js block rendering as everything is done client-side.

May be we can add some custom CSS to the block when the toc is empty to allow hiding.

What are your suggestions?

🇫🇷France mably

The sticky positioning behavior is applied in its scrolling parent container only.

So your HTML must be specifically crafted for sticky behavior you want to get.

May be you'll find so more information here: https://www.lambdatest.com/blog/css-position-sticky-tutorial/

🇫🇷France mably

Fix for step 1 merged, we won't fix step 2 for now.

🇫🇷France mably

Let's go for a beta release then ;)

🇫🇷France mably

The problem is probably not related to toc_js as no javascript code modifies the li width or any other element width in the source code of the 3.0.x-dev version.

🇫🇷France mably

The problem is probably not related to toc_js as there is no occurence of sticky-wrapper in the module's source code for the 3.0.x-dev version.

And the module code doesn't add div tags between ul and li tags which is invalid:

https://caninclude.glitch.me/caninclude?child=div&parent=ul

🇫🇷France mably

Most of the issue backlog have been cleared, I think we may be ready for an alpha release...

🇫🇷France mably

A few commits have been added to 3.0.x-dev branch to fix highlighting with invisible headings.

🇫🇷France mably

Confirmed as fixed in 3.0.x-dev.

Production build 0.71.5 2024