Skip to content

feat(import): rank per-OS fallbacks on imported element boxes - #570

Merged
fogrew merged 1 commit into
developfrom
feature/568-per-os-imported-boxes
Nov 10, 2026
Merged

fogrew merged 1 commit into
developfrom
feature/568-per-os-imported-boxes

Conversation

@fogrew

@fogrew fogrew commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Closes #568

  • rankFor takes optional imported blocks; when present they replace the sample documents in the per-OS cost model.
  • The generator passes the imported layout into the selected-font ranking and the per-font ranking cache (keyed by the import).
  • The import confirmation shows a count line for the element boxes (import_confirm_elements, all locales).
  • Tests: unit test for the ranking, e2e assertion for the confirmation line.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://feature-568-per-os-imported-boxes.fontstay.dev (commit 5fe079e)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://2c12a6eb.fontstay.dev 5fe079e 2026-11-10T05:29:54.728Z Visit the dashboard ↗

@fogrew
fogrew merged commit d17bc57 into develop Nov 10, 2026
7 checks passed
@fogrew
fogrew deleted the feature/568-per-os-imported-boxes branch November 10, 2026 05:38
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.

feat(import): use imported element boxes in the per-OS ranking and mention them in the import confirmation

1 participant