Account created on 24 October 2011, over 13 years ago
#

Merge Requests

More

Recent comments

🇵🇱Poland Graber

All remarks in the MR diff.
Great work and not far away from making this work 100%!

🇵🇱Poland Graber

Yes, an alter hook invoked from __construct() with cached output should be fine. We'll need to think where to cache it though (or maybe don't cache it?)

🇵🇱Poland Graber

Hmm, the situation is exactly the same with A360 Xapi activities. The only way to alter the statements would be using a proxy with an alter option but that's an additional middle step which means performance drop.

🇵🇱Poland Graber

Merged, thanks!

🇵🇱Poland Graber

By resources you mean lessons and activities?

🇵🇱Poland Graber

graber made their first commit to this issue’s fork.

🇵🇱Poland Graber

graber changed the visibility of the branch 3467618-admin-group-take-access to hidden.

🇵🇱Poland Graber

Closing this, looks like our override of pressButton() does the job. Wondering why the core issues went so silent but.. fixed nevertheless and the solution from here is linked there.

🇵🇱Poland Graber

There's one unresolved comment from Joel on the MR, tiny, just a variable rename request but still.

🇵🇱Poland Graber

Ok, merging this so we have one logic that controls course navigation including going back. Let's wait for more feedback on how course free navigation and lesson backwards navigation options should work exactly, for now both do what I'd expect but may be just me..

🇵🇱Poland Graber

Answers don't have a route provider so there's nothing like answer/1 currently.
Yes, we could add a group permission but postponing this until there'll be a use case.

🇵🇱Poland Graber

Ok, adding that link field requires rewriting results with a link and adding additional fields just to have user ID and group ID which will be a bit annoying and will litter the view. Maybe a separate field plugin will be nice to have after all.

🇵🇱Poland Graber

I think we'll need a separate Views plugin for the results link.. On the other hand it's so simple to create such a link without any plugins in Views.. It's more about informing site builders that the results page exists, maybe it'll be enough to update the default view config by adding such field?

🇵🇱Poland Graber

This issue was recently heavily affecting Drupal LMS tests where my test plan was one long JS test to improve performance and avoid setting up multiple times and.. there are lots of buttons pressed so it's a very good example.

Here's what we came up with (thanks to @catch for finding all the issues with partial solutions that work combined with a bit of my own logic): https://git.drupalcode.org/project/lms/-/merge_requests/82/diffs#e8d889b...
That combines waiting for a change in page HTML after pressing the button and checking the document.readyState.
Hope that helps, we could implement something similar in core.

🇵🇱Poland Graber

Merged, I'll keep the issue open for some time as those fails are very random and it may be we missed a place or 2.

🇵🇱Poland Graber

At the very least, I would recommend that we change the key/label of the "Default" option — neither the key (i.e.: an empty string) nor the label ("Default Behaviour") describes what it does very well.

Yes but from what I remember there may be more conditions. Should check first.

🇵🇱Poland Graber

A bit of cleanup

🇵🇱Poland Graber

Cleanup, updated purpose of evaluationDisplay methof.

🇵🇱Poland Graber

Looks good!

🇵🇱Poland Graber

Minor corrections

🇵🇱Poland Graber

graber changed the visibility of the branch 3483647-automated-drupal-11 to hidden.

🇵🇱Poland Graber

Setting to needs review.. this may affect theming though so not sure.

🇵🇱Poland Graber

Let's try to change all addWhereExpression to addWhere and see what will be the result. Just remembered search_api Views query also doesn't have addWhereExpression.

🇵🇱Poland Graber

Also updated composer.json, all pipelines green now, thanks!

🇵🇱Poland Graber

graber made their first commit to this issue’s fork.

🇵🇱Poland Graber

Lowering to normal as this will not be an issue on most instances.

Production build 0.71.5 2024