- Issue created by @agoradesign
- Status changed to Needs review
over 1 year ago 10:59am 22 February 2023 - Assigned to Grevil
- π©πͺGermany Anybody Porta Westfalica
LGTM! @Grevil could you please check this and add a test which fails for now and works after the fix?
If anything is unclear, contact me.@agoradesign to speed things up, you can also add the test please, otherwise this may take some month to be fixed and committed. Very busy times here :)
- π¦πΉAustria agoradesign
I'm so sorry. Similar situation here...
If I'd had both more time and knowledge about the internals of photoswipe module, I'd first investigate, why it's even necessary to have the style_name set in the responsive formatter. I believe it's a side effect of re-using as much as possible from the normal image formatter.
- First commit to issue fork.
- Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - @dinazaur opened merge request.
- Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 15 pass - πΊπ¦Ukraine dinazaur
Hello, it actually was not working. I've implemented a test that checks if the hide option work. Above I attached a patch with only the test in it, it should fail on the current 3.x branch.
- Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - πΊπ¦Ukraine dinazaur
Woops, attached wrong patch. Here is the appropriate one.
- last update
over 1 year ago 14 pass, 2 fail The last submitted patch, 9: 3343669-photoswipe-responsive-formatter--only-test.patch, failed testing. View results β
- π©πͺGermany Grevil
Do we really need all this config installed inside the test module? Can we not simply create most stuff programmatically?
- π©πͺGermany Anybody Porta Westfalica
Well, the config idea is not bad, on the other side it has the risk of being different from the real world config... I'm not sure which of both paths to go... pro's / con's?
- π©πͺGermany Anybody Porta Westfalica
What's the 4.x and 5.x status here?
- last update
over 1 year ago 15 pass - Status changed to Needs work
over 1 year ago 1:52pm 31 July 2023 - π©πͺGermany Grevil
Let's also check if other responsive image styles work as expected, I guess after that, we can merge this.
- last update
over 1 year ago 15 pass - last update
over 1 year ago 16 pass - Status changed to Needs review
over 1 year ago 11:25am 4 August 2023 - π©πͺGermany Grevil
Ok, I added a test to check the hidden node_style_first option. I think the last test I mentioned in #15 is out of scope here.
Great work @dinazaur! Let's get this merged!
- Assigned to Anybody
- Assigned to dinazaur
- π©πͺGermany Anybody Porta Westfalica
Thanks, this really looks great, heavy work!
I left a comment, as that removal looks dangerous to me and should be safety-checked by an additonal test, if we don't have one yet. Could you take a look please @dinazaur? Perhaps I'm wrong. - Issue was unassigned.
- Status changed to RTBC
over 1 year ago 12:11pm 4 August 2023 - π©πͺGermany Anybody Porta Westfalica
Thanks @Grevil for the clarification. RTBC then. Thanks!
- last update
over 1 year ago 16 pass -
Anybody β
committed 0b0fd1ee on 4.x authored by
dinazaur β
Issue #3343669 by dinazaur, agoradesign: Photoswipe responsive formatter...
-
Anybody β
committed 0b0fd1ee on 4.x authored by
dinazaur β
- Status changed to Fixed
over 1 year ago 12:12pm 4 August 2023 - Status changed to Active
over 1 year ago 12:56pm 4 August 2023 - π©πͺGermany Grevil
I do not have any permission on the current "3343669-photoswipe-responsive-formatter" branch anymore after this was set to fix. I originally created a new MR here: https://git.drupalcode.org/issue/photoswipe-3343669/-/merge_requests/1, but now this MR is also broken, no idea what's happening, the new Gitlab UI is horrible and doesn't seem to properly work with the Drupal commit hooks.
I'll try to simply cherry-pick the commit, which probably won't work.
-
Grevil β
committed f0944b1e on 5.x authored by
dinazaur β
Issue #3343669 by dinazaur, Grevil, Anybody: Photoswipe responsive...
-
Grevil β
committed f0944b1e on 5.x authored by
dinazaur β
- Status changed to Fixed
over 1 year ago 1:09pm 4 August 2023 - π©πͺGermany Grevil
Ok, needed to cherry-pick it locally, all committed now, thanks all!
- Assigned to Grevil
- Status changed to Needs work
over 1 year ago 3:13pm 4 August 2023 - π©πͺGermany Anybody Porta Westfalica
@Grevil: Tests in 5.x are now failing, I think it's probably due to this commit. So I'm reopening to take a look at 5.x again.
- Status changed to Fixed
over 1 year ago 7:28am 7 August 2023 - π©πͺGermany Grevil
Will be fixed in π Photoswipe responsive formatter shows no image, if configured to hide any thumbnail except the first one Fixed . Sorry, should've straight up create a second branch. I usually do that through the UI, which wasn't possible through the new GitLab UI. Please correct me if I am wrong, but I can't create a new branch here: https://git.drupalcode.org/issue/photoswipe-3343669/-/branches.
- π©πͺGermany Anybody Porta Westfalica
Ah: π Fix currently failing schema errors in tests. Fixed
- Issue was unassigned.
Automatically closed - issue fixed for 2 weeks with no activity.