Commit Graph
10 Commits
Author SHA1 Message Date
Mike Cao d0b8f95e89 Merge pull request #4469 from brantsrasmus/fix/board-create-description
fix: creating a board without a description returns 500
2026-09-10 23:07:22 -07:00
Mike Cao 4fbaa5300d docs(api): deprecate report routes and document migration compatibility 2026-09-09 19:28:03 -07:00
Mike Cao b185837063 Remove OAuth authorization flows and use API key authentication for MCP 2026-09-09 15:22:15 -07:00
Mike Cao 7627c36642 Guard API tests against destructive non-loopback targets 2026-09-06 20:41:22 -07:00
Mike Cao 4e47e350bf Run API tests serially and support external targets without stale coverage logs 2026-09-06 20:11:15 -07:00
Mike Cao e18769e8cf Add API integration test suite with Postgres and ClickHouse coverage 2026-09-06 16:42:53 -07:00
brantsrasmus 8d2938eddb fix: creating a board without a description returns 500
`description` is optional in the request schema, but the column is
NOT NULL with no default, so an omitted description reached Prisma as
undefined and the create threw a validation error instead of saving:

    Invalid `prisma.board.create()` invocation
    Argument `description` is missing.

Default it to an empty string, matching what the UI sends today, and
cover it with an API test.
2026-08-20 16:25:24 +02:00
brantsrasmus 3c467e54d5 address review feedback
- SessionModal: merge caller-provided className with styles.modal instead
  of letting it be clobbered by the {...props} spread (matches ReplayModal).
- e2e test: narrow boundingBox()/viewport nullability without non-null
  assertions (keeps biome's noNonNullAssertion happy) via a getSheetBox
  helper and a shared VIEWPORT constant.
2026-07-03 11:56:13 +02:00
brantsrasmus 8dcd2c6190 fix: dismiss session modals when clicking the side margins
SessionModal and SessionProfileModal set their 1320px max width on an
inner Column rather than on the Modal itself. The react-zen Modal box
(placement="bottom") therefore stretched to the full viewport width
(inset-x-0), so its transparent left/right margins sat on top of the
underlay and swallowed outside-clicks. Only the thin offset strip above
the sheet was dismissable.

Move the width onto the Modal box via a CSS module — matching the
existing pattern in ReplayModal — so the click-catcher is the centered
~1320px sheet and the side margins become real overlay again.

Adds an e2e regression test covering left/right margin dismissal with an
in-sheet control click.
2026-07-03 11:47:20 +02:00
Mike Cao 216cf6c448 Migrate test suite from Cypress and Jest to Playwright and Vitest 2026-05-09 01:23:20 -07:00