Skip to content

feat(unencoded): read hosted &X catalogue from @han-compose/composer - #1089

Open
mkpoli wants to merge 1 commit into
mainfrom
feat/unencoded-viewer-from-han-compose
Open

mkpoli wants to merge 1 commit into
mainfrom
feat/unencoded-viewer-from-han-compose

Conversation

@mkpoli

@mkpoli mkpoli commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

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.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

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.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant