Skip to content

feat(admin): media library project - #2218

Merged
khoinguyenpham04 merged 2 commits into
mainfrom
feature/media-library
Aug 11, 2026
Merged

khoinguyenpham04 merged 2 commits into
mainfrom
feature/media-library

Conversation

@khoinguyenpham04

@khoinguyenpham04 khoinguyenpham04 commented Jul 23, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

Creates the umbrella integration branch for Noah's media library internship project. This draft begins with only the overall release changeset; completed project PRs should target feature/media-library and be merged here after review.

Keep this PR in draft while the project is in progress. Matt will review the integrated feature when he returns.

Maintainer-approved project work from Matt's handoff; no separate Discussion applies.

Closes: N/A

Type of change

  • Bug fix
  • Feature (requires maintainer-approved Discussion)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes — N/A for this changeset-only seed; CI will verify the integrated branch.
  • pnpm lint passes — N/A for this changeset-only seed; CI will verify the integrated branch.
  • pnpm test passes (or targeted tests for my change) — N/A; no implementation is included yet.
  • pnpm format has been run — N/A; the changeset was verified directly with Prettier.
  • I have added/updated tests for my changes (if applicable) — N/A; no implementation is included yet.
  • User-visible strings in the admin UI are wrapped for translation (if applicable). Do not include messages.po changes except in translation PRs — N/A; no UI strings are included yet.
  • I have added a changeset (if this PR changes a published package)
  • New features link to an approved Discussion: N/A — this umbrella project was maintainer-approved in Matt's handoff.

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool: OpenAI Codex (GPT-5)

Screenshots / test output

N/A for the changeset-only seed. Child PRs will include their relevant screenshots and verification.


Try this PR

Open a fresh playground →

A full working EmDash site, deployed from this branch. Each visit gets its own session-scoped sandbox: no login needed and no shared state. Try the admin, edit content, hit the public site.

Tracks feature/media-library. Updated automatically when the playground redeploys.

@changeset-bot

changeset-bot Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 607b25d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@emdash-cms/admin Minor
emdash Minor
@emdash-cms/cloudflare Minor
@emdash-cms/sandbox-workerd Patch
@emdash-cms/plugin-mcp-smoke Major
@emdash-cms/fixture-perf-site Patch
@emdash-cms/perf-demo-site Patch
@emdash-cms/cache-demo-site Patch
@emdash-cms/do-demo-site Patch
@emdash-cms/do-solo-demo-site Patch
@emdash-cms/auth Minor
@emdash-cms/blocks Minor
@emdash-cms/gutenberg-to-portable-text Minor
@emdash-cms/x402 Minor
create-emdash Minor
@emdash-cms/auth-atproto Patch
@emdash-cms/plugin-embeds Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
emdash-playground 607b25d Aug 11 2026, 03:02 PM

@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/@emdash-cms/admin@2218

@emdash-cms/auth

npm i https://pkg.pr.new/@emdash-cms/auth@2218

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/@emdash-cms/auth-atproto@2218

@emdash-cms/blocks

npm i https://pkg.pr.new/@emdash-cms/blocks@2218

@emdash-cms/cloudflare

npm i https://pkg.pr.new/@emdash-cms/cloudflare@2218

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/contentful-to-portable-text@2218

emdash

npm i https://pkg.pr.new/emdash@2218

create-emdash

npm i https://pkg.pr.new/create-emdash@2218

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/gutenberg-to-portable-text@2218

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/@emdash-cms/plugin-cli@2218

@emdash-cms/plugin-types

npm i https://pkg.pr.new/@emdash-cms/plugin-types@2218

@emdash-cms/registry-client

npm i https://pkg.pr.new/@emdash-cms/registry-client@2218

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/@emdash-cms/registry-lexicons@2218

@emdash-cms/registry-verification

npm i https://pkg.pr.new/@emdash-cms/registry-verification@2218

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/@emdash-cms/sandbox-workerd@2218

@emdash-cms/x402

npm i https://pkg.pr.new/@emdash-cms/x402@2218

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-moderation@2218

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/@emdash-cms/plugin-atproto@2218

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/@emdash-cms/plugin-audit-log@2218

@emdash-cms/plugin-color

npm i https://pkg.pr.new/@emdash-cms/plugin-color@2218

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/@emdash-cms/plugin-embeds@2218

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/@emdash-cms/plugin-field-kit@2218

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/@emdash-cms/plugin-forms@2218

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/@emdash-cms/plugin-webhook-notifier@2218

commit: 607b25d

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
emdash-demo-do 607b25d Aug 11 2026, 03:07 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
emdash-demo-cache 607b25d Aug 11 2026, 03:02 PM

@khoinguyenpham04 khoinguyenpham04 mentioned this pull request Jul 24, 2026
10 of 18 tasks
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs 607b25d Aug 11 2026, 01:12 PM

@github-actions

github-actions Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@khoinguyenpham04
khoinguyenpham04 marked this pull request as ready for review August 11, 2026 13:52
@github-actions github-actions Bot added the review/needs-review No maintainer or bot review yet label Aug 11, 2026

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR is only the umbrella seed for the media-library project branch: it adds a single changeset and contains no implementation code. That matches its stated purpose as an integration branch, so there are no runtime bugs, regressions, or auth/localization/SQL issues to flag.

I checked the diff against AGENTS.md and CONTRIBUTING.md changeset conventions. The prose is generally release-note-shaped (present-tense verb, user-facing effect) and the packages it lists are real (@emdash-cms/admin at packages/admin/package.json and emdash at packages/core/package.json). I do have two small concerns:

  1. The emdash: patch bump is premature. This diff touches no core package code, so the changeset currently advertises a core/runtime change that this branch does not yet contain. It should be added by whichever child PR actually changes core validation/metadata behavior.
  2. The second sentence of the description ("…while keeping stored image metadata consistent across validation and generated types.") is internal-mechanics language that doesn't tell an upgrader what they'll see. Per our convention, changesets should leave out file names, generated types, and validation internals.

Neither is a blocker for a draft umbrella branch, but it will be cleaner to keep the seed changeset admin-only until the core pieces land.

@@ -0,0 +1,6 @@
---
"@emdash-cms/admin": minor
"emdash": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[suggestion] The emdash: patch bump doesn't correspond to any code change in this PR. Since this is only the umbrella changeset seed, reserve the core package bump for the child PR that actually changes validation or stored image metadata behavior. For now, the seed should only list @emdash-cms/admin.

Suggested change
"emdash": patch
---
"@emdash-cms/admin": minor
---

"emdash": patch
---

Updates media management and selection throughout the admin with clearer asset details, previews, and editing workflows, while keeping stored image metadata consistent across validation and generated types.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[suggestion] This clause talks about internal implementation details ("validation", "generated types") rather than the observable user effect. CONTRIBUTING.md asks changesets to leave out file names, function names, validation internals, and how the change was implemented. Drop the trailing clause so the note describes what users see.

Suggested change
Updates media management and selection throughout the admin with clearer asset details, previews, and editing workflows, while keeping stored image metadata consistent across validation and generated types.
Updates media management and selection throughout the admin with clearer asset details, previews, and editing workflows.

@github-actions github-actions Bot added review/awaiting-author Reviewed; waiting on the author to respond and removed review/needs-review No maintainer or bot review yet labels Aug 11, 2026
@khoinguyenpham04
khoinguyenpham04 merged commit 8300c64 into main Aug 11, 2026
127 of 130 checks passed
@khoinguyenpham04
khoinguyenpham04 deleted the feature/media-library branch August 11, 2026 14:55
@khoinguyenpham04
khoinguyenpham04 restored the feature/media-library branch August 11, 2026 14:56
@emdashbot emdashbot Bot mentioned this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: signed review/awaiting-author Reviewed; waiting on the author to respond size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant