Commit Graph

625 Commits

Author SHA1 Message Date
Abi Raja
c70e4958b9 bump response timeout 2024-01-05 06:13:58 -08:00
Abi Raja
56c90d9c83 add direct link to Stripe Customer Portal 2024-01-04 16:57:10 -08:00
Abi Raja
71ceeb533f Update “buy credits” UX in settings modal to do subscriptions instead 2024-01-04 16:04:40 -08:00
Abi Raja
a165df2735 don't show purchase modal if user is already a subscriber 2024-01-03 16:51:39 -05:00
Abi Raja
c7482be855 fix up frontend ux for subscriptions 2024-01-03 16:48:04 -05:00
Abi Raja
2bc22b1653 update copy 2024-01-03 16:14:55 -05:00
Abi Raja
8ff2037579 set up a type for user response from backend 2024-01-03 16:09:22 -05:00
Abi Raja
1f5bec4521 add a custom dropdown 2024-01-03 15:47:45 -05:00
Abi Raja
5d7fe8b363 read current subscriber tier and don't show onboarding note 2023-12-23 17:35:45 -05:00
Abi Raja
a974c91c76 add a subscription pricing table 2023-12-23 17:06:15 -05:00
Abi Raja
231d334679 create checkout sessions when subscribe is clicked 2023-12-22 12:45:11 -05:00
Abi Raja
e32877f3a4 add some comments 2023-12-22 12:18:19 -05:00
Abi Raja
9bc5817aa4 Merge branch 'main' into hosted 2023-12-21 10:56:52 -05:00
Abi Raja
9b59b2d595 disable pasting which is causing a flurry of requests 2023-12-21 10:56:47 -05:00
Abi Raja
0c43b5e7cf
Update README.md 2023-12-20 16:46:02 -05:00
Abi Raja
204d449dd4 Revert "switch to subscription model"
This reverts commit dde125b8c0.
2023-12-19 23:56:19 -05:00
Abi Raja
dde125b8c0 switch to subscription model 2023-12-19 12:10:08 -05:00
Abi Raja
c3b7ff7246 update URL to prod URL 2023-12-19 11:45:19 -05:00
Abi Raja
1a5f05d574 support subscription credits and store payment method for each generation 2023-12-19 11:40:00 -05:00
Abi Raja
730e58da72 forward generations to saas backend on the hosted version 2023-12-18 17:32:11 -05:00
Abi Raja
b579f326dd center text 2023-12-15 20:32:56 -05:00
Abi Raja
d5364fb5aa hide "an open source project by Pico" and fix clicking for pricing dialog 2023-12-15 20:30:30 -05:00
Abi Raja
dc3de0b470 add tos acceptance as part of sign up 2023-12-15 20:17:30 -05:00
Abi Raja
54017dbcd9 don't send authenticated request when the user is not authenticated 2023-12-15 12:57:36 -05:00
Abi Raja
dcb0116c06 enable login 2023-12-15 12:36:15 -05:00
Abi Raja
0f16c1d8a2 fix type errors 2023-12-14 17:06:40 -05:00
Abi Raja
bc9330fd57 disable login 2023-12-14 17:04:36 -05:00
Abi Raja
44d3776bd8 hit the backend with the current user 2023-12-14 16:49:29 -05:00
Abi Raja
732ffc33e1 Merge branch 'main' into hosted 2023-12-14 10:39:41 -05:00
Abi Raja
9b728d034b add experimental support for SVG 2023-12-14 10:18:41 -05:00
Abi Raja
f676151edf fix bug with preview not updating immediately 2023-12-14 09:20:06 -05:00
Abi Raja
f1a9859384 fix bug with history not being updated if image generation fails 2023-12-14 08:29:04 -05:00
Abi Raja
9494f4c1cc fix reset function to reset all state correctly 2023-12-14 08:27:16 -05:00
Abi Raja
ff3ca97241 track history clicks 2023-12-14 06:57:41 -05:00
Abi Raja
d9cb13b1c2 Merge branch 'main' into hosted 2023-12-14 06:53:03 -05:00
Abi Raja
d23cec9bc0 add a front-end for scoring eval results 2023-12-13 16:38:26 -05:00
Abi Raja
896ac66ac5 add a simple eval script to batch run inferences 2023-12-13 12:50:34 -05:00
Abi Raja
a615f25fd7 improve history UX 2023-12-13 12:20:44 -05:00
Abi Raja
08cd5384be remove email submissions now that we have sign in 2023-12-12 12:18:36 -05:00
Abi Raja
d3ec75873c make user log in before they can use the app 2023-12-12 11:34:50 -05:00
Abi Raja
b88320177e Pre-process history for history display so we can write unit tests for it 2023-12-11 21:47:07 -05:00
Abi Raja
0d74d43eb6 fix bug 2023-12-11 19:05:59 -05:00
Abi Raja
1cdfd7d1ac Merge branch 'main' into hosted 2023-12-11 18:56:29 -05:00
Abi Raja
9f064c57a7 after code generation cancellation, leave the app in a good state (revert to last version or reset app if no last version) 2023-12-11 18:56:20 -05:00
Abi Raja
89c716f759 update to include new settings 2023-12-11 18:22:36 -05:00
Abi Raja
7edea28eab Merge branch 'main' into pr/170 2023-12-11 18:22:22 -05:00
Abi Raja
59e8974ebc Improve credit purchase UX 2023-12-11 16:38:48 -05:00
Abi Raja
28db0a6f4c
Update README.md 2023-12-11 14:36:29 -05:00
Abi Raja
64789d1c29 use addEvent everywhere 2023-12-10 17:58:41 -05:00
Abi Raja
6385c500ec
Create design-docs.md 2023-12-10 17:53:39 -05:00