Active
Project:
Drupal Canvas
Version:
1.x-dev
Component:
Component sources
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
3 Mar 2026 at 18:13 UTC
Updated:
16 Apr 2026 at 12:49 UTC
Jump to comment: Most recent
Changes like https://git.drupalcode.org/project/canvas/-/merge_requests/663#note_710706 on #3576578: Inform SDC/code component developers of nonsensical `type: array` prop restrictions: `maxItems <2` and https://git.drupalcode.org/project/canvas/-/merge_requests/706/diffs#6a8... on #3572553: Save Multi-Value Prop Configuration for Code Components are distracting/frustrating. They should not be necessary.
canvas_test_sdc_invalid off from canvas_test_sdc, make it contain all test SDCs that are invalid. Update https://git.drupalcode.org/project/canvas/-/merge_requests/663#note_710706 and \Drupal\Tests\canvas\Kernel\Plugin\Canvas\ComponentSource\SingleDirectoryComponentTest::testDiscovery() accordingly. That means:
$this->findIneligibleComponents(SingleDirectoryComponent::SOURCE_PLUGIN_ID, 'canvas_test_sdc') should match the empty array.
canvas_test_sdc_invalid module.\Drupal\Tests\canvas\Kernel\Plugin\Canvas\ComponentSource\SingleDirectoryComponentTest::testRenderComponentLive to no longer test the rendering ofNone.
Comments
Comment #2
wim leersWill finish this tomorrow.
Comment #3
wim leersComment #4
wim leersSeems like a great Novice task — doubly so for DrupalCon this week! 😊
Comment #5
wim leersLet's see if I can tackle this with AI in the coming weeks.