Skip to content

feat(clerk-js,localizations,shared,ui): Add support for Banned badge#8261

Open
dstaley wants to merge 2 commits intomainfrom
ds.feat/banned-badge
Open

feat(clerk-js,localizations,shared,ui): Add support for Banned badge#8261
dstaley wants to merge 2 commits intomainfrom
ds.feat/banned-badge

Conversation

@dstaley
Copy link
Copy Markdown
Member

@dstaley dstaley commented Apr 7, 2026

Description

This PR adds support for rendering a Banned badge on organization members who are currently banned.

CleanShot 2026-04-07 at 16 53 02@2x

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Apr 7, 2026 10:12pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 7, 2026

🦋 Changeset detected

Latest commit: 639b841

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

This PR includes changesets to release 21 packages
Name Type
@clerk/localizations Minor
@clerk/clerk-js Minor
@clerk/shared Minor
@clerk/ui Minor
@clerk/react Patch
@clerk/chrome-extension Patch
@clerk/expo Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/hono Patch
@clerk/msw Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/vue 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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 9141c7e4-e8c1-47fc-a50b-51d13188e6cb

📥 Commits

Reviewing files that changed from the base of the PR and between e6c25a3 and 639b841.

📒 Files selected for processing (3)
  • packages/clerk-js/src/core/resources/PublicUserData.ts
  • packages/shared/src/types/json.ts
  • packages/shared/src/types/session.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • packages/shared/src/types/json.ts
  • packages/clerk-js/src/core/resources/PublicUserData.ts

📝 Walkthrough

Walkthrough

This pull request adds a banned?: boolean field to public user data types (in clerk-js and shared/session types), updates JSON snapshot/serialization handling for PublicUserData, adds an English localization key badge__banned: 'Banned', updates the organization members list UI to render a banned badge for members marked as banned (unless the member is the current user), and includes a changeset marking minor version bumps for the affected packages.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding support for rendering a Banned badge across multiple packages (clerk-js, localizations, shared, ui).
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose of adding Banned badge support with a screenshot demonstrating the feature in the organization members UI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 7, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@8261

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@8261

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@8261

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@8261

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@8261

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@8261

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@8261

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@8261

@clerk/express

npm i https://pkg.pr.new/@clerk/express@8261

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@8261

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@8261

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@8261

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@8261

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@8261

@clerk/react

npm i https://pkg.pr.new/@clerk/react@8261

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@8261

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@8261

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@8261

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@8261

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@8261

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@8261

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@8261

commit: 639b841

Copy link
Copy Markdown
Member

@wobsoriano wobsoriano left a comment

Choose a reason for hiding this comment

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

looks 👍🏼 to me

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.

3 participants