Skip to content

Add Block Kit item list block#909

Draft
masonjames wants to merge 2 commits intoemdash-cms:mainfrom
masonjames:codex/blockkit-item-list
Draft

Add Block Kit item list block#909
masonjames wants to merge 2 commits intoemdash-cms:mainfrom
masonjames:codex/blockkit-item-list

Conversation

@masonjames
Copy link
Copy Markdown
Contributor

@masonjames masonjames commented May 4, 2026

What does this PR do?

Adds the item_list Block Kit block to @emdash-cms/blocks.

This block renders compact entity lists that are richer than fields but less structured than table, such as queues, accounts, imports, plugins, and recent objects. Items support a title, optional description, metadata, badge, short icon text, avatar preview, and nested ButtonElement actions.

Avatar previews are restricted to safe root-relative paths and http(s) URLs. Unsafe preview URLs are suppressed.

Discussion: #904

Closes #

Type of change

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

Checklist

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool: Codex GPT-5.5 via RepoPrompt orchestrate/agents; Codex GPT-5 local coding agent

Screenshots / test output

  • pnpm --silent lint:quick passed on this branch.
  • pnpm --filter @emdash-cms/blocks test passed on this branch.
  • pnpm --filter @emdash-cms/blocks typecheck passed on this branch.
  • Integration branch codex/blockkit-all-five-integration passed pnpm typecheck.
  • Integration branch codex/blockkit-all-five-integration passed pnpm format:check.
  • Integration branch codex/blockkit-all-five-integration passed pnpm --filter @emdash-cms/blocks test with 136 tests.
  • Integration branch codex/blockkit-all-five-integration passed pnpm --filter @emdash-cms/blocks-playground build.
  • Integration browser verification rendered all five proposed blocks together, confirmed unsafe avatar previews are suppressed, and confirmed nested block_action events.
  • GitHub CI is passing, including Typecheck, Lint, Tests, Integration Tests, Browser Tests, Smoke Tests, E2E shards, Format, Version Check, Validate Plugins, and Validate PR.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 4, 2026

🦋 Changeset detected

Latest commit: aaeebf9

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

This PR includes changesets to release 13 packages
Name Type
@emdash-cms/blocks Patch
@emdash-cms/admin Patch
emdash Patch
@emdash-cms/plugin-embeds Patch
@emdash-cms/cloudflare Patch
@emdash-cms/fixture-perf-site Patch
@emdash-cms/perf-demo-site Patch
@emdash-cms/cache-demo-site Patch
@emdash-cms/auth Patch
@emdash-cms/gutenberg-to-portable-text Patch
@emdash-cms/x402 Patch
create-emdash Patch
@emdash-cms/auth-atproto 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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 4, 2026

Open in StackBlitz

@emdash-cms/admin

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

@emdash-cms/auth

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

@emdash-cms/blocks

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

@emdash-cms/cloudflare

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

emdash

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

create-emdash

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

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

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

@emdash-cms/x402

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

@emdash-cms/plugin-ai-moderation

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

@emdash-cms/plugin-atproto

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

@emdash-cms/plugin-audit-log

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

@emdash-cms/plugin-color

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

@emdash-cms/plugin-embeds

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

@emdash-cms/plugin-forms

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

@emdash-cms/plugin-webhook-notifier

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

commit: aaeebf9

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Overlapping PRs

This PR modifies files that are also changed by other open PRs:

This may cause merge conflicts or duplicated work. A maintainer will coordinate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant