Commit graph

2160 commits

Author SHA1 Message Date
Danny Avila
6a8d4e43db feat: refresh button 2024-09-01 23:55:29 -04:00
Danny Avila
e39a3bafec feat: auto switch to code, adjust prompt, remove unused code 2024-09-01 23:55:07 -04:00
Danny Avila
b1eb069931 feat: autoswitch to preview 2024-09-01 23:54:37 -04:00
Danny Avila
7b20679463 feat: Add auto scrolling to CodeMarkdown (artifacts) 2024-09-01 23:54:13 -04:00
Danny Avila
efbed07569 chore: preprocess artifacts for now 2024-09-01 23:53:46 -04:00
Danny Avila
37002edbba chore: remove thinking for now 2024-09-01 23:53:23 -04:00
Danny Avila
ee126a2350 style: temporarily remove scrolling, add better styling 2024-09-01 23:53:01 -04:00
Danny Avila
e026fc7009 fix: side panel resizing crashes 2024-09-01 23:52:33 -04:00
Danny Avila
8f33fd5cc1 refactor: resizable panel order props 2024-09-01 23:51:09 -04:00
Danny Avila
b16079915d chore: bump react-resizable-panel 2024-09-01 23:49:28 -04:00
Danny Avila
336c7ad21a refactor: abstract out components 2024-09-01 23:48:55 -04:00
Danny Avila
0dd0354a4e feat: memoize ArtifactPreview, add html support 2024-09-01 23:48:29 -04:00
Danny Avila
10f436521e style: remove ArtifactButton inline-block styling 2024-09-01 23:47:34 -04:00
Danny Avila
ac352c9878 refactor: update UI artifact toggle label to match localization key 2024-09-01 23:47:05 -04:00
Danny Avila
e3bcfc560d feat: artifacts system prompt in backend 2024-09-01 23:46:32 -04:00
Danny Avila
fa0032d91d feat: reset artifact state on conversation change 2024-09-01 23:46:09 -04:00
Danny Avila
8c1db607e5 refactor: nullify artifact state and reset on empty conversation 2024-09-01 23:45:38 -04:00
Danny Avila
bedc91adcd refactor: remove artifactIdsState 2024-09-01 23:45:04 -04:00
Danny Avila
2ac9fd3aed refactor: apply growth to artifact frame so artifact preview can take full space 2024-09-01 23:44:36 -04:00
Danny Avila
dc5b597a64 refactor: Rename CodePreview component to ArtifactButton 2024-09-01 23:44:02 -04:00
Danny Avila
48ddf4039e feat: global state for current artifact Id and set on artifact preview click 2024-09-01 23:43:24 -04:00
Danny Avila
f2a516db02 refactor: optimize Markdown rendering and add support for code artifacts 2024-09-01 23:42:52 -04:00
Danny Avila
f1fb8e991c wip: remove thinking text and artifact formatting if empty 2024-09-01 23:42:14 -04:00
Danny Avila
15068fdfab refactor: optimize ordering of artifacts and activate latest artifact in Artifacts component 2024-09-01 23:41:42 -04:00
Danny Avila
4c810fa5db feat: update to latest, use update time for ordering 2024-09-01 23:40:56 -04:00
Danny Avila
8ce70a41b7 refactor: add order prop to Artifact 2024-09-01 23:40:27 -04:00
Danny Avila
068ec2fceb refactor: optimize ordering of artifacts and add latest artifact activation in Artifacts component 2024-09-01 23:40:01 -04:00
Danny Avila
e2e42db24a refactor: optimize ordering of artifacts in Artifacts component 2024-09-01 23:39:10 -04:00
Danny Avila
5be1ffe490 feat: first pass streaming updates 2024-09-01 23:38:38 -04:00
Danny Avila
85711d8ada feat: Add Copy Code button to Artifacts component 2024-09-01 23:38:00 -04:00
Danny Avila
5bf61c3cdf feat: artifacts + shadcnui PROBLEMATIC COMMIT 2024-09-01 23:37:33 -04:00
Danny Avila
9abf941085 refactor: typing and make latest artifact active if the number of artifacts changed 2024-09-01 22:35:09 -04:00
Danny Avila
8e1807d02b fix: only set artifact if there is content 2024-09-01 22:34:29 -04:00
Danny Avila
66d5a1a368 feat: Add useEffect hook to Artifacts component for visibility control, slide in animation 2024-09-01 22:33:44 -04:00
Danny Avila
c8d9af42e5 fix: package markdown fixes 2024-09-01 22:03:34 -04:00
Danny Avila
b3e3788261 style: code styling 2024-09-01 22:03:02 -04:00
Danny Avila
0a54489842 feat: second pass 2024-09-01 22:02:31 -04:00
Danny Avila
6ee70acdc5 style: Add Radix Tabs, more styling changes 2024-09-01 22:01:54 -04:00
Danny Avila
cd749a2bcb first pass styling 2024-09-01 22:01:25 -04:00
Danny Avila
d86d4f5c17 refactor: add throttling 2024-09-01 22:00:56 -04:00
Danny Avila
fc6eb9f77f refactor: first pass rewrite 2024-09-01 22:00:23 -04:00
Danny Avila
85df66265d chore: revert markdown to original component + new artifacts rendering 2024-09-01 21:59:33 -04:00
Danny Avila
801b0de49b WIP first pass remark-directive 2024-09-01 21:52:49 -04:00
Danny Avila
24d74044e4 WIP: artifacts first pass 2024-09-01 21:52:06 -04:00
Danny Avila
0340b4acb9 chore: Update npm dependency to @codesandbox/sandpack-react@2.18.2 2024-09-01 21:50:23 -04:00
Danny Avila
8c162842d6 feat: Add CodeArtifacts component to Beta settings tab 2024-09-01 21:49:48 -04:00
Danny Avila
80e1bdc282
v0.7.5-rc1 (#3807) 2024-08-27 15:01:41 -04:00
Danny Avila
a267f6e0da
🔍 fix: USE_REDIS condition, Markdown list counter, code highlights (#3806)
* fix: markdown rehype highlight accidental removal

* fix: USE_REDIS condition check

* fix: markdown list counter
2024-08-27 14:49:43 -04:00
Danny Avila
f742b9972e
🏷️ chore: Add Unofficial Naming Variation for Claude-3.5-Sonnet (#3800) 2024-08-27 09:07:04 -04:00
Danny Avila
bbaa0ee1cf
🚚 chore: Remove client-dist volume from deploy-compose.yml (#3799) 2024-08-27 07:18:47 -04:00