Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save chats #21

Merged
merged 27 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
594dda9
Update deep-chat-dev, add save (single) chat
jackitaliano Feb 6, 2024
8752bce
Initial chat history / multiple chats (WIP)
jackitaliano Feb 7, 2024
012842b
cleanup some, add renaming of chats
jackitaliano Feb 7, 2024
8b32f31
add default thread (when none found)
jackitaliano Feb 7, 2024
b27e8bc
ui changes
jackitaliano Feb 7, 2024
080a3f2
better ui and transitions
jackitaliano Feb 8, 2024
9674db0
fix margins
jackitaliano Feb 8, 2024
66c055e
testing iOS like delete (WIP)
jackitaliano Feb 8, 2024
8afc2b2
update delete functionality with swiping
jackitaliano Feb 9, 2024
84cf1ae
change delete ui to drag more like messages
jackitaliano Feb 9, 2024
22a4df1
fix mouseup/touchup bugs
jackitaliano Feb 9, 2024
4a27964
Merge branch 'main' into save-chats
jackitaliano Feb 9, 2024
5bf4fc5
adjust height to prevent scrollbar
jackitaliano Feb 9, 2024
8504649
display none on welcome, fix flickering
jackitaliano Feb 9, 2024
348f278
fixing loading when no api key (WIP)
jackitaliano Feb 9, 2024
3af6d20
chats works fully, figuring out rerender deep-chat to update width. r…
jackitaliano Feb 10, 2024
31cb5b6
stable save chats
jackitaliano Feb 10, 2024
a1906b2
fixed initial login, updated some spacing
jackitaliano Feb 11, 2024
c1e7dab
move utils into folder
jackitaliano Feb 12, 2024
4d0c99c
update deep-chat-dev to resolve `function_handler` issue
jackitaliano Feb 12, 2024
eaee375
move bidara prompts/funcs into src/assistant/
jackitaliano Feb 12, 2024
61b28c7
added back default browser styles that tailwind removed.
bruffridge Feb 13, 2024
9fb10dc
moved stylesheet to index.html to avoid styles quickly changing from …
bruffridge Feb 13, 2024
17aa5ee
style fixes.
bruffridge Feb 14, 2024
676a478
changed the button style and height of chats in sidebar.
bruffridge Feb 14, 2024
40f3b36
minor style tweaks.
bruffridge Feb 14, 2024
ad2ad5b
Merge branch 'main' of github.com:nasa-petal/bidara-deep-chat into sa…
bruffridge Feb 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add default thread (when none found)
  • Loading branch information
jackitaliano committed Feb 7, 2024
commit 8b32f31b0954328e065142e823da03401dd9ced4
1 change: 1 addition & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

onMount(async () => {
keyAsstAndThread = await getKeyAsstAndThread();
threads = getThreads();
chat_name = keyAsstAndThread[2]?.name ? keyAsstAndThread[2].name : "";
});

Expand Down
2 changes: 2 additions & 0 deletions src/threadUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export async function getThread() {

setThreads([new_thread]);
setThread(new_thread);

return new_thread;
}

return null;
Expand Down