Commit Graph

274 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
fa7ffdfaeb add a vue tailwind generation option 2024-01-08 13:50:33 -08:00
Abi Raja
e32877f3a4 add some comments 2023-12-22 12:18:19 -05:00
Abi Raja
9b59b2d595 disable pasting which is causing a flurry of requests 2023-12-21 10:56:47 -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
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
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
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
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
68a8d2788d improve tests and catch history tree generation errors better 2023-12-08 16:48:34 -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
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
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
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
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
30e6b07bb1 add list of logos 2023-12-05 11:36:17 -05:00
Abi Raja
23aa6ebc63 tweak 2023-12-03 19:52:53 -05:00
Pranshu Gupta
3c90e16d3d
Update UrlInputSection.tsx 2023-12-03 13:06:59 +05:30
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
Abi Raja
ea10e191bb Merge branch 'main' into pr/115 2023-11-30 08:35:25 -05:00
kacher
f4ecafad02
Merge branch 'main' into main 2023-11-29 17:46:01 -07:00
Abi Raja
9d9038f837 add open graph tags 2023-11-29 18:04:21 -05:00
Abi Raja
5c3fc7df39 add email support when access code is set 2023-11-29 16:43:36 -05:00
Abi Raja
562eee8a32 don't show onboarding note when access code is set 2023-11-29 14:45:20 -05:00
Abi Raja
af2fa8d8ab update onboarding note 2023-11-29 14:37:32 -05:00
Abi Raja
78a10c9571 add an accessCode for the hosted version 2023-11-29 11:16:57 -05:00
Abi Raja
56e6f1f608 show output settings at all times 2023-11-29 04:48:55 -05:00
Abi Raja
2ad9780e80 minor visual improvements 2023-11-29 04:43:07 -05:00
Abi Raja
58298a15e7 rename vanilla to "no framework" 2023-11-29 04:38:04 -05:00
Abi Raja
e2c1bd2537 improve UI for code output selection 2023-11-29 04:34:01 -05:00
Abi Raja
a839e4a239 add a better display string for output settings 2023-11-29 04:13:22 -05:00
dialmedu
7e504ebbdd add select UI Component and check options 2023-11-29 00:09:23 -05:00
kacher
ffbc89f945
Merge branch 'main' into main 2023-11-28 19:40:59 -07:00
Abi Raja
89db70daca show sidebar on mobile and set proper z index 2023-11-28 21:22:59 -05:00
kacher
7c3f06bdd2 remove invalid code 2023-11-29 02:19:53 +00:00
kachbit
14dbca8c07 fix conflict 2023-11-28 17:53:50 -08:00
kacher
7a3b36621b
Merge branch 'main' into main 2023-11-28 18:48:17 -07:00
Abi Raja
a3b8a78a8d enable output settings on hosted version 2023-11-28 20:37:05 -05:00
Abi Raja
5a91292dcd update copy 2023-11-28 17:48:02 -05:00