Closed (outdated)
Project:
Drupal Canvas
Version:
1.x-dev
Component:
Documentation
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2025 at 17:27 UTC
Updated:
3 Oct 2025 at 09:14 UTC
Jump to comment: Most recent
Comments
Comment #2
balintbrewsComment #3
wim leersComment #4
hooroomooDecrementing PP in issue title since hydration library got in
Comment #5
hooroomooOh looks like other blockers are also done now, so updating again to reflect
Comment #6
wim leers#3498889: ComponentSource plugin for code components updated
docs/components.md(for thejsComponentSourceplugin) anddocs/config-management.md(for theJavaScriptComponentconfig entity).Unfortunately, #3499933: Storage for CSS shared across in-browser code components (and other use cases in the future) did not update
docs/config-management.md(for theAssetLibraryconfig entity), so that still needs doing here.Comment #7
wim leersFollow-up to #6: #3506424: Loading and auto-saving an edited code component brings two crucial changes to the
AssetLibraryconfig entity worth documenting:globalAssetLibraryis created during installation, with empty CSS and no JS.library_infocache tag is automatically invalidated when saving anyAssetLibraryconfig entity, causing all asset library info across all extensions to be recomputed: https://git.drupalcode.org/project/experience_builder/-/merge_requests/6...Comment #8
wim leers— issue summary of #3508562: Fix code component prop serialization in Astro islands.
On that PR:
— https://github.com/withastro/astro/pull/13046#issuecomment-2609036184
This seems pretty essential to document! Also: I love that they’re being very explicit about what is their public API vs not! 👏
Comment #9
wim leersAnother MR that landed that merits being documented: the way that
import_mapswork. See #3507567-12: Make JS files generated from code components import Preact modules with the correct paths for the high-level architecture on the "integrate with existing Drupal infra" side.Comment #10
balintbrewsAnother essential piece to document: #3508734: Bundle a small selection of packages in the hydration library for code components.
We now have packages that can be imported:
Where
cn()is this function:https://git.drupalcode.org/project/experience_builder/-/blob/f3b8c6279c2...
Comment #11
wim leersThis must happen in the current sprint.
Comment #12
nagwani commentedComment #14
balintbrewsThis happened in #3535089: Move code component starter template documentation from inline comments to online docs .