Account created on 11 July 2014, over 10 years ago
#

Merge Requests

More

Recent comments

πŸ‡·πŸ‡ΊRussia lexbritvin

Hello @anybody.
Probably yes, it's better to create a new issue then.

That's why I'm asking you if I follow the steps correctly.
Because with the latest versions of Drupal and modules, I was not able to reproduce the issue at all.
Maybe I miss the steps to reproduce.

πŸ‡·πŸ‡ΊRussia lexbritvin

Because of my tests, I will attach a revert patch to use in my projects.

πŸ‡·πŸ‡ΊRussia lexbritvin

Thank you for pointing out. That may be related.
Yes, I have Drupal 10.3.2, gin 3.0.0-rc13, gin_lb 1.0.0-rc8
But after further investigation, it doesn't seem to be correct.

I disabled the fix and it works well for me with multiple value field.
I tested the "Add another item" without gin_lb on content entity with Media library.

Meaning gin_lb is not making any specific magic to the buttons to make them work.

Are there specific steps to reproduce? Do I reproduce it correctly?

The auto buttons are not applied because the button is wrapped into `field-action` class, not `form-actions` like "Save" which are taken by dialog.
Regarding UI/UX, we have these buttons in the bottom in Media Library modal, in Media Add modal.
But somehow with the fix in Media Edit modal we have a different UI and different button placement.

For me the fix is not correct.
Can you please disable and quick check on your environments if I miss steps?

πŸ‡·πŸ‡ΊRussia lexbritvin

While the fix may have targeted the issue with "Add another item", but it introduced another issue in the gin_lb.
The "Save" button is not displayed at all.
See the screenshots before and after the fix:
Before

After

We must reopen the issue because the given solution is opinionated and doesn't consider themes.

πŸ‡·πŸ‡ΊRussia lexbritvin

Reworked the drilling.
We lack some Functional tests for the fixed case when we have block layout builder with multiple sections.

πŸ‡·πŸ‡ΊRussia lexbritvin

lexbritvin β†’ made their first commit to this issue’s fork.

πŸ‡·πŸ‡ΊRussia lexbritvin

Here is the patch to use in the project.

πŸ‡·πŸ‡ΊRussia lexbritvin

lexbritvin β†’ changed the visibility of the branch 1.0.x to hidden.

πŸ‡·πŸ‡ΊRussia lexbritvin

lexbritvin β†’ changed the visibility of the branch 3426687-close_dialog to active.

πŸ‡·πŸ‡ΊRussia lexbritvin

lexbritvin β†’ changed the visibility of the branch 3426687-close_dialog to hidden.

πŸ‡·πŸ‡ΊRussia lexbritvin

The provided patches don't consider install profile and default theme.
Here is a small enhancement to the patch.

πŸ‡·πŸ‡ΊRussia lexbritvin

The patch above broke style when using gin_lb.
Here is the patch that worked for me, it add a div wrapper for links.

πŸ‡·πŸ‡ΊRussia lexbritvin

Reroll patch as the built styles were not correctly built.

πŸ‡·πŸ‡ΊRussia lexbritvin

After investigation, the issue doesn't always reproduce. I added steps to reproduce to the issue summary. And updated the proposed resolution block.

I tested the solution on 9, 10 and 11-dev.
I opened a MR with the proposed solution. Likewise, I also attach a patch for history and usage in a project.

I'm not sure if we can add tests for this change.

πŸ‡·πŸ‡ΊRussia lexbritvin

lexbritvin β†’ made their first commit to this issue’s fork.

πŸ‡·πŸ‡ΊRussia lexbritvin

I think it's related to their EOL https://endoflife.date/drupal
Old versions may either work with an old version of a module, or if supported by someone, be updated to the latest Drupal version.

πŸ‡·πŸ‡ΊRussia lexbritvin

The issue appears again. Here is a little rework of format_size.
Please, reopen the issue and review the code.

Production build 0.71.5 2024