You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(unencoded): read hosted &X catalogue from @han-compose/composer - #1089
TL;DR:Viewer for hosted &X catalogue — bump @han-compose/composer to 7931f48b (hosting custom-components.json.gz, flat custom-forms.{json,tsv,csv}, 506 Sans / 321 Serif cuts, and 840 native &X-NNNNN; aliases) and switch Unencoded.svelte, workshop-adapter.js, and og-assets.mjs to read the &X catalogue directly from @han-compose/composer.
ELI5
Now that han-compose hosts the &X-NNNNN; component catalogue and resolves &X-NNNNN; entities natively, ids-input's unencoded table and OG asset builder read custom-components.json.gz and the flat JSON/TSV/CSV exports straight from @han-compose/composer, turning ids-input's unencoded page into a pure viewer of han-compose's hosted data.
Flow
flowchart LR
A["han-compose package 7931f48b"] --> B["Unencoded.svelte viewer"]
A --> C["workshop-adapter.js"]
A --> D["og-assets.mjs"]
B --> E["Download JSON TSV CSV and custom-components.json.gz"]
B --> F["506 Sans and 321 Serif cuts + 244 host libraries"]
D --> G["OG worker card rendering"]
Loading
Verification
bun test tests/card-units.test.js tests/custom-forms.test.js tests/custom-ids.test.js — 35/35 passed.
bun run build:demo — built cleanly.
Summary by CodeRabbit
Chores
Updated the bundled custom component and form data used by the demos and generated assets.
Updated the underlying composer package version.
The custom outlines data source remains unchanged.
No actionable comments were generated in the recent review.
Walkthrough
The composer dependency now points to a different commit. Demo imports, the workshop adapter, and the asset-generation script now use data from the composer package.
Changes: Composer data sources
Layer / File(s)
Summary
Update composer data sources package.json, demo/Unencoded.svelte, demo/lib/workshop-adapter.js, scripts/og-assets.mjs
The composer dependency reference changes. The demo, workshop adapter, and asset-generation script use data from the composer package. The custom-outlines import remains local.
Merge Risk: Minimal · up to 1b0ee · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: the unencoded demo page and related files now read the hosted &X catalogue from @han-compose/composer. The raw summary confirms this. Changes to Unencoded.svelte, work…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: the unencoded demo page and related files now read the hosted &X catalogue from @han-compose/composer. The raw summary confirms this. Changes to Unencoded.svelte, workshop-adapter.js, package.json, and og-assets.mjs all point data sources to the composer package. The title is specific and matches the changeset. The title text contains an HTML entity (&X) that renders as &X, which is a minor formatting issue and does not change relevance.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Fix failing CI checks
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: fe20b702-df17-42bf-96d4-bc1d0c008a2b
Commits
Reviewing files that changed from the base of the PR and between 1b917a6 and 1b0eed7.
Files ignored due to path filters: 1
bun.lock is excluded by !**/*.lock
Files selected for processing: 4
demo/Unencoded.svelte
demo/lib/workshop-adapter.js
package.json
scripts/og-assets.mjs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR: Viewer for hosted
&Xcatalogue — bump@han-compose/composerto7931f48b(hostingcustom-components.json.gz, flatcustom-forms.{json,tsv,csv}, 506 Sans / 321 Serif cuts, and 840 native&X-NNNNN;aliases) and switchUnencoded.svelte,workshop-adapter.js, andog-assets.mjsto read the&Xcatalogue directly from@han-compose/composer.ELI5
Now that
han-composehosts the&X-NNNNN;component catalogue and resolves&X-NNNNN;entities natively,ids-input's unencoded table and OG asset builder readcustom-components.json.gzand the flat JSON/TSV/CSV exports straight from@han-compose/composer, turningids-input's unencoded page into a pure viewer ofhan-compose's hosted data.Flow
Verification
bun test tests/card-units.test.js tests/custom-forms.test.js tests/custom-ids.test.js— 35/35 passed.bun run build:demo— built cleanly.Summary by CodeRabbit