Skip to content

feat(blocks): add Tab block to Block Kit - #717

Merged
ascorbic merged 6 commits into
emdash-cms:mainfrom
lsngmin:feat/block-kit-tab
May 1, 2026
Merged

ascorbic merged 6 commits into
emdash-cms:mainfrom
lsngmin:feat/block-kit-tab

Conversation

@lsngmin

@lsngmin lsngmin commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a Tab block to Block Kit, allowing sandboxed plugin admin pages to use tabbed panel layouts.

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
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • User-visible strings in the admin UI are wrapped for translation and pnpm locale:extract has been run (if applicable)
  • I have added a changeset (if this PR changes a published package)
  • New features link to an approved Discussion:

AI-generated code disclosure

  • This PR includes AI-generated code

Screenshots / test output

스크린샷 2026-04-22 오후 8 26 38
스크린샷 2026-04-22 오후 8 26 36

@changeset-bot

changeset-bot Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: be8b25a

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 Minor
@emdash-cms/admin Minor
emdash Minor
@emdash-cms/plugin-embeds Patch
@emdash-cms/cloudflare Minor
@emdash-cms/fixture-perf-site Patch
@emdash-cms/perf-demo-site Patch
@emdash-cms/cache-demo-site Patch
@emdash-cms/auth Minor
@emdash-cms/gutenberg-to-portable-text Minor
@emdash-cms/x402 Minor
create-emdash Minor
@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

@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot mentioned this pull request Apr 23, 2026
11 of 18 tasks

@ascorbic ascorbic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey! Thanks for this. It's a good addition, but can we use the Kumo Tabs component for consistency?

# Conflicts:
#	packages/blocks/src/builders.ts
#	packages/blocks/src/renderer.tsx
#	packages/blocks/src/types.ts
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

PR template validation failed

Please fix the following issues by editing your PR description:

See CONTRIBUTING.md for the full contribution policy.

@lsngmin

lsngmin commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

@ascorbic Switched to the Kumo component as suggested.

@pkg-pr-new

pkg-pr-new Bot commented May 1, 2026

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

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

@emdash-cms/auth

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

@emdash-cms/blocks

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

@emdash-cms/cloudflare

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

emdash

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

create-emdash

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

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

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

@emdash-cms/x402

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

@emdash-cms/plugin-ai-moderation

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

@emdash-cms/plugin-atproto

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

@emdash-cms/plugin-audit-log

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

@emdash-cms/plugin-color

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

@emdash-cms/plugin-embeds

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

@emdash-cms/plugin-forms

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

@emdash-cms/plugin-webhook-notifier

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

commit: be8b25a

@ascorbic ascorbic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@ascorbic
ascorbic merged commit 5eb4318 into emdash-cms:main May 1, 2026
27 of 28 checks passed
@emdashbot emdashbot Bot mentioned this pull request May 1, 2026
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.

2 participants