Skip to content

fix(web): artifact rows match @corbits/artifacts 0.2.1 (no ownerName) (CL-8515) - #907

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8515-artifacts-list
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8515-artifacts-list

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • `@corbits/artifacts` 0.2.1 dropped `ownerName` from serialized artifact rows and added `metadata` (opaque, nullable object); the web schemas still required `ownerName`, so every artifact list/detail response failed arktype parsing and `/artifacts` showed "Couldn't load your artifacts".
  • Removed `ownerName` from `ArtifactListItemSchema`/`ArtifactRowSchema` (apps/web/src/api.ts) and added `metadata` to match the library's serialized row shape; removed `ownerName` from every consumer (artifact-summary, library-artifacts, artifact-card, library-page's table column and preview pane) and their tests.
  • Verified `ArtifactUploadResponseSchema`/`ArtifactCountsSchema` already match the library's routes.

Test plan

  • `bunx tsc -p apps/web --noEmit`
  • `bun run lint`, `bun run fmt`
  • `cd apps/web && bun run build && bun test ./src` (582 pass)

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8515

@TheGreatAxios
TheGreatAxios merged commit 9ab430f into main Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant