-
-
Notifications
You must be signed in to change notification settings - Fork 115
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: Added extra check for already waitlisted users and created toast message for them #491
feat: Added extra check for already waitlisted users and created toast message for them #491
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Description
This PR solves the issue by showing an error/warning toast message to already existing users on the waitlist. Before this PR, every user with a single email was getting the success toast message multiple times. Ideally, this should not happen, every user should be able to join the waitlist one time through one email. This PR fixes this problem.
Fixes #463
Dependencies
No extra package used.
Screenshots of relevant screens
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
enhancement, other
Description
const
for immutable variables inworkspace-membership.ts
.Changes walkthrough 📝
60 files
grafana.ts
Code formatting improvements for better readability.
packages/secret-scan/src/rules/grafana.ts
grafana
function andtestcase
array.authress.ts
Code formatting adjustments for consistency.
packages/secret-scan/src/rules/authress.ts
authress
function andtestcase
array.
cloudflare.ts
Improved code formatting for clarity.
packages/secret-scan/src/rules/cloudflare.ts
cloudflare
function andtestcase
array.
bitbucket.ts
Code formatting enhancements for readability.
packages/secret-scan/src/rules/bitbucket.ts
bitbucket
function andtestcase
array.
facebook.ts
Code formatting corrections for uniformity.
packages/secret-scan/src/rules/facebook.ts
facebook
function andtestcase
array.
confluent.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/confluent.ts
confluent
function andtestcase
array.
atlassian.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/atlassian.ts
atlassian
function andtestcase
array.
shopify.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/shopify.ts
shopify
function andtestcase
array.harness.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/harness.ts
harness
function andtestcase
array.planetscale.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/planetscale.ts
planetscale
function andtestcase
array.
dropbox.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/dropbox.ts
dropbox
function andtestcase
array.dynatrace.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/dynatrace.ts
dynatrace
function andtestcase
array.
digitalocean.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/digitalocean.ts
digitalocean
function andtestcase
array.definednetworking.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/definednetworking.ts
definednetworking
function andtestcase
array.sidekiq.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/sidekiq.ts
sidekiq
function andtestcase
array.intra42.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/intra42.ts
intra42
function andtestcase
array.
huggingface.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/huggingface.ts
huggingface
function andtestcase
array.
gitlab.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/gitlab.ts
gitlab
function andtestcase
array.heroku.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/heroku.ts
heroku
function andtestcase
array.
coinbase.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/coinbase.ts
coinbase
function andtestcase
array.
frameio.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/frameio.ts
frameio
function andtestcase
array.hubspot.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/hubspot.ts
hubspot
function andtestcase
array.
easypost.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/easypost.ts
easypost
function andtestcase
array.
clojars.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/clojars.ts
clojars
function andtestcase
array.flutterwave.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/flutterwave.ts
flutterwave
function andtestcase
array.
contentful.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/contentful.ts
contentful
function andtestcase
array.
beamer.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/beamer.ts
beamer
function andtestcase
array.doppler.ts
Improved code formatting for better readability.
packages/secret-scan/src/rules/doppler.ts
doppler
function andtestcase
array.
duffel.ts
Code formatting corrections for clarity.
packages/secret-scan/src/rules/duffel.ts
duffel
function andtestcase
array.datadog.ts
Code formatting improvements for consistency.
packages/secret-scan/src/rules/datadog.ts
datadog
function andtestcase
array.lob.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/lob.ts
sendinblue.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/sendinblue.ts
hashicorp.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/hashicorp.ts
databricks.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/databricks.ts
index.ts
Uniform import statement quotation style
packages/secret-scan/src/rules/index.ts
age.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/age.ts
readme.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/readme.ts
postman.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/postman.ts
scalingo.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/scalingo.ts
linear.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/linear.ts
infracost.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/infracost.ts
rubygems.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/rubygems.ts
asana.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/asana.ts
prefect.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/prefect.ts
pulumi.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/pulumi.ts
shippo.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/shippo.ts
update.role.ts
Logger message quotation style update
apps/cli/src/commands/workspace/role/update.role.ts
list.environment.ts
Improved readability of destructuring assignments
apps/cli/src/commands/environment/list.environment.ts
get.role.ts
Logger message quotation style update
apps/cli/src/commands/workspace/role/get.role.ts
codecov.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/codecov.ts
page.tsx
Improved readability of import statements
apps/platform/src/app/auth/page.tsx
delete.environment.ts
Improved readability of destructuring assignments
apps/cli/src/commands/environment/delete.environment.ts
list.workspace.ts
Consistent use of `type` keyword in imports
apps/cli/src/commands/workspace/list.workspace.ts
type
keyword to import statements for consistency.bittrex.ts
Code formatting improvements for consistency
packages/secret-scan/src/rules/bittrex.ts
update.environment.ts
Improved readability of destructuring assignments
apps/cli/src/commands/environment/update.environment.ts
get.environment.ts
Improved readability of destructuring assignments
apps/cli/src/commands/environment/get.environment.ts
list.role.ts
Consistent use of `type` keyword in imports
apps/cli/src/commands/workspace/role/list.role.ts
type
keyword to import statements for consistency.page.tsx
Consistent import statement ordering
apps/web/src/app/(main)/career/page.tsx
ColorBGSVG
for consistency.airtable.ts
Ensure newline at end of file
packages/secret-scan/src/rules/airtable.ts
pagination-options.ts
Consistent use of `type` keyword in imports
apps/cli/src/util/pagination-options.ts
type
keyword to import statement for consistency.3 files
index.tsx
Added waitlist check and toast notification for users.
apps/web/src/components/hero/index.tsx
_waitListData
to manage waitlisted emails.create.environment.ts
Refactored method call for better readability.
apps/cli/src/commands/environment/create.environment.ts
createEnvironment
method call for improved readability.workspace-membership.ts
Use of `const` for immutable variables
packages/api-client/src/controllers/workspace-membership.ts
let
toconst
for variable declaration.