sourcebot/packages/web
Michael Sukkarieh 7c187121c8
Add stripe billing logic (#190)
* add side bar nav in settings page

* improve styling of members page

* wip adding stripe checkout button

* wip onboarding flow

* add stripe subscription id to org

* save stripe session id and add manage subscription button in settings

* properly block access to pages if user isn't in an org

* wip add paywall

* Domain support

* add back paywall and also add support for incrememnting seat count on invite redemption

* prevent self invite

* action button styling in settings and toast on copy

* add ability to remove member from org

* move stripe product id to env var

* add await for blocking loop in backend

* add subscription info to billing page

* handle trial case in billing info page

* add trial duration indicator to nav bar

* check if domain starts or ends with dash

* remove unused no org component

* remove package lock file and fix prisma dep version

* revert dep version updates

* fix yarn.lock

* add auth and membership check to fetchSubscription

* properly handle invite redeem with no valid subscription case

* change back fetch subscription to not require org membership

* add back subscription check in invite redeem page

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-02-13 15:52:33 -08:00
..
public add google logo to google oauth 2025-02-10 14:45:20 -08:00
src Add stripe billing logic (#190) 2025-02-13 15:52:33 -08:00
.env Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
.eslintignore Config format V2 (#42) 2024-10-17 16:31:18 -04:00
.eslintrc.json Config format V2 (#42) 2024-10-17 16:31:18 -04:00
.gitignore Config format V2 (#42) 2024-10-17 16:31:18 -04:00
components.json Version upgrade toast (#44) 2024-10-18 15:03:13 -04:00
next.config.mjs Connection management (#183) 2025-02-04 15:04:05 -05:00
package.json Add stripe billing logic (#190) 2025-02-13 15:52:33 -08:00
postcss.config.mjs Config format V2 (#42) 2024-10-17 16:31:18 -04:00
tailwind.config.ts Add stripe billing logic (#190) 2025-02-13 15:52:33 -08:00
tsconfig.json Filtering panel (#48) 2024-10-28 10:30:29 -07:00
vitest.config.mts Search suggestions (#85) 2024-11-22 18:50:13 -08:00