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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to loopkit are documented in this file.

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

## [0.7.0] - 2026-12-02

### Changed

- Updated `@merqo/ui` to v0.68.0. In the account menu, Text size is now a "Text size · 100%" submenu with a preset list (75% to 200%) under a new Preferences heading, replacing the inline A-/A+ buttons.
- Documented the shared storage and media-query helper move in the root and card-check component READMEs.

## [0.6.5] - 2026-12-02

### Changed
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Day keys, short dates and dollars-to-cents conversion come from `@merqo/ui` (`sgDayKey`, `formatShortDate`, `dollarsToCents`), not local helpers.

The visits trend, Counter last-program memory, "Serve a customer" button and retired-card notice read and write browser storage and media queries through `@merqo/ui`'s `readStored`/`writeStored`/`useMediaQuery` (see `src/features/card-check/components/README.md`). The account menu's Text size is a Preferences submenu from `@merqo/ui` v0.68.0.

Shared UI is pinned to audited commit `989d934c1cc8d957ff383934debf8ef083b6b6a4`. The lockfile and exact build allowlist select this same source, including image lifecycle cleanup, malformed storage-URL handling and bounded money inputs.

`DESIGN.md` records loopkit's own public-page design values and links the shared rules, including the stamp card's current edge.
Expand Down Expand Up @@ -53,7 +55,7 @@ output instead of a hand-copied string, so it can't drift from what the
engine actually computes — see
`../docs/superpowers/specs/2026-08-25-tour-example-badge-drift-fix-design.md`
in the workspace root. Migrated onto
the shared `@merqo/ui` component package (pinned at v0.63.0, commit `13c3d3f9`, in `package.json`; email links land on `/auth/confirm`, see `src/app/auth/README.md`): the
the shared `@merqo/ui` component package (pinned at v0.68.0, commit `5a08fd87`, in `package.json`; email links land on `/auth/confirm`, see `src/app/auth/README.md`): the
dashboard nav/account dropdown, `useAsyncAction`, `InfoTooltip`,
`ImageUploader`, `DashboardTour`, the landing page's
sticky header (`LandingNav`, via `src/components/landing/nav.tsx`), and
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": "loopkit",
"version": "0.6.5",
"version": "0.7.0",
"private": true,
"packageManager": "pnpm@11.10.0",
"engines": {
Expand All @@ -23,7 +23,7 @@
},
"dependencies": {
"@hookform/resolvers": "5.2.2",
"@merqo/ui": "github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03",
"@merqo/ui": "github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e",
"@supabase/ssr": "^0.10.3",
"@supabase/supabase-js": "2.110.0",
"@zxing/browser": "^0.2.1",
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
supabase: true
esbuild: true
sharp: true
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 @@ -92,6 +92,6 @@ Dates and times on these pages render through `@merqo/ui`'s `formatDate`/`format

- Route `loading.tsx` files use `@merqo/ui`'s `ListSkeleton` and `StatTileSkeleton` (each a `role="status"` region with its own sr-only label) under `components/loading-header.tsx`. `visits-bars.tsx` imports `formatShortDate` from `@merqo/ui` (the local `lib/format.ts` re-export is gone). It is a client component (its server caller `stats/visits-chart.tsx` and the client `overview/visits-trend.tsx` import it unchanged): bars are 44px tap targets on coarse pointers in a horizontally scrollable row, and a status line shows the tapped day's date and count, because a `title` never shows on touch. `plan/page.tsx` uses `PageHeader`; `serve-customer.tsx` no longer passes `pending` to `ActiveCard`. `counter/use-serve-customer.ts`'s `confirmRedeemPlant` and `confirmRegenerate` return promises that reject on failure so `ConfirmDialog` stays open with the message inline.

The account menu shows the shared "Text size" row (A-, 100%, A+): `dashboard-nav.tsx` passes `textSizeKey="loopkit:scale:dashboard"` to `SharedDashboardNav` (`@merqo/ui` v0.67.0), so the scale applies to the dashboard only and persists per browser.
The account menu shows the shared "Text size · 100%" submenu (a preset list under the Preferences label): `dashboard-nav.tsx` passes `textSizeKey="loopkit:scale:dashboard"` to `SharedDashboardNav` (`@merqo/ui` v0.68.0), so the scale applies to the dashboard only and persists per browser.

`scan-button.tsx` renders its link and hero variants with the shared `Button` (44px minimum height) instead of native buttons.
6 changes: 2 additions & 4 deletions src/app/dashboard/dashboard-nav.dom.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,10 @@ describe("DashboardNav", () => {
"Feedback",
"Programs",
"Theme · System",
"A-",
"100%",
"A+",
"Text size · 100%",
"Sign out",
]);
expect(screen.getByText("Text size")).toBeInTheDocument();
expect(screen.getByText("Preferences")).toBeInTheDocument();
});

it("shows the tier badge behind the opened account menu", async () => {
Expand Down
2 changes: 2 additions & 0 deletions src/features/card-check/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ Every `dangerouslySetInnerHTML` here is `qrSvg()` output over a server-minted to
Customer-facing copy has no emoji or contractions.

`birthday-field.tsx` uses the shared Select for month and day (44px triggers) and `check-form.tsx` renders "Change number" with the shared `Button`.

`program-card-status.tsx` (retired-card notice) uses the shared `readStored`/`writeStored`/`useMediaQuery` helpers from `@merqo/ui` instead of local storage and media-query code, as do the visits trend, remember-program and serve-cta modules elsewhere in this slice.
Loading