Repository navigation
feat!: publish the preset as comark-ui, and lay out the docs like Nuxt UI's - #168
Conversation
…t UI's @onmax/comark becomes comark-ui, the one install the docs recommend. The rail drops from one item per package to Docs, Components, Typography, Linter, and Playground, and each package's pages merge into one page in Usage, Examples, API, Theme order, ending with how to install it alone. Old pages redirect to the merged ones. BREAKING CHANGE: @onmax/comark is now comark-ui; import comarkUi from "comark-ui/html".
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
Latest result Pull request merged. Final answersSession Pull request merged. Session Waiting for GitHub merge request 0ec4885a-53f0-47a8-a838-85b16c75a54b. Current HEAD and working tree verified; required checks pass. Pullfrog’s P1 metrics documentation finding is fixed, and all automated threads are explicitly resolved. The historical Codex theming-link finding was P2 and is fixed. No push was attempted because the repair window is closed. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. Session Updated Metrics documentation for two- and three-column tiles, tile issues, shared theme tokens, and tile classes. Committed and pushed the repair; resolved the Pullfrog thread. Focused tests were blocked because pnpm attempted a noninteractive modules cleanup. Pullfrog: P1 documentation contract. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d6262fa8f0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
comark-annotate
comark-badge
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-mark
comark-media
comark-metrics
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-ui
comark-xref
comark-zoom
commit: |
There was a problem hiding this comment.
Important
The redirect migration drops URL fragments, so old deep links no longer open the corresponding section on the merged page.
Reviewed changes
This review covers the preset rename to comark-ui, linter package discovery, the merged documentation structure, redirect handling, and the updated end-to-end coverage.
comark-uipackage — Renames and publishes the preset with HTML, Vue, React, and Svelte entries, shared icon resolution, and the existing plugin options.- Linter integration — Loads the preset first and keeps standalone package loaders and component discovery in sync with the new package name.
- Documentation migration — Merges package topic pages into package overview pages, rebuilds the rail and installers, and updates the docs examples and navigation tests.
- Legacy redirects — Redirects
/preset/and old per-topic package URLs to their new destinations.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
Important
The documentation merge still drops the public API and validation details for the two features added alongside this PR, so users cannot discover or configure them from the package pages.
Reviewed changes
This review covers the documentation corrections pushed since the prior Pullfrog review: theming-link fixes, the Cards merge conflict resolution, and the Table merge conflict resolution.
- Fixed theming links — Pointed migrated README and package documentation at the new guide and merged package-page anchors.
- Documented card variants in examples — Added
softandsubtlecard examples and their visual behavior to the incremental documentation source. - Resolved merged-page conflicts — Reconciled the final Cards and Table overview pages, but omitted portions of the newly added public API documentation.
gpt-5.6-sol | 𝕏
Main changed pages this branch folds into one page per package, so their changes move into the new pages: charts' `labels` and target lines, annotate's `line` mark, and the one agent skill. The skill main added names the package @onmax/comark and its function onmax(); they become comark-ui and comarkUi(), and references/preset.md becomes references/ui.md.
There was a problem hiding this comment.
Important
The renamed agent-skill reference leaves a broken link in the published skill, so agents following the documented linter guidance cannot reach the preset reference.
Reviewed changes
This review covers the commits pushed since the prior Pullfrog review: the comark-ui skill/package rename propagation, the chart label and line documentation, the merged documentation corrections, and the updated workspace guidance.
- Renamed the published preset — Updated package, linter, documentation, and skill references from
@onmax/comarktocomark-ui. - Expanded chart guidance — Documented bar labels and value-axis annotation lines in the chart examples and validation text.
- Reworked the docs structure — Kept the merged package-page navigation and installer behavior aligned with the new site layout.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This review covers the documentation and redirect corrections pushed since the prior Pullfrog review.
- Preserved redirect destinations — Kept query strings and URL fragments when moving legacy topic and preset URLs to their merged pages.
- Completed Cards API documentation — Documented the
variantprop, supported appearances, and invalid-value fallback on the merged Cards page. - Completed Table API documentation — Documented tone syntax, row inheritance, validation behavior, and theme tokens on the merged Table page.
- Fixed the published skill reference — Pointed the linter guidance at the renamed
ui.mdreference.
gpt-5.6-sol | 𝕏
Main gained the quiz package (#167), search keywords (#159), and the rename to comark-ui (#169). This branch folds each package's docs into one page, so quiz's five pages become packages/quiz/docs/index.md, and the preset's keywords move to Getting started. The redirect worker keeps both moves: old hosts go to comark-ui.onmax.me, and old per-topic pages to each package's page.
…t the workspace test #159's search e2e expected the charts sections at /charts/syntax/, but this branch folds them into /charts/. The rename to comark-ui lengthened the workspace test's homepage line past the formatter's width.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the merge from main and the follow-up documentation conflict resolutions since the prior Pullfrog review.
- Merged current documentation state — Reconciled the Cards, Table, and package-page documentation while retaining the completed API, validation, theme, redirect, and skill-reference fixes.
- Verified package rename seams — Confirmed the
comark-uipackage metadata, renderer exports, linter loader, Svelte entry, lockfile importer, and published skill path remain consistent. - Verified documentation routes — Confirmed merged package routes and
/presetredirects preserve query strings and fragments, with no stale active package or skill references found.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the search end-to-end coverage moved to the merged Charts page and the formatting-only cleanup in the zoom test.
- Moved search coverage — Updated typo, keyword, section-content, and empty-result assertions to the merged package routes and current labels.
- Formatted zoom setup — Applied the repository formatter to the multiline homepage expression without changing behavior.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the changes pushed since the prior Pullfrog review: the new comark-pele Mermaid integration and the documentation/package wiring required to expose it through comark-ui.
- Added Mermaid rendering — Registered
comark-peleunder themermaidoption with shared token styling and the documented disable/configuration behavior. - Added renderer parity — Wired Pele's HTML, Vue, React, and Svelte plugin/component entries, including server rendering and browser-side style setup.
- Extended linter discovery — Loaded
comark-peleas a parse-only linter dependency so Mermaid syntax is recognized without drawing diagrams. - Rebuilt docs grouping — Added third-party page discovery and reorganized package navigation, installers, examples, and package metadata for the merged docs layout.
The focused test and docs-build commands were blocked before execution by the repository prepare hook failing to lock .git/config because the workspace is read-only.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
Important
The Metrics merge adds ::stats{tiles} to the package's examples and metadata but leaves the primary package page's API, issues, theme, and usage documentation on the old table-only contract. Users following the Metrics page from navigation can see tiles in the preview yet cannot find the syntax or correct column behavior there.
Reviewed changes
This incremental review covers the documentation merge pushed since the prior Pullfrog review: the addition of stat-tile examples and the corresponding Metrics syntax and theme descriptions.
- Added stat-tile documentation — Documented
::stats{tiles}, two- and three-column inputs, tile semantics, and the new classes and shared tokens in the merged Metrics documentation sources.
⚠️ The merged Metrics page still documents the old table-only contract
The package overview adds a ::stats{tiles} example and advertises tiles in its frontmatter, but its Usage, Issues, and Theme sections still say that stats require three columns and only list .cmt-stats and the pre-tile tokens. The new feature is therefore discoverable in the preview but not configurable from the page users reach through the Components rail.
Technical details
# Complete the merged Metrics overview for stat tiles
## Affected sites
- `packages/metrics/docs/index.md:88-108` — the Usage and Issues sections still describe only three-column stats and omit `tiles`.
- `packages/metrics/docs/index.md:161-192` — the Theme section omits tile tokens and `.cmt-tiles`, `.cmt-tile`, and `.cmt-value`.
## Required outcome
- Make the primary Metrics page describe the same `tiles` prop and two-/three-column behavior as `packages/metrics/docs/syntax.md`.
- Update the Issues text for the two-column tile form and add the tile theme tokens/classes so the merged page is self-contained.
gpt-5.6-sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This incremental review covers the Metrics documentation corrections pushed since the prior Pullfrog review.
- Completed stat-tile guidance — Updated the merged Metrics page to document
::stats{tiles}with both two-column value tiles and three-column before/after tiles. - Aligned validation and theming docs — Added the tile-specific column behavior, shared tokens, and
.cmt-tiles,.cmt-tile, and.cmt-valueclasses to the primary package page.
The prior Metrics documentation finding is addressed. The focused package test command was blocked by the repository prepare hook because .git/config is read-only: could not lock config file .git/config: Read-only file system.
gpt-5.6-sol | 𝕏

What
@onmax/comarkis nowcomark-ui, and the docs are laid out like ui.nuxt.com: every page recommends one install, and the single packages are documented lower down, on each block's own page.This follows the Discord thread with Atinux about listing one entry on comark.dev/ecosystem instead of 40.
comark-ui
packages/presetmoves topackages/uiand is published ascomark-ui. The import isimport comarkUi from "comark-ui/html"(or/vue,/react,/svelte); the API is unchanged.comark-ui/htmlfirst, in place of@onmax/comark/html.@onmax/comarkwas only ever published as a0.0.0placeholder, so nobody depends on it.Docs
The rail goes from 45 items, one per package, to five sections:
### Package, which installs and registers that package alone.comark-ui. The "Every plugin / Only this" switch and::usageare removed.docs/worker.tsredirects each old page, such as/zoom/guides/, to its package's page, and/preset/to/getting-started/.Before merging
comark-uion npmjs.com (npm trust github, workflowrelease.yaml, environmentnpm). Without one, the next release can't publish it.comark-uiis published, deprecate@onmax/comarkwith a pointer tocomark-ui.Not in this PR
@onmax/comarkas an opinionated template. Once comark-ui took the preset's code, it has nothing of its own yet, so there's no Templates section until it does./annotate/components/*) were already behind the merged annotate page: they're missingbracket,at,to,ink, and violet as the default color. They're unchanged here.Checks
pnpm ready: format, build, check, test, doctorpnpm docs:buildandpnpm test:e2e