Use drupal_register_shutdown_function() in a really unique way OR allow for...
Looking to do some unique things with drupal_register_shutdown_function. #2222635: Waiting for table metadata lock on cache_field table& #1599622: Run poormanscron via a non-blocking HTTP request...
View ArticleFix Drupal.Commenting.FunctionComment.Missing in Unit tests
Problem/MotivationWorking to enable the sniff Drupal.Commenting.FunctionComment.Missing.Steps to reproduceProposed resolutionFix this sniff for Unit testsRemaining tasksReviewUser interface...
View ArticleUse placeholdering for more blocks
Problem/MotivationDrupal has the ability to auto-placeholder render arrays that use #lazy_builders depending on certain conditions.However, there are other benefits to using placeholders more,...
View ArticleAdd component variants to SDC
Problem/MotivationWe are planning to rewrite UI Patterns upon SDC. To achieve this, we are proposing a few changes and additions:#3390980: Make SDC extensible#3352063: Allow schema references in Single...
View ArticleCan't add a language
Problem/MotivationThe website encountered an unexpected error. Try again later.Error: Call to a member function setWeight() on null in...
View ArticleAdd validation constraints to comment.type.*
Comment type entity is not yet fully validatable:./vendor/bin/drush config:inspect --filter-keys=comment.type.comment --detail --list-constraints --fields=key,validatability,constraints > 🤖...
View ArticleRefine field descriptions
Problem/MotivationThis issue is a follow-up for #3356894: Make field selection less overwhelming by introducing groups to refine the newly added field descriptions if wanted. Steps to reproduceProposed...
View Article"Basic HTML" text format does not support manual teaser break...
Placing the following line inside the source of a node's body field adds a manual teaser break:<!--break-->This works fine when the node uses the "Full HTML" text format. It stops working,...
View Article[random test failure] FilterEntityReferenceTest
Problem/MotivationSee https://git.drupalcode.org/project/drupal/-/jobs/4158130 for an example. Time: 00:30.363, Memory: 8.00 MB Filter Entity Reference...
View Article[random test failure] DownloadTest::doPrivateFileTransferTest
Problem/Motivation Download (Drupal\Tests\file\Functional\Download) ✔ Public file transfer ✘ Private file transfer without page cache ┐ ├ Correctly denied access to a file when file_test sets the...
View ArticleMove resize CSS into its own library
Problem/MotivationSplit from #2880237: [meta] Refactor system/base library.This is only used with textareas so should be in its own library and attached to textarea elements.Steps to reproduceInstall...
View ArticleSet preprocess: false for jquery.min.js to reduce duplication between asset...
Problem/MotivationFollow up to #721400: Order JS files according to weight, don't change filenames for aggregated JS/CSS - depends on that patch. See reasoning there.Core's aggregation often results in...
View ArticleAdd assertions to OpenTelemetryNodePagePerformanceTest::testNodePageWarmCache()
Problem/MotivationNote: this issue was initially created for a performance testing workshop at DrupalCon Barcelona.OpenTelemetryNodePagePerformanceTest::testNodePageWarmCache() doesn't have assertions...
View ArticleReduce jQuery usage in dialog.ajax.js
Problem/MotivationI discovered today that in addition to the dialogue itself, we have a fairly large amount of jquery code.I believe that in order to make switching to a native dialog easier in the...
View ArticleStandardize numbering of hook_update_N following the module semantic versioning
Problem/MotivationFrom Drupal 9.x many modules started to use Semantic Versioning instead of matching the Drupal Core version number, so instead of something like 9.x-2.5 - we have something like...
View ArticleReplacing(?) jQuery UI resizable
Problem/MotivationjQuery UI has reached end-of-life, so it is being removed from Drupal core. jQuery UI Dialog is very much woven into Drupal core, making it necessary to provide a Backwards Compatible...
View ArticleWiden type for $violations in EntityConstraintViolationList constructor
Problem/Motivation /** * {@inheritdoc} * * @param \Drupal\Core\Entity\FieldableEntityInterface $entity * The entity that has been validated. * @param array $violations * The array of violations. */...
View ArticleNot able to add option with key and label '0' to List string field
Problem/MotivationI have a List (text) field that I ended up, for migration reasons, using the number 0 as the machine name of the first Allowed value. Migration went great. Now, months later, I need...
View ArticleAdd database and cache assertions to OpenTelemetryFrontPagePerformanceTest...
Problem/Motivation#3352851: Allow assertions on the number of database queries run during tests added a way to assert database query and cache get/set/delete counts to PerformanceTestBase tests,...
View ArticleAdd caching to ConfigurableLanguageManager::getLanguages()
Problem/MotivationSee #3497333: Add persistent cache to CachedStorage::findByPrefixThis method causes an uncached query on every page request on translatable sitesSteps to reproduceProposed...
View Article