Commit History
-
🐛 Fix generating bug (#68)
Eliott CUnverified signature833fd87 -
Merge branch 'main' of https://github.com/huggingface/chat-ui
e287e2f -
add community feedback to nav
e6085e5 -
fix tokens keeping coming even when changing conversation (#62)
Adrien DenatUnverified signature4f431ff -
fix messages width
2d533a9 -
avoid huge titles
5c5a098 -
Auto-naming convos by summarizing them (#58)
Unverified signature* Auto-naming convos by summarizing them * Ok let's do it only on first message then * revamp * location.reload for now3e9f86e -
redirect "New Chat" to /
Adrien Denat690db3e -
✨ Can chat in shared convo (#55)
Eliott CUnverified signature0bfcf81 -
🐛 Fix share url
coyotte508c878a7d -
Prettier update (#54)
Unverified signature* Update .prettierrc * prettify everthing prettify everything5da61b4 -
UI tweaks (#53)
Unverified signature* logo * add some icons * size tweaks * layout17dba7d -
remove unneeded hack in main.css (#51)
Adrien DenatUnverified signature10f1462 -
make sure conversations scroll back down on page change (#52)
Adrien DenatUnverified signature741a217 -
add loading icon + pending state when assistant message is pending (#48)
Adrien Denat +1: Eliott C.Unverified signature* add loading icon + pending state when assistant message is pending * remove dead code Co-authored-by: Eliott C. <coyotte508@gmail.com> * add loading to messages if a token takes a while to come * add dom utils --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>3aa8136 -
redirect /conversation -> / (#50)
Adrien DenatUnverified signature* redirect /conversation -> / * don't use url.origin in redirect7b62aec -
refactor syntax highlighting, more performant + avoid flickering on copy to clipboard button (#49)
Adrien DenatUnverified signature697285c
-
✨ Model URL is dynamic
coyotte5085860c9b -
🔧 Change cookie name
coyotte50841b9769 -
🔧 Configure a base path (#47)
Eliott CUnverified signature67867a9 -
auto-formatting (#45)
Unverified signature4c70bcc -
♻️ Duplicate convos in DB when they are shared (#44)
Eliott CUnverified signature76d4779 -
💄 Preserve whitespace in user message (#39)
Eliott CUnverified signature7b1d57f -
rm theme override (#42)
Unverified signature10721c1 -
add basic html sanitizing (#40)
Adrien Denat +1: Eliott C.Unverified signature* add basic html sanitizing * fix prose overriding styling of code block * lazy load HTML sanitizer * simplify sanitization * make sure sanitizedContent is kicking in on prop changes Co-authored-by: Eliott C. <coyotte508@gmail.com> * fix reactive statement not running on SSR --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>0ca99f1 -
✨ Make chat intro buttons work (#38)
Eliott CUnverified signatureb7f9ccb -
add icons lib (#41)
Unverified signatureb7167b0 -
🐛 Model only returns output
coyotte5082aecb80 -
🐛 Fix when model sends back prompt
coyotte508f00349e -
Highlight current convo + fix sending bug (#37)
Eliott CUnverified signature7482c01 -
Adrien syntax highlighting ssr (#32)
Adrien DenatUnverified signature* only show copy to clipboard button on hover of code block * only highlight code on client-side to support parsed markdown on SSR4a0bbdf -
inference params from @OlivierDehaene 's Space (#34)
Unverified signature* light theme by default to be consistent with hf.co... * params from @OlivierDehaene's Space * small todo7f827cf -
✨ Delete convo (#36)
Eliott CUnverified signature1a14c61 -
Share convos (#35)
Eliott CUnverified signaturefc15a4c -
forgot to commit this after file rename
Adrien Denatfa4bfea -
Syntax highlighting + copy to clipboard button (#30)
Adrien Denat +1: Eliott CUnverified signature* add highlight.js for syntax highlighting + add CodeBlock and CopyToClipboard components * use clipboard.js for CopyToClipboard button + add Tooltip component * do not include Tailwind classes in template since it can't parse them * remove hack to strip model messages "endoftext" for now since it breaks code blocks * move styles.css to /styles/main.css * fix import + remove unused component * auto detect language if not returned by model * remove clipboard.js dependency and use native API * rename icons with Icon prefix --------- Co-authored-by: Eliott C <coyotte508@gmail.com>8811ee0 -
💡 Remove outdated todo
coyotte508e6bc023 -
🩹 Next chat links to home page
coyotte508ac94c73 -
✨ Save messages in backend (#31)
Eliott CUnverified signaturead02fa3 -
💄 Add prose (#28)
Eliott CUnverified signaturee5eb656 -
🩹 Fix proxified headers + remove guard in hook (#27)
Eliott CUnverified signature3ddb8c6
-
add basic markdown parsing using Marked (#18)
Adrien Denat +1: Eliott CUnverified signatureCo-authored-by: Eliott C <coyotte508@gmail.com>c3aa4e3 -
🐛 Fix text generation
coyotte50891e621a -
Split app structure & create convos (#20)
Eliott CUnverified signature1b66f8d -
✨ Add cookie (#17)
Eliott CUnverified signature067b52a -
Chat snap scroll bottom (#10)
Adrien DenatUnverified signature* only snap scroll to bottom if user didn't scroll up * add scroll to bottom button when user scrolls up in the chat * remove unecessary export * rename scrollToBottom action to snapScrollToBottom + remove anim for now as it's stutteringb37570d -
Add MongoDB (#14)
Eliott CUnverified signaturecad3e14 -
🔨 Add VSCode config to lint/prettier on save
coyotte508ed0f702 -
🔧 Standardize environment config (#13)
Eliott CUnverified signature3ebd805 -
Fix textarea submit not working on Safari <16 (#9)
Adrien DenatUnverified signature* fix textarea not submitting on "enter" on Safari <16 * fix flick on page load on textarea5b9c242