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
@@ -1,5 +1,11 @@
# Changelog

## [0.8.0] - 2026-12-02

### Changed

- Re-pinned `@merqo/ui` to v0.68.0. In the dashboard account menu, Text size is now a submenu ("Text size · 100%") with a preset list from 75% to 200%, under a new "Preferences" label.

## [0.7.3] - 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 @@ -113,7 +113,7 @@ Next.js 16.4.6 (App Router, Turbopack) · TypeScript strict · Tailwind v4 ·
shadcn/ui (new-york) · Supabase (`@supabase/ssr` — auth, Postgres, RLS) ·
React Hook Form · Zod · Vitest 4 · pnpm.

`@merqo/ui` is pinned at v0.67.0. The theme defines `--warning`, `--gold` and
`@merqo/ui` is pinned at v0.68.0. The theme defines `--warning`, `--gold` and
`--gold-foreground` (light and dark) for the shared `Badge` variants, and the
unit picker's `Command` comes from `@merqo/ui/primitives`, so there is no
local `src/components/ui/`.
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": "stockkit",
"version": "0.7.3",
"version": "0.8.0",
"private": true,
"type": "module",
"packageManager": "pnpm@11.10.0",
Expand All @@ -24,7 +24,7 @@
},
"dependencies": {
"@hookform/resolvers": "^5.1.0",
"@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.7",
"class-variance-authority": "^0.7.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
Expand Up @@ -8,7 +8,7 @@ blockExoticSubdeps: true
# Explicitly allowlist packages permitted to run install-time build scripts.
# pnpm 11 blocks all install scripts by default; add native packages here as needed.
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
sharp: 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 @@ -128,4 +128,4 @@ The layout owns the page's vertical padding (`px-5 py-7`); pages add none of the

`dashboard-nav.tsx` takes a required `accountLabel` (shown as the account menu trigger label), `signOutAction` (server action, redirects to `/login`), `getHelp` and `onFeedbackSubmit` from `@/components/account-menu-wiring`, shared with the landing account menu.

The dashboard account menu passes `textSizeKey="stockkit:scale:dashboard"`, which adds the shared "Text size" row (A-, percent reset, A+) and applies the saved root font scale. The landing menu does not get it.
The dashboard account menu passes `textSizeKey="stockkit:scale:dashboard"`, which adds the shared "Text size · 100%" submenu under a "Preferences" label (preset radio list, 75-200%) and applies the saved root font scale. The landing menu does not get it.
9 changes: 4 additions & 5 deletions src/app/dashboard/dashboard-nav.dom.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,17 @@ describe('DashboardNav', () => {
'Get help',
'Feedback',
'Theme · System',
'A-',
'100%',
'A+',
'Text size · 100%',
'Sign out',
]);
});

it('shows the Text size row when the account menu opens', async () => {
it('shows the Preferences label and Text size submenu when the account menu opens', async () => {
const user = userEvent.setup();
render(<DashboardNav accountLabel="Ah Huat Chicken Rice" />);
await user.click(screen.getByRole('button', { name: /account menu/i }));
expect(screen.getByText('Text size')).toBeInTheDocument();
expect(screen.getByText('Preferences')).toBeInTheDocument();
expect(screen.getByText('Text size · 100%')).toBeInTheDocument();
});

it('passes switchKits through to the account menu, listing the other three live kits', async () => {
Expand Down
Loading