Commit Graph

329 Commits

Author SHA1 Message Date
Abi Raja
d4e182cfe0 update name of stack 2024-06-27 14:58:14 +08:00
Abi Raja
0200274e61 Merge branch 'main' into pr/227 2024-06-27 14:44:24 +08:00
Abi Raja
901ce332a5 update default model to Claude 3.5 Sonnet 2024-06-26 16:52:07 +08:00
Abi Raja
9dfb0dc5b8 do not allow empty updates 2024-06-26 13:39:22 +08:00
Abi Raja
5843e75760 enable select and edit for Claude 3.5 2024-06-25 06:11:01 +08:00
Abi Raja
f75294ca64 update better model banner to include sonnet 3.5 2024-06-22 19:41:56 +08:00
Abi Raja
49a24d8b0c support Claude Sonnet 3.5 2024-06-22 19:39:49 +08:00
Abi Raja
392b9849a2
Merge pull request #355 from abi/select-and-edit
Add "Select and Edit" functionality for easier edits
2024-06-05 20:59:57 -04:00
Abi Raja
f7c9209d18 remove unused code 2024-06-05 20:49:31 -04:00
Abi Raja
1c13897f45 remove dummy state 2024-06-05 20:46:52 -04:00
Abi Raja
465dc64439
Merge pull request #317 from MarcusLeoTKM/nodeversion
Changed node version from 20.9 to 22
2024-06-05 15:47:44 -04:00
Naman Dhingra
a73b1f6dc3 modify frontend dockerfile to skip puppeteer download 2024-06-05 00:31:21 +05:30
Abi Raja
9fe32ba6e8 move inSelectAndEditMode to inside EditPopup 2024-05-31 21:39:12 -04:00
Abi Raja
e1265b2b75 make enter submit the change 2024-05-31 18:45:45 -04:00
Abi Raja
5f3868f3c9 fix bug with focusing textarea 2024-05-31 18:36:11 -04:00
Abi Raja
423c74bdc9 focus the textarea when the popup is visible 2024-05-31 18:33:42 -04:00
Abi Raja
3fbb8f074a reset should disable select and edit mode 2024-05-31 18:27:47 -04:00
Abi Raja
a7c905a301 update icon and text 2024-05-31 18:22:30 -04:00
Abi Raja
0959441834 Merge branch 'main' into add-anthropic-key 2024-05-31 14:07:50 -04:00
Abi Raja
8e579e425e clean up settings dialog look 2024-05-31 13:51:43 -04:00
Abi Raja
9cfcf928d0 isolate functionality
use zustand to share state rather than prop drilling

isolate more functionality away into a separate component
2024-05-30 10:43:12 -04:00
Abi Raja
9e2cbdce94 Merge branch 'main' into select-and-edit 2024-05-30 09:38:24 -04:00
Abi Raja
9d1fbc9b23 add zustand and create a dummy app store that isn't used yet 2024-05-30 09:38:15 -04:00
Abi Raja
43ae003c83 clean up code even further 2024-05-29 17:28:09 -04:00
Abi Raja
2709312943 move more of the code into EditPopup 2024-05-29 16:53:36 -04:00
Abi Raja
b0e7ae35af clean up more of the code 2024-05-29 16:36:20 -04:00
Abi Raja
82132d57aa improve look of popup 2024-05-29 14:54:50 -04:00
Abi Raja
608ba5cc6f improve x and y position 2024-05-29 14:48:01 -04:00
Abi Raja
97cdb093a5 basic UI for selecting and editing 2024-05-29 14:40:46 -04:00
Abi Raja
9882447586 add comments 2024-05-21 10:38:33 -04:00
Abi Raja
55a0a6c444 minor fixes 2024-05-20 16:22:41 -04:00
Abi Raja
f01403d480 Merge branch 'main' into qa-testing 2024-05-20 16:11:55 -04:00
Abi Raja
df38041e77 attempt to test import from code 2024-05-20 16:08:33 -04:00
Abi Raja
726ecafd35 fix up update tests 2024-05-20 15:51:19 -04:00
Abi Raja
5c598daa3c add example for jest env 2024-05-20 15:46:30 -04:00
Abi Raja
ce82fc87c4 read fixtures path from env var 2024-05-20 15:44:22 -04:00
Abi Raja
a3104fab1a make env vars work 2024-05-20 15:24:16 -04:00
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
9e3614549c add GPT4o message 2024-05-14 11:48:07 -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
f9c4dd9c7c add react + gpt-4 turbo warning 2024-04-18 12:49:24 -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
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
9e1bcae545 remove access code/token functionality 2024-04-10 14:51:15 -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
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
Julian Toro
7c1fb7a54d Add HTML/CSS system prompt and update stack descriptions 2024-02-02 10:19:52 -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