Skip to content

feat: media plugin client#96

Open
olliethedev wants to merge 28 commits intomainfrom
feat/media-plugin-client
Open

feat: media plugin client#96
olliethedev wants to merge 28 commits intomainfrom
feat/media-plugin-client

Conversation

@olliethedev
Copy link
Collaborator

@olliethedev olliethedev commented Mar 19, 2026

Summary

Type of change

  • Bug fix
  • New plugin
  • Feature / enhancement to an existing plugin
  • Documentation
  • Chore / refactor / tooling

Checklist

  • pnpm build passes
  • pnpm typecheck passes
  • pnpm lint passes
  • Tests added or updated (unit and/or E2E)
  • Docs updated (docs/content/docs/) if consumer-facing types or behavior changed
  • All three example apps updated if a plugin was added or changed
  • New plugin: submission checklist in CONTRIBUTING.md completed

Screenshots

Screenshot 2026-03-19 at 11 27 53 AM

Note

Medium Risk
Medium risk because it introduces new Media plugin client exports/routes and rewires example apps and E2E flows to use real upload handling, which can affect routing, storage, and test stability.

Overview
Adds first-class docs for the new Media plugin (installation, overrides, registry usage) and links it throughout the docs navigation and README.

Wires the Media plugin into all example apps (Next.js/React Router/TanStack): registers mediaClientPlugin + mediaBackendPlugin(localAdapter), replaces prior mock image uploads with uploadAsset + MediaPicker/ImageInputField, and updates CMS listing to render stored images.

Updates packaging/build metadata to publish Media client entrypoints (components/hooks/query-keys/css and new API adapters), bumps @btst/stack to 2.9.1, and adds/updates Playwright coverage (new smoke.media.spec.ts, CMS tests switched to MediaPicker, config viewport + testMatch).

Written by Cursor Bugbot for commit 1d36169. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
better-stack-docs Building Building Preview, Comment Mar 20, 2026 9:23pm

Request Review

…es and improve button structure for better accessibility
@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

Shadcn registry updated — registry JSON files were rebuilt and committed to this branch.

…including URL copying, asset previewing, and improved delete handling
…ing useMemo and useCallback for improved performance
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

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.

Media Library Plugin

1 participant