Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [0.12.0] - 2026-12-02

### Changed

- Updated `@merqo/ui` to 0.68.0: the account menu's Text size is now a submenu ("Text size · 100%") with a preset list, under a new Preferences group.

## [0.11.2] - 2026-12-01

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ secondary, process-magenta accent) — see `src/app/globals.css`'s own header co
The shared `@merqo/ui` `PageHeader` (props `eyebrow`, `title`, `description`,
`action`, `back`, `responsive`) opens every dashboard page, and every `Button`
size is at least 44px tall on touch screens, so tap targets stay
finger-sized. The printer picker's sort select is 44px tall on touch screens too. The pinned `@merqo/ui` is 0.67.0 (8d2da3a; 0.66.0 added the shared type scale and the account menu's "Text size" control, which vendors use to scale dashboard text; 0.65.1 (35444a3) 0.65.1 evens the signed-in landing header so Dashboard sits 4px from About, as FAQ does, and 0.65.0 changes only plan-catalog and pricing pieces this kit does not use; 0.64.1 makes the shared `authErrorMessage` match rate-limit and network messages on word boundaries; 0.64.0 fixed the React #441 crash when `Timestamp` is server-rendered and normalised the legacy `starter` tier to `qkit`; 0.63.0 changes: the shared `SegmentedControl` and `useLeaveGuard` replace the local ones, `AutoRefresh` uses `usePolling`, and the 0.62.1 changes still apply: the shared `AboutMerqo` copy now says qkit is running in a pilot, lists printkit and drops the one-sign-in sentence, and `Footer` and `LandingNav` have 44px tap targets; `Timestamp` and `formatDateTime` (Singapore time) replace the kit's own date helper; `LandingNav` folds its `links` (About) into a burger below `sm`; `AppLinks` in the root layout gives its client components `next/link`, so none takes a `LinkComponent` prop; 0.54.0 added the shared `/auth/confirm` form and handler back `src/app/auth/confirm/`, the shared `ErrorPage`, `NotFound`, `GlobalError`, `EmptyState` and `FormError` replace the kit's own copies); the
finger-sized. The printer picker's sort select is 44px tall on touch screens too. The pinned `@merqo/ui` is 0.68.0 (5a08fd8; 0.68.0 turns the account menu's "Text size" into a "Text size · 100%" submenu with a preset list under a "Preferences" group; 0.66.0 added the shared type scale and the account menu's "Text size" control, which vendors use to scale dashboard text; 0.65.1 (35444a3) 0.65.1 evens the signed-in landing header so Dashboard sits 4px from About, as FAQ does, and 0.65.0 changes only plan-catalog and pricing pieces this kit does not use; 0.64.1 makes the shared `authErrorMessage` match rate-limit and network messages on word boundaries; 0.64.0 fixed the React #441 crash when `Timestamp` is server-rendered and normalised the legacy `starter` tier to `qkit`; 0.63.0 changes: the shared `SegmentedControl` and `useLeaveGuard` replace the local ones, `AutoRefresh` uses `usePolling`, and the 0.62.1 changes still apply: the shared `AboutMerqo` copy now says qkit is running in a pilot, lists printkit and drops the one-sign-in sentence, and `Footer` and `LandingNav` have 44px tap targets; `Timestamp` and `formatDateTime` (Singapore time) replace the kit's own date helper; `LandingNav` folds its `links` (About) into a burger below `sm`; `AppLinks` in the root layout gives its client components `next/link`, so none takes a `LinkComponent` prop; 0.54.0 added the shared `/auth/confirm` form and handler back `src/app/auth/confirm/`, the shared `ErrorPage`, `NotFound`, `GlobalError`, `EmptyState` and `FormError` replace the kit's own copies); the
remove-printer confirm uses its `ConfirmDialog`. See `src/components/README.md`.

The dashboard avatar menu has a "Bluetooth guide" link, and the dashboard
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "printkit",
"version": "0.11.2",
"version": "0.12.0",
"private": true,
"packageManager": "pnpm@11.10.0",
"engines": {
Expand All @@ -21,7 +21,7 @@
"test:operators": "node --test test/operators/*.test.mjs"
},
"dependencies": {
"@merqo/ui": "github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03",
"@merqo/ui": "github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e",
"@mmote/niimbluelib": "0.0.1-alpha.43",
"@napi-rs/canvas": "^1.0.9",
"@supabase/ssr": "^0.10.3",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
allowBuilds:
"@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03": true
"@merqo/ui@https://codeload.github.com/merqo-io/merqo-ui/tar.gz/5a08fd875ad6c96f096fbcb4d56ed50eb238f33e": true
"unrs-resolver@1.12.2": true
"esbuild@0.25.12": true
supabase: false
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The authenticated vendor area (`/dashboard/*`).
`AccountMenuProps` in `@merqo/ui`. No plan/tier/tour concept exists in
printkit yet, so those optional shared-component props are omitted.
`extraLink` adds a "Bluetooth guide" entry to the avatar menu, pointing at
`/guides/bluetooth-printers`. `textSizeKey="printkit:scale:dashboard"` adds the shared "Text size" row (A-, reset, A+) to the account menu; it is the only owner of the root font size under `/dashboard`. The layout's `<main>` uses qkit's
`/guides/bluetooth-printers`. `textSizeKey="printkit:scale:dashboard"` adds the shared "Text size · 100%" submenu (preset radio list, 75-200%) under the account menu's "Preferences" group; it is the only owner of the root font size under `/dashboard`. The layout's `<main>` uses qkit's
`max-w-7xl px-5 py-7` rhythm.
- `page.tsx` — the Overview: a "Needs a booth" `Notice` when unrouted jobs exist, the first-run panel until a label has printed, one `PrinterStatusRow` per booth (with a "Design label" link to the designer) in a `Panel`, and the five most recent jobs. `hasPrintedJob` (`@/lib/print-jobs-list`) decides whether the last first-run step is done, so a printed job older than the five shown still counts. Its title (page heading and tab title) matches the nav label.
- `first-run-panel.tsx` — `FirstRunPanel`: three numbered steps (booth, printer, first label) with done marks; the first open step gets the magenta mark. A step is done only when every earlier step is done too. Renders nothing once all three are done. Drawn with the shared `SetupStepsEmpty`. Step 1 links to qkit at `NEXT_PUBLIC_QKIT_URL` when that is an http(s) URL, otherwise at `https://qkit.merqo.io`.
Expand Down
5 changes: 4 additions & 1 deletion src/app/dashboard/dashboard-nav.dom.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ describe("DashboardNav", () => {
const user = userEvent.setup();
render(<DashboardNav signOut={vi.fn()} accountName="Ada's Prints" />);
await user.click(screen.getByRole("button", { name: "Account menu" }));
expect(await screen.findByText("Text size")).toBeInTheDocument();
expect(await screen.findByText("Preferences")).toBeInTheDocument();
expect(
await screen.findByRole("menuitem", { name: "Text size · 100%" }),
).toBeInTheDocument();
});
});
Loading