Skip to content

fix(clerk-js): Correctly display all badges email/phone#1749

Merged
panteliselef merged 1 commit intomainfrom
ORG-223
Sep 21, 2023
Merged

fix(clerk-js): Correctly display all badges email/phone#1749
panteliselef merged 1 commit intomainfrom
ORG-223

Conversation

@panteliselef
Copy link
Copy Markdown
Contributor

@panteliselef panteliselef commented Sep 20, 2023

Description

This bug was introduced when we moved the "unverified" badges from the body of the expandable to the trigger. Previously the "primary" badge always had priority over the "unverified". We decided to display both.

This PR displays both badges when needed.

Before

image
image

After

image
image

Checklist

  • npm test runs as expected.
  • npm run 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:

Packages affected

  • @clerk/clerk-js
  • @clerk/clerk-react
  • @clerk/nextjs
  • @clerk/remix
  • @clerk/types
  • @clerk/themes
  • @clerk/localizations
  • @clerk/clerk-expo
  • @clerk/backend
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/fastify
  • @clerk/chrome-extension
  • gatsby-plugin-clerk
  • build/tooling/chore

@panteliselef panteliselef requested a review from a team as a code owner September 20, 2023 08:59
@panteliselef panteliselef self-assigned this Sep 20, 2023
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Sep 20, 2023

🦋 Changeset detected

Latest commit: 4d8882d

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

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo 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

Copy link
Copy Markdown
Member

@anagstef anagstef left a comment

Choose a reason for hiding this comment

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

💯

@panteliselef panteliselef changed the title fix(clerk-js): Display both unverified and primary badges for emails … fix(clerk-js): Correctly display all badges email/phone Sep 20, 2023
@panteliselef panteliselef force-pushed the ORG-223 branch 3 times, most recently from 76f17b0 to d691dce Compare September 20, 2023 12:57
@clerk-cookie
Copy link
Copy Markdown
Collaborator

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@clerk clerk locked as resolved and limited conversation to collaborators Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants