Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clerk-js,types,localizations): Render "Restricted access" screen for restricted signup mode #4220

Conversation

nikospapcom
Copy link
Member

Description

When sign_up.mode is restricted we render the new Restricted access screen (screenshot 👇)
When sign_up.mode is restricted and ticket is presented then we render the signup screen as we're doing right now

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:

Screenshot 2024-09-25 at 3 46 30 PM

@nikospapcom nikospapcom self-assigned this Sep 25, 2024
Copy link

changeset-bot bot commented Sep 25, 2024

🦋 Changeset detected

Latest commit: 4f9daf5

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

This PR includes changesets to release 18 packages
Name Type
@clerk/localizations Minor
@clerk/clerk-js Minor
@clerk/types Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/clerk-react Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/shared Patch
@clerk/tanstack-start Patch
@clerk/testing Patch
@clerk/themes 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

@nikospapcom nikospapcom changed the title feat(clerk-js,types,localizations): Render "Restricted access" screen SignUp component when signup.mode is restricted feat(clerk-js,types,localizations): Render "Restricted access" screen for restricted signup mode Sep 25, 2024
@nikospapcom nikospapcom marked this pull request as ready for review September 25, 2024 13:39
@nikospapcom nikospapcom force-pushed the nikospap/user-700-show-an-error-component-for-signup-when-needed branch from 9d6291b to 12963e8 Compare September 26, 2024 07:35
@nikospapcom
Copy link
Member Author

!snapshot

… SignUp component when signup.mode is restricted
@nikospapcom nikospapcom force-pushed the nikospap/user-700-show-an-error-component-for-signup-when-needed branch from 12963e8 to 4f9daf5 Compare September 26, 2024 10:45
@clerk clerk deleted a comment from clerk-cookie Sep 26, 2024
@nikospapcom
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @nikospapcom - the snapshot version command generated the following package versions:

Package Version
@clerk/astro 1.3.9-snapshot.v4f9daf5
@clerk/backend 1.13.5-snapshot.v4f9daf5
@clerk/chrome-extension 1.3.11-snapshot.v4f9daf5
@clerk/clerk-js 5.24.0-snapshot.v4f9daf5
@clerk/elements 0.15.7-snapshot.v4f9daf5
@clerk/clerk-expo 2.2.17-snapshot.v4f9daf5
@clerk/express 1.0.2-snapshot.v4f9daf5
@clerk/fastify 1.0.48-snapshot.v4f9daf5
@clerk/localizations 3.1.0-snapshot.v4f9daf5
@clerk/nextjs 5.6.3-snapshot.v4f9daf5
@clerk/clerk-react 5.9.4-snapshot.v4f9daf5
@clerk/remix 4.2.32-snapshot.v4f9daf5
@clerk/clerk-sdk-node 5.0.45-snapshot.v4f9daf5
@clerk/shared 2.8.4-snapshot.v4f9daf5
@clerk/tanstack-start 0.4.8-snapshot.v4f9daf5
@clerk/testing 1.3.6-snapshot.v4f9daf5
@clerk/themes 2.1.33-snapshot.v4f9daf5
@clerk/types 4.23.0-snapshot.v4f9daf5

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro

npm i @clerk/[email protected] --save-exact

@clerk/backend

npm i @clerk/[email protected] --save-exact

@clerk/chrome-extension

npm i @clerk/[email protected] --save-exact

@clerk/clerk-js

npm i @clerk/[email protected] --save-exact

@clerk/elements

npm i @clerk/[email protected] --save-exact

@clerk/clerk-expo

npm i @clerk/[email protected] --save-exact

@clerk/express

npm i @clerk/[email protected] --save-exact

@clerk/fastify

npm i @clerk/[email protected] --save-exact

@clerk/localizations

npm i @clerk/[email protected] --save-exact

@clerk/nextjs

npm i @clerk/[email protected] --save-exact

@clerk/clerk-react

npm i @clerk/[email protected] --save-exact

@clerk/remix

npm i @clerk/[email protected] --save-exact

@clerk/clerk-sdk-node

npm i @clerk/[email protected] --save-exact

@clerk/shared

npm i @clerk/[email protected] --save-exact

@clerk/tanstack-start

npm i @clerk/[email protected] --save-exact

@clerk/testing

npm i @clerk/[email protected] --save-exact

@clerk/themes

npm i @clerk/[email protected] --save-exact

@clerk/types

npm i @clerk/[email protected] --save-exact

@nikospapcom nikospapcom merged commit 2e35ac5 into main Sep 26, 2024
20 checks passed
@nikospapcom nikospapcom deleted the nikospap/user-700-show-an-error-component-for-signup-when-needed branch September 26, 2024 11:06
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.

4 participants