Commit Graph

314 Commits

Author SHA1 Message Date
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
Abi Raja
b45e9dea29 clean up 2023-12-07 11:29:05 -05:00
Abi Raja
a559cd3120 update to extract history tree with parent indices 2023-12-07 10:09:35 -05:00
Abi Raja
52adb4602b move files 2023-12-07 09:39:19 -05:00
Abi Raja
2457a3f5bd update name 2023-12-07 09:38:42 -05:00
Abi Raja
dd0f3b7648 fix errors 2023-12-07 09:36:37 -05:00
Abi Raja
874afc1e66 fix bug and show prompt 2023-12-07 09:22:22 -05:00
Abi Raja
0e8eef4554 add parent for each item in history 2023-12-06 22:36:31 -05:00
Abi Raja
f5ddb779b4 make history forward chronology and have non-changing indices to refer to items 2023-12-06 22:24:25 -05:00
Abi Raja
eff532bcf5 update test data 2023-12-06 21:58:06 -05:00
Abi Raja
97d651343a add some tests for history utils 2023-12-06 21:57:25 -05:00
Abi Raja
79e36c9529 move files around 2023-12-06 19:07:22 -05:00
Abi Raja
a5e7dcd037 correctly extract history for an update 2023-12-06 17:15:08 -05:00
Abi Raja
286549f101 track current version 2023-12-06 16:02:52 -05:00
Abi Raja
c1d6236391 minor fix 2023-12-06 15:45:14 -05:00
Abi Raja
8008513a6c handle coding state correctly 2023-12-06 15:42:33 -05:00
Abi Raja
3d16d784c2 improve look of history display 2023-12-06 15:37:59 -05:00
Abi Raja
75198cf638 allow viewing older versions 2023-12-06 15:32:40 -05:00
Abi Raja
8a48c6d898 add TODO 2023-12-06 15:16:58 -05:00
Abi Raja
f216146bbd initial history implementation 2023-12-06 14:49:09 -05:00
Abi Raja
c5e0a536ce update openai status 2023-12-06 13:36:23 -05:00
Abi Raja
0e51e59554 update status 2023-12-06 12:04:30 -05:00
Abi Raja
d72912f11c Merge branch 'main' into hosted 2023-12-06 12:04:20 -05:00
Abi Raja
328b75c949 update status 2023-12-06 12:04:12 -05:00
Abi Raja
91934ecae9 add note about OpenAI API 2023-12-06 12:03:44 -05:00
Abi Raja
67e1d2b3d3 Merge branch 'main' into hosted 2023-12-06 10:10:02 -05:00
Abi Raja
c275e945fc show credit usage to the user 2023-12-06 10:09:09 -05:00
Abi Raja
2ba2a79e2f move AccessCodeSection to a separate component 2023-12-06 09:16:21 -05:00
Abi Raja
afb1b3b036 track email conversion rates with plausible 2023-12-05 11:42:59 -05:00
Abi Raja
0f7425eb3b Merge branch 'main' into hosted 2023-12-05 11:36:28 -05:00
Abi Raja
30e6b07bb1 add list of logos 2023-12-05 11:36:17 -05:00
Abi Raja
b8b5e933bd Merge branch 'main' into hosted 2023-12-03 19:59:25 -05:00
Abi Raja
23aa6ebc63 tweak 2023-12-03 19:52:53 -05:00
Abi Raja
1081c100aa update price copy 2023-12-03 12:53:22 -05:00
Pranshu Gupta
3c90e16d3d
Update UrlInputSection.tsx 2023-12-03 13:06:59 +05:30
Abi Raja
e031662b13 tweak price 2023-12-02 09:39:08 -05:00
Abi Raja
4b77361494 test another price 2023-11-30 23:29:09 -05:00
Abi Raja
0d9f93ea1f add plausible tracking for OutputSettings 2023-11-30 18:10:38 -05:00
Abi Raja
b7d808b227 Merge branch 'main' into hosted 2023-11-30 17:46:13 -05:00
Abi Raja
f51e70d701 redo how output settings is configured 2023-11-30 15:58:01 -05:00
Abi Raja
45a64326f6 Merge branch 'main' into pr/122 2023-11-30 13:56:38 -05:00
Abi Raja
0fd6d74138 add note for "Code Editor" theme 2023-11-30 12:42:31 -05:00
Abi Raja
0c532e528c don't show OpenAI Base URL setting on hosted version 2023-11-30 11:39:30 -05:00
Abi Raja
d9264a254a improve copy 2023-11-30 11:37:54 -05:00
Abi Raja
339f07373a Merge branch 'main' into pr/62 2023-11-30 11:36:39 -05:00
Abi Raja
b98bcb6e09 make settings modal not too big 2023-11-30 08:59:51 -05:00
Abi Raja
514688a1c0 Merge branch 'main' of https://github.com/kachbit/screenshot-to-code into pr/115 2023-11-30 08:35:46 -05:00