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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project are documented here. The format is based on
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- On phones the Payments table now shows Status under the amount and puts Proof and Refund in one Actions cell, so Refund is reachable at 390px without scrolling.

## [0.12.0] - 2026-12-02

### Changed

- `@merqo/ui` is now v0.68.0. In the account menu, Text size is a "Text size · 100%" submenu of preset sizes (75% to 200%) under a new "Preferences" label, replacing the inline A-/100%/A+ buttons.
- Payments, Plan, payment setup and the admin overview, vendors and activity pages now use more of the shared `@merqo/ui` components (stat tiles, sections, cards, data tables). Payments shows one table at every width, with the Kit and Created columns hidden on phones. Behaviour, plan limits and copy are unchanged.
- Bookings, inquiries and their detail pages now use the shared Merqo section, card and empty-state components.

## [0.11.3] - 2026-12-02

### Changed
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in the workspace root for why. Brand theme is "Banknote Engrave"
of 2026-08-19 — see `globals.css`'s own header comment; `src/lib/brand-mark.ts`'s
ImageResponse-generated favicon/apple-touch-icon carries the same rebrand.

The public landing is in pre-launch mode, headlined "Get paid by PayNow. Know who has paid.": an "Early access" badge, a hero with a switchable Waiting/Paid/Confirmed pay-card object, a three-step payment story on an iPhone and a vendor tablet (steps follow scroll on wide screens and are tapped through on narrow ones), an "After the payment" sample ledger and report, three FAQ rows linking to `/faq`, a closing "Join the waitlist" CTA, and no published price (pilot notice only, carried by the FAQ rather than a benefit tile). Sign-in and the dashboard stay reachable by direct URL. When signed in, the landing, About and FAQ nav shows a Dashboard link and the shared `LandingAccountNav` (Dashboard link and account menu with Sign out), named from the vendor profile's stall name. Landing surfaces (checkout card, FAQ rows) use one small `rounded-lg` radius and the landing has no glow or background wash, per the shared public page rules. `@merqo/ui` is pinned to merqo-ui commit 8d2da3ab (v0.67.0), whose `AppLinkProvider` is mounted once in the root layout so its client exports navigate client-side without a `LinkComponent` prop. The pin also supplies the `PricingLadder`, which the vendor plan page renders (the navigation plan chip is its `TierChip`) from merqo's public plan catalog (paykit stores no prices); the ladder hides the qkit-only Event Pass block. Money and time render through its `Money`, `Timestamp`, `formatMoney` and `formatDateTime` (S$ amounts, dates like "7 Nov 2026", all in Singapore time). The dashboard Home, Stats and Reports pages use its `StatTile` (`card`), `DataTable`, `EmptyState`, `ElevatedCard`, `Section` and link-mode `SegmentedControl`. The dashboard also uses its `ConfirmDialog` (inquiry delete), `CopyButton` (booking ID), `downloadCsv` (earnings CSV) and `AsyncSubmitButton` (refund) rather than local copies.
The public landing is in pre-launch mode, headlined "Get paid by PayNow. Know who has paid.": an "Early access" badge, a hero with a switchable Waiting/Paid/Confirmed pay-card object, a three-step payment story on an iPhone and a vendor tablet (steps follow scroll on wide screens and are tapped through on narrow ones), an "After the payment" sample ledger and report, three FAQ rows linking to `/faq`, a closing "Join the waitlist" CTA, and no published price (pilot notice only, carried by the FAQ rather than a benefit tile). Sign-in and the dashboard stay reachable by direct URL. When signed in, the landing, About and FAQ nav shows a Dashboard link and the shared `LandingAccountNav` (Dashboard link and account menu with Sign out), named from the vendor profile's stall name. Landing surfaces (checkout card, FAQ rows) use one small `rounded-lg` radius and the landing has no glow or background wash, per the shared public page rules. `@merqo/ui` is pinned to merqo-ui commit 5a08fd87 (v0.68.0), whose `AppLinkProvider` is mounted once in the root layout so its client exports navigate client-side without a `LinkComponent` prop. The pin also supplies the `PricingLadder`, which the vendor plan page renders (the navigation plan chip is its `TierChip`) from merqo's public plan catalog (paykit stores no prices); the ladder hides the qkit-only Event Pass block. Money and time render through its `Money`, `Timestamp`, `formatMoney` and `formatDateTime` (S$ amounts, dates like "7 Nov 2026", all in Singapore time). The dashboard Home, Stats and Reports pages use its `StatTile` (`card`), `DataTable`, `EmptyState`, `ElevatedCard`, `Section` and link-mode `SegmentedControl`. The dashboard also uses its `ConfirmDialog` (inquiry delete), `CopyButton` (booking ID), `downloadCsv` (earnings CSV) and `AsyncSubmitButton` (refund) rather than local copies.

The hosted pay page (`/pay/{id}`) shows "Paying <business name>" above the amount (the vendor's payee name, falling back to their inquiry-form business name), reports claim and upload failures inline instead of in toasts, shows a plain retry notice when the payment cannot be loaded, and honours a checkout's `expires_at`: a pending order past it shows "This order has expired" instead of the QR (claimed and confirmed ones are unaffected), with a "Pay within N mins" line while it is open.

Expand Down Expand Up @@ -77,7 +77,7 @@ Paykit no longer mounts. The transaction status badge
on `@merqo/ui`'s shared `StatusBadge` dot+pill shape) carries a persistent
tap-to-open hint (`@merqo/ui`'s `InfoTooltip`, `trigger="tap"`) explaining
what the "Marked paid" (`claimed`) and "Received" (`confirmed`) labels mean,
so that distinction is always available (the Payments ledger also offers a "View screenshot" dialog on rows with a stored payment proof, `src/app/dashboard/transactions/proof-dialog.tsx`) — tap, not the
so that distinction is always available (the Payments ledger also offers a "View screenshot" dialog on rows with a stored payment proof (on phones, with Refund in one Actions cell), `src/app/dashboard/transactions/proof-dialog.tsx`) — tap, not the
component's hover default, since a native hover hint has no touch equivalent
and most vendors check this on a
phone. The landing nav's signed-in menu
Expand Down Expand Up @@ -407,3 +407,7 @@ A deep link into the vendor dashboard survives the login and legal gates: every
The `/admin/activity` paging links and boundaries are pinned by `src/app/admin/activity/activity-paging.dom.test.tsx` (listed in `CHANGELOG.md`).

The landing phone mockups use rem font sizes, so the dashboard text-size adjuster scales them like the rest of the page.

The bookings list, inquiries and their detail pages use the shared `@merqo/ui` `Section`, `ElevatedCard` and `EmptyState` (see `CHANGELOG.md`).

The payments table, payment setup, plan and admin pages use more shared `@merqo/ui` components (stat tiles, sections, cards, data tables); see `CHANGELOG.md`.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paykit",
"version": "0.11.3",
"version": "0.12.0",
"private": true,
"packageManager": "pnpm@11.10.0",
"engines": {
Expand All @@ -20,7 +20,7 @@
"prepare": "husky"
},
"dependencies": {
"@merqo/ui": "github:merqo-io/merqo-ui#8d2da3abcb4e5c3bab2b3a3482c740797e2d5c03",
"@merqo/ui": "github:merqo-io/merqo-ui#5a08fd875ad6c96f096fbcb4d56ed50eb238f33e",
"@sentry/nextjs": "10.76.2",
"@supabase/ssr": "^0.10.3",
"@supabase/supabase-js": "2.110.4",
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 @@ -3,7 +3,7 @@ allowBuilds:
esbuild: true
sharp: true
unrs-resolver: true
"@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
"@sentry/cli": false
tesseract.js: false

Expand Down
6 changes: 4 additions & 2 deletions src/app/admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ figure-tile helper used by the overview and vendors screens.
`securityStats()` in `@/lib/admin-data`), a recent cross-vendor activity
feed (rows link to `/admin/vendors?q=<vendor id>`, or `EmptyState` when empty). Page titles use the
shared `PageHeader`; statuses read Awaiting payment / Marked paid / Received.
- Overview figures use `@merqo/ui`'s shared `StatCard` (label/value plus optional
`caption` and a period-over-period `delta`/`deltaTooltip` pill, `deltaSize="xs"`).
- Overview figures use `@merqo/ui`'s `StatTile` with `card` (label/value plus optional
`caption` and a period-over-period `delta`/`deltaTooltip` pill). The recent-activity feed is
`recent-activity-table.tsx`, a `DataTable` in a Client Component whose vendor cell links to
`/admin/vendors?q=<vendor id>`; Kit and When hide on phones.
- `vendors/`

## Connectivity
Expand Down
2 changes: 2 additions & 0 deletions src/app/admin/activity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ The action select uses `FILTER_SELECT_CLASS` (with a `sm:w-56` override); paging
Timestamps display through `Timestamp` (or `formatDate`/`formatDateTime`) from `@merqo/ui`, always in Asia/Singapore so server and client render identically (no hydration mismatch).

Paging for this page is covered by `activity-paging.dom.test.tsx` (boundary links, second-page rows, filters kept in links, past-the-end redirect) alongside `activity-page.dom.test.tsx`.

The Target link is a 44px tap target (`inline-flex min-h-11 items-center`).
2 changes: 1 addition & 1 deletion src/app/admin/activity/activity-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const columns: DataTableColumn<ActivityEntry>[] = [
e.target ? (
<Link
href={listHref("/admin/vendors", { q: e.target })}
className="underline-offset-4 hover:underline"
className="inline-flex min-h-11 items-center underline-offset-4 hover:underline"
>
{e.target}
</Link>
Expand Down
Loading
Loading