- Issue created by @Anybody
- Assigned to lrwebks
- Status changed to Needs work
over 1 year ago 11:29am 24 August 2023 - 🇩🇪Germany lrwebks Porta Westfalica
I will start tackling this issue now and implementing it!
- Open on Drupal.org →Core: 10.0.7 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - @anybody opened merge request.
- Open on Drupal.org →Core: 10.0.7 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 21 pass - last update
over 1 year ago 21 pass - Status changed to Needs review
over 1 year ago 10:55am 7 September 2023 - 🇩🇪Germany lrwebks Porta Westfalica
Putting this into review now, basically finished and working!
In the review, please tell me if and where there is a documenting source for these settings where I can find out what they do exactly in order to fill out the missing ("???") descriptions! - 🇩🇪Germany Anybody Porta Westfalica
@LRWebks thanks! Documentation for the settings can be found here: https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin (below at around half the page height)
- Status changed to Needs work
over 1 year ago 12:27pm 7 September 2023 - 🇩🇪Germany Grevil
Added a few comments, otherwise LGTM!
See @Anybody's comment for the description.
- last update
over 1 year ago 21 pass - Status changed to Needs review
over 1 year ago 12:48pm 7 September 2023 - 🇩🇪Germany lrwebks Porta Westfalica
Back to review! Added the missing descriptions and resolved all threads. @Grevil, please resolve your threads yourself, as I cannot.
- Status changed to Needs work
over 1 year ago 1:24pm 7 September 2023 - last update
over 1 year ago 21 pass - Status changed to Needs review
over 1 year ago 7:28am 8 September 2023 - 🇩🇪Germany lrwebks Porta Westfalica
Resolved all issues again, back to review!
- 🇩🇪Germany Anybody Porta Westfalica
Just had a look at the settings page and LGTM. Are all options well tested? (As there are not tests in place).
Just one UX improvement from my side:
The select texts are very long for the "Caption Position" setting.In such a case I think it's better looking to use type "radios" instead of "select". And I'd prefer to write the options with ":" instead of the minus as separator:
- auto: Try ... [Default]
Input validations are perfect. Well done :)
@Grevil: Please do the final code review and decide if it's worth adding tests here.
- 🇩🇪Germany Anybody Porta Westfalica
PS: Please do not forget to set the comments resolved, if they are.
- Assigned to Grevil
- 🇩🇪Germany Grevil
Please do not forget to set the comments resolved, if they are.
He can't, as he isn't a Maintainer. No idea, when they introduced this "Feature".
- last update
over 1 year ago 19 pass, 4 fail - last update
over 1 year ago 19 pass, 4 fail - 🇩🇪Germany Grevil
I did some small adjustments and removed the _options prefix from the form elements, since the introduction of validation constraints in config forms (see https://www.drupal.org/node/3373502 → ) we should always make sure, that our form elements are named after the config entry it represents. Otherwise, we need to implement "mapConfigKeyToFormElementName()", if we ever want to use validation constraints inside photoswipe:
If your form has some form elements that aren't named the same as the corresponding config key, then also override ConfigFormBase::mapConfigKeyToFormElementName():
- Issue was unassigned.
- Assigned to Grevil
- Status changed to Needs work
over 1 year ago 3:17pm 8 September 2023 - last update
about 1 year ago 21 pass - Status changed to Needs review
about 1 year ago 10:32am 22 September 2023 - Issue was unassigned.
- Status changed to RTBC
about 1 year ago 10:46am 22 September 2023 - last update
about 1 year ago 21 pass - Status changed to Fixed
about 1 year ago 10:46am 22 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.