Skip to content

feat: media plugin client#96

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

feat: media plugin client#96
olliethedev wants to merge 29 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
Adds and publicly exports a new Media client plugin (plus adapter entry points) and wires it into all example apps and E2E flows, which can affect build/packaging and runtime routes. Risk is moderate due to new public API surface and upload-related behavior, but changes are largely additive with updated tests/docs.

Overview
Introduces first-class Media plugin documentation and registry guidance, including a new docs/plugins/media page and updates to the plugin index/registry docs to cover pageComponents vs direct-import patterns.

Publishes the Media plugin’s client/runtime surface by expanding @btst/stack build entries and package.json exports (client, hooks, components, query-keys, CSS, plus s3/vercel-blob adapter subpaths) and bumping the package version.

Updates all three example apps to register the media backend/client plugins, switch image uploads in Blog/CMS/Kanban to use uploadAsset + MediaPicker/ImageInputField, and adjusts AI chat uploads to use data URLs instead of local paths. Adds/updates Playwright smoke tests (new smoke.media suite, CMS tests migrated to MediaPicker), sets a consistent viewport, and ignores local public/uploads/** artifacts in examples.

Written by Cursor Bugbot for commit 453a25e. 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 Ready Ready Preview, Comment Mar 20, 2026 9:29pm

Request Review

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

github-actions bot commented Mar 20, 2026

Shadcn registry validated — no registry changes detected.

…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.

…on, emphasizing the use of pageComponents and direct-import patterns
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