Skip to content

Comments

✨ Feat: restrict authentication to waitlist users and contributors#434

Merged
tyler-dane merged 6 commits intomainfrom
feat/429-waitlist-check
May 22, 2025
Merged

✨ Feat: restrict authentication to waitlist users and contributors#434
tyler-dane merged 6 commits intomainfrom
feat/429-waitlist-check

Conversation

@tyler-dane
Copy link
Contributor

@tyler-dane tyler-dane commented May 20, 2025

Closes #429


Summary of changes

  1. Updates /waitlist endpoint to return an object with both waitlist and invite status:
{
    "isOnWaitlist": true,
    "isInvited": false
}
  1. Changes login flow to prompt for a user's email before showing login button.
  • If the user is not on the waitlist, they are prompted to sign up for waitlist.
  • If user is on list but hasn't been invited, they are shown 3 other ways to engage with compass (YouTube, GitHub, donate)
  • If the user knows the secret email (currently marco@polo.co), they are allowed to sign in regardless of their waitlist status. This was done to help the first-time contributors in the Only Dust Hackathon get started without going through so many hoops.

Demos

1) Not on list yet

1-no-on-list.mov

2) On list, but not invited yet

2-on-list-but-waiting.mov

3) On list, invited

3-on-list.mov

@tyler-dane tyler-dane changed the title ✨ Feat: restrict authentication to waitlist users or compass devs ✨ Feat: restrict authentication to waitlist users and contributors May 20, 2025
* ✨ feat: update waitlist route

* test: remove redundant waitlist controller test

* docs: fix line wrapping in README sign in instructions
* ✨ feat: update waitlist route

* test: remove redundant waitlist controller test

* docs: fix line wrapping in README sign in instructions

* feat: add waitlist status check and UI to login flow

* refactor: streamline login flow with waitlist integration and improved error handling

* feat: redesign waitlist links with vertical layout and hover effects

* feat: implement waitlist status check flow with new UI components

* feat: implement waitlist status check and invite-only login flow

* feat: add special waitlist access for marco@polo.co and trim email inputs

* feat: add special waitlist access for marco@polo.co and trim email inputs

* docs: add instructions for bypassing waitlist with test email in production
@tyler-dane tyler-dane marked this pull request as ready for review May 22, 2025 12:19
@tyler-dane tyler-dane merged commit 231372b into main May 22, 2025
4 checks passed
@tyler-dane tyler-dane deleted the feat/429-waitlist-check branch May 22, 2025 12:19
that-one-arab pushed a commit that referenced this pull request Jun 5, 2025
)

* refactor: separate waitlist types and add status field to support invites

* feat: add waitlist invitation functionality with tests and error handling

* feat: add isInvited endpoint to check waitlist invitation status

* fix: use explicit $eq operator in MongoDB queries for email matching

* ✨ Add waitlist check route (#438)

* ✨ feat: update waitlist route

* test: remove redundant waitlist controller test

* docs: fix line wrapping in README sign in instructions

* ✨ Add waitlist check to sign in flow (#441)

* ✨ feat: update waitlist route

* test: remove redundant waitlist controller test

* docs: fix line wrapping in README sign in instructions

* feat: add waitlist status check and UI to login flow

* refactor: streamline login flow with waitlist integration and improved error handling

* feat: redesign waitlist links with vertical layout and hover effects

* feat: implement waitlist status check flow with new UI components

* feat: implement waitlist status check and invite-only login flow

* feat: add special waitlist access for marco@polo.co and trim email inputs

* feat: add special waitlist access for marco@polo.co and trim email inputs

* docs: add instructions for bypassing waitlist with test email in production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Restrict authentication to users who are either on waitlist or know the secret password

1 participant