Commit Graph

460 Commits

Author SHA1 Message Date
Abi Raja
9a234264b6 clean up test code 2024-05-20 14:33:49 -04:00
Abi Raja
dbd1ea07ff remove console.log 2024-05-20 13:10:34 -04:00
Abi Raja
992344ac8d add testing for edits 2024-05-17 17:06:51 -04:00
Abi Raja
610400bc49 also iterate through stacks 2024-05-17 16:52:01 -04:00
Abi Raja
7396160833 clean up the code 2024-05-17 16:49:17 -04:00
Abi Raja
72d412fa52 set up a basic puppeteer test 2024-05-17 16:22:45 -04:00
Abi Raja
1f9c5b2c80 set initial value 2024-05-17 14:47:54 -04:00
Abi Raja
ac8198e5ba Add field for Anthropic API key in settings 2024-05-17 12:30:26 -04:00
Abi Raja
ea7d238606 Merge branch 'main' into hosted 2024-05-14 11:48:35 -04:00
Abi Raja
9e3614549c add GPT4o message 2024-05-14 11:48:07 -04:00
Abi Raja
9a13fcc3d0 Merge branch 'main' into hosted 2024-05-13 16:06:10 -04:00
Abi Raja
8e6a9c48f8 support GPT-4o 2024-05-13 15:24:47 -04:00
Leo
06a022a8c0 changed node version from 20.9 to 22 2024-04-30 16:32:38 -07:00
Abi Raja
a5fe0960d8 support best of n evals 2024-04-24 14:54:03 -04:00
Abi Raja
711c193b32 bump posthog version 2024-04-19 16:09:46 -04:00
Abi Raja
a227704d41 unmask all inputs except for passwords for posthog 2024-04-19 16:06:34 -04:00
Abi Raja
aed7e3dacf instrument cancel and create 2024-04-18 12:59:32 -04:00
Abi Raja
07fc02a15d Merge branch 'main' into hosted 2024-04-18 12:49:35 -04:00
Abi Raja
f9c4dd9c7c add react + gpt-4 turbo warning 2024-04-18 12:49:24 -04:00
Abi Raja
c6b04aefbe Merge branch 'main' into hosted 2024-04-16 16:34:00 -04:00
Abi Raja
9730f6ae7f feature requests → feedback on badge 2024-04-15 16:51:04 -04:00
Abi Raja
d103c02eba make turbo the default and move to top of list 2024-04-15 16:46:53 -04:00
Abi Raja
522b7b8e23 Merge branch 'main' into hosted 2024-04-15 14:19:35 -04:00
Abi Raja
e3a4cfa7ab add class names for UI testing 2024-04-12 19:57:01 -04:00
Abi Raja
6587b626c5 clean up model strings and add support for GPT-4 Turbo (Apr 2024) 2024-04-11 09:55:55 -04:00
Abi Raja
60171bcc0b Merge branch 'main' into hosted 2024-04-10 14:55:07 -04:00
Abi Raja
9e1bcae545 remove access code/token functionality 2024-04-10 14:51:15 -04:00
Abi Raja
fa944890ad Merge branch 'main' into hosted 2024-04-10 13:39:17 -04:00
Abi Raja
483d1e2209 handle unknown server error by showing an error message to the user 2024-04-10 13:37:44 -04:00
Abi Raja
29cea327cc improve error UX (particular when no OpenAI API key is found) 2024-04-10 13:20:42 -04:00
Abi Raja
575847f845 switch to subscribe banner 2024-04-05 14:40:51 -04:00
Abi Raja
273a77f7c4 add tracking for regenerate 2024-04-04 16:06:34 -04:00
Abi Raja
87d5a1da57 Merge branch 'main' into hosted 2024-04-04 15:53:27 -04:00
Abi Raja
64cdc74186 add a regenerate button to retry an iteration 2024-04-04 15:50:33 -04:00
Abi Raja
58a929731f update wording to make it more obvious 2024-04-04 15:38:25 -04:00
Abi Raja
ab8baca1ab disable better error message for videos on hosted version 2024-03-25 15:31:24 -04:00
Abi Raja
ac86e42126 add tips to avatar dropdown 2024-03-25 14:47:18 -04:00
Abi Raja
e1f39cac78 Merge branch 'main' into hosted 2024-03-25 14:41:05 -04:00
Abi Raja
08c4132949 add a link to tips 2024-03-25 14:39:22 -04:00
Abi Raja
dc52ff4cce store intermediate artifacts for video for easier debugging 2024-03-25 14:09:13 -04:00
Abi Raja
7024057c03 show user a preview of the video and allow them to re-record 2024-03-22 11:15:33 -04:00
Abi Raja
87a44cfb77 show user a preview of the video and allow them to re-record 2024-03-22 11:14:44 -04:00
Abi Raja
7f8e0cbbd1
Merge pull request #258 from Aman-Manwani/changesv1
added resonsiveness in the Homepage
2024-03-20 12:02:37 -04:00
Abi Raja
6ea61b472d update star count 2024-03-20 12:01:18 -04:00
Abi Raja
3a1634bac2 improve look of dropdown 2024-03-19 13:32:09 -04:00
Abi Raja
f171ec1e6e update pricing dialog 2024-03-19 13:29:17 -04:00
Abi Raja
ea02e2daea Update OnboardingNote.tsx 2024-03-19 13:24:12 -04:00
Abi Raja
8209c7bd26 show user that Claude 3 sonnet is for paid plans 2024-03-19 13:24:07 -04:00
Abi Raja
b6222ddbc9 hide & disable video functionality on prod 2024-03-19 13:12:41 -04:00
Abi Raja
71dfde3892 Merge branch 'main' into hosted 2024-03-18 16:41:14 -04:00
Abi Raja
4e30b207c1 stop the screen sharing stream after it's recording is done 2024-03-15 13:41:35 -04:00
Abi Raja
cdbb78ea55 add browser tab indicator for coding and update favicon images 2024-03-14 16:53:09 -04:00
Abi Raja
c08cf0ae57 support screen recording 2024-03-14 15:57:44 -04:00
Abi Raja
f09b4c7808 improve preview for videos by showing the streaming response as it comes in 2024-03-08 12:37:37 -05:00
Abi Raja
cacf78a4bb show preview of videos (only works for .MP4) 2024-03-08 11:21:30 -05:00
Abi Raja
caa63013f5 extract html to show a preview for video mode and switch to .srcdoc with throttling for the preview 2024-03-08 11:16:49 -05:00
Abi Raja
fa58f2ce8f add note when input mode is video 2024-03-08 05:00:48 -05:00
Abi Raja
3c97a401f8 highlight video feature 2024-03-08 04:49:47 -05:00
Aman Manwani
b66dcc5df5 added resonsiveness 2024-03-08 10:11:31 +05:30
Abi Raja
4937a92f42 support video uploads through the interface 2024-03-07 14:59:26 -05:00
Abi Raja
7b62147a58 support Claude 3 Sonnet 2024-03-05 12:24:30 -05:00
Abi Raja
27165c0286 fix end of file newlines 2024-02-23 15:08:55 -05:00
Abi Raja
c303c32996 update star count 2024-02-08 14:02:57 -05:00
Abi Raja
b4fb612856 add tweets to landing page 2024-02-08 14:02:16 -05:00
Abi Raja
2950c3cebe update subheadline 2024-02-08 13:17:06 -05:00
Julian Toro
7c1fb7a54d Add HTML/CSS system prompt and update stack descriptions 2024-02-02 10:19:52 -05:00
Abi Raja
ab15aff021 Support screenshot by URL for all paying customers 2024-01-30 14:32:57 -05:00
Abi Raja
de834d83e5 update redirect URL 2024-01-30 12:16:03 -05:00
Abi Raja
ac858e252b add a new landing page 2024-01-29 12:36:03 -05:00
Abi Raja
b04dba001d add posthog for paid users 2024-01-23 15:08:15 -05:00
Abi Raja
234e806a6d clarify access code 2024-01-11 11:24:34 -08:00
Abi Raja
d834940c24 fix typo 2024-01-11 11:03:48 -08:00
Abi Raja
25fccc0ef5 update copy to reflect usage is monthly 2024-01-11 10:59:53 -08:00
Abi Raja
5256d428e0 Show number of credits left 2024-01-11 09:55:13 -08:00
Abi Raja
a46ff8692c revert defaulting to 'free' for subscriber tier to prevent flashes 2024-01-10 17:23:43 -08:00
Abi Raja
cddc99dc19 update to use SAAS_BACKEND_URL on the front-end everywhere 2024-01-10 15:53:41 -08:00
Abi Raja
97591336c3 default subscriberTier to free 2024-01-10 08:41:04 -08:00
Abi Raja
b35738524b Merge branch 'main' into hosted 2024-01-09 10:02:29 -08:00
Abi Raja
6d942f3cd7 refactors 2024-01-09 10:01:05 -08:00
Abi Raja
955d1a6a58 fix missing key 2024-01-09 09:58:03 -08:00
Abi Raja
a2c0ac1171 Merge branch 'main' into hosted 2024-01-09 09:52:32 -08:00
Abi Raja
7bc368d9bf update remaining variable names for GeneratedCodeConfig 2024-01-09 08:12:33 -08:00
Abi Raja
3723c81a04 move stack info to a separate file 2024-01-09 06:43:32 -08:00
Abi Raja
a8b562e392 simplify Stack dropdown generation significantly 2024-01-09 06:35:17 -08:00
Abi Raja
dbbb29f0d1 Merge branch 'main' into hosted 2024-01-08 13:51:50 -08:00
Abi Raja
fa7ffdfaeb add a vue tailwind generation option 2024-01-08 13:50:33 -08:00
Abi Raja
94ac6760b7 add comment 2024-01-08 09:22:38 -08:00
Abi Raja
77a8377e99 update "Upgrade plan" to "Manage billing" 2024-01-05 10:38:28 -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
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
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
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
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
64789d1c29 use addEvent everywhere 2023-12-10 17:58:41 -05:00
Abi Raja
adbc459347 use addEvent instead of window.plausible 2023-12-10 16:32:26 -05:00
Abi Raja
9ccc47920a Merge branch 'main' into hosted 2023-12-10 16:23:41 -05:00
Abi Raja
e8e3d4cb6f make user set the stack when importing code 2023-12-10 10:22:05 -05:00
Abi Raja
52fee9e49b initial implementation of importing from code 2023-12-09 21:00:18 -05:00
Abi Raja
70a67c0ea7 track HistoryTreeFailed 2023-12-08 16:49:50 -05:00
Abi Raja
7155a0616e Merge branch 'main' into hosted 2023-12-08 16:48:47 -05:00
Abi Raja
68a8d2788d improve tests and catch history tree generation errors better 2023-12-08 16:48:34 -05:00
Abi Raja
0ea6f091e8 add plausible tracking for errors 2023-12-08 16:29:15 -05:00
Alex Lloyd
c0e68db40f remove WIP GeneratedCodeConfig 2023-12-07 18:25:05 -06:00
Alex Lloyd
4abee41e15 Remove redundant comment 2023-12-07 18:18:39 -06:00
Alex Lloyd
edfafa2c48 Fix parameter type for generateCode 2023-12-07 18:16:31 -06:00
Abi Raja
b8a94e7efb add plausible tracking for edits 2023-12-07 16:29:21 -05:00
Abi Raja
7975e0a6f7 add plausible tracking for copy code 2023-12-07 16:28:22 -05:00
Abi Raja
5a114866f2 Merge branch 'main' into hosted 2023-12-07 13:36:28 -05:00
Abi Raja
3bd2321b83 nit: comment fix 2023-12-07 13:34:23 -05:00
Abi Raja
8675d28e96 fix typescript and show badge of type of edit 2023-12-07 13:25:31 -05:00
Abi Raja
b3b478d6d1 add hover card to show full prompt 2023-12-07 13:21:10 -05:00
Abi Raja
2dbf5a3c3f move purchase link to right 2023-12-07 11:58:11 -05:00
Abi Raja
1fb390e48c Merge branch 'main' into hosted 2023-12-07 11:52:37 -05:00
Abi Raja
2f53540e2d fix bug 2023-12-07 11:41:28 -05:00