Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link at the top of the paragraphs field to expand all/collapse all #177

Open
herbdool opened this issue Mar 20, 2024 · 3 comments
Open

Link at the top of the paragraphs field to expand all/collapse all #177

herbdool opened this issue Mar 20, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@herbdool
Copy link
Contributor

This d.o issue claims to provide this: https://www.drupal.org/project/paragraphs/issues/2476253, among a bunch of other things. The one feature could maybe be pulled out of it.

@herbdool herbdool added the enhancement New feature or request label Mar 20, 2024
@herbdool
Copy link
Contributor Author

I'm not sure if it's the best idea. In the patch there's this comment:

The JavaScript supports AJAX forms, however it is very inefficient since
it has to serially trigger the AJAX callbacks due to Drupal.ajax only
allowing 1 request at a time.
Example: 9 large paragraphs could take 20+ seconds to collapse / expand.

@laryn
Copy link
Member

laryn commented Mar 22, 2024

Right, that patch description doesn't make it sound good.

@laryn
Copy link
Member

laryn commented Jun 1, 2024

It would be worth examining how it's done in D10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants