Commit Graph
31 Commits
Author SHA1 Message Date
Danny Liu cf44209730 refac: code style 2024-03-27 16:19:02 -07:00
Danny Liu dfeadf9595 ordering of themes in select menu, group dark themes together 2024-03-27 16:05:37 -07:00
Danny Liu 25c71d8ac2 Update theme options and persist OLED dark theme if selected 2024-03-27 16:04:34 -07:00
Danny Liu c24d9d3bea Add 'oled' theme option to themes list 2024-03-27 11:23:00 -07:00
Danny Liu 976c714063 feat: OLED dark theme 2024-03-27 10:50:30 -07:00
Danny Liu 3c01932a78 run prettier 2024-03-17 01:00:38 -07:00
Danny Liu a57586a2b7 use IIFE in app.html to prevent FOUC 2024-03-17 00:25:33 -07:00
Danny Liu 41cb6d7a54 remove duplicate "System" in select menu 2024-03-17 00:06:59 -07:00
Danny Liu 549408d808 Add setContext import to +layout.svelte 2024-03-16 23:59:09 -07:00
Danny Liu f25a967a0b add system theme ⚙️ option to select menu 2024-03-16 23:54:18 -07:00
Danny Liu f55dae3027 fix merge conflict 2024-03-16 23:27:08 -07:00
Danny Liu db0712aefd Merge branch 'dev' into feat/system-wide-theme 2024-03-16 23:23:56 -07:00
Danny Liu f1716f45b9 add event listener in app.html to handle system theme changes 2024-03-16 23:14:38 -07:00
Danny Liu 6f3acb347d update theme handling and persist selection using Svelte store 2024-03-16 23:14:13 -07:00
Danny Liu 27153ddb03 remove unused variable 2024-03-09 13:12:15 -08:00
Danny Liu b94dc767ff implement system wide light/dark mode option 🔦 2024-03-09 12:17:47 -08:00
Danny Liu 03907f9a8a check if deleted message response has sibling responses for multi model chats 2024-03-04 21:23:41 -08:00
Danny Liu 8c01197483 refac: reassign grandchildren of deleted message as children of parent message 2024-03-04 12:34:14 -08:00
Danny Liu 2250387382 retain the message in history object 2024-03-02 23:31:03 -08:00
Danny Liu f9f3fe5ec0 refac delete logic 2024-03-02 23:23:49 -08:00
Danny Liu c42ac39dc4 Recursively set delete=true flag for all children messages 2024-02-20 19:51:34 -08:00
Danny Liu a655ccdd06 only cancel chat completion if the deleted message is the most recently sent 2024-02-20 16:35:44 -08:00
Danny Liu 95b8edf6b3 use cancelChatCompletion API call instead of stopResponse function 2024-02-20 16:00:57 -08:00
Danny Liu 51b594036d invoke stopResponse() if user deletes message during response generation 2024-02-20 15:27:47 -08:00
Danny Liu 632882a511 add message filtering in +page.svelte to filter out deleted messages in payload 🗑️ 2024-02-20 15:12:50 -08:00
Danny Liu 941bcdc2e5 Refactor deleteMessage function and update deleteMessagePair usage 2024-02-20 15:12:06 -08:00
Danny Liu cd3cecd2f0 filter out deleted messages in payload 🗑️ 2024-02-20 13:53:47 -08:00
Danny Liu 60c99a44f8 remove user message and response from DOM as pair 2024-02-20 13:24:22 -08:00
Danny Liu 32c7971300 add isFirstMessage prop to UserMessage component 2024-02-18 17:03:40 -08:00
Danny Liu ab57cdd665 update response message tooltip naming 2024-02-18 10:16:41 -08:00
Danny Liu 2eaad82a91 show prompt/s in perf info ⏰ 2024-02-18 10:10:57 -08:00