Commit History
-
Update examples wording (#96)
Unverified signature* Update examples wording * wording * wordingc922d39 -
⚡️ Limit the number of tokens sent to the backend (#93)
Eliott CUnverified signature3c650ed -
✨ Link to hf.co/chat from logo (#94)
Eliott CUnverified signature9bebf7e -
Correct model name and model id (#92)
Unverified signature* Update model name & model id * Facultative commit cc @gary149714cc60 -
🥅 Display more errors (#90)
Eliott CUnverified signature34857c4 -
Styling improvements (#82)
Adrien DenatUnverified signature* add custom scrollbar everywhere * fix scroll to bottom button positioning + add hover * fix non-scrollable transparent area above input text * replace slate color by gray * add custom scrollbars for codeblock * fix chat messages overflowing on small viewports * fix codeblock scrollbar color on light mode + remove !important * fix send icon hover + make disabled buttons default cursor0714764 -
add v0
1ee9053 -
prose-sm on mobile
837d314
-
top nav bg
2e48863 -
mobile share
1cb774f -
nav branding (#84)
Unverified signature* nav branding * spacingf91689a -
🔧 Configurable model name under text input (#81)
Eliott CUnverified signature8ba05f1 -
Fix scroll to bottom (#78)
Adrien Denat +1: Eliott C.Unverified signature* fix snap scroll to bottom not updating properly to bottom when switching conversation * scroll to bottom when a user sends a new message ( fixes #75) * update comment to be detailing the scroll offset Co-authored-by: Eliott C. <coyotte508@gmail.com> * use tick() instead of afterUpdate --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>77c7055 -
gradient
5be0e20 -
wording
1d0d9b3 -
Fix mobile height (#79)
Unverified signature* 100% screen on mobile * examples size * send button ios1c8195c -
add mobile menu (#64)
Adrien Denat +3: victor, julien-c, Eliott CUnverified signature* add mobile menu * fix * Auto-naming convos by summarizing them (#58) * Auto-naming convos by summarizing them * Ok let's do it only on first message then * revamp * location.reload for now * avoid huge titles * fix messages width * add community feedback to nav * fix tokens keeping coming even when changing conversation (#62) * favicon * 🐛 Fix generating bug (#68) * 🐛 Fix redirect after delete * ✨ Remove endoftext (#70) * 🐛 Remove sanitized < (#71) * 🩹 Change 301 to 302 in case we want to use the route for something else * 🩹 Use passed fetch cc @julien-c When using @huggingface/infernece in the backend we'll need to make it support custom fetch as well * refactor mobile menu + improve accessibility * fix missing menu on md size + regression share button on hover * fix chat title truncate on mobile * fix layout max-width on mobile * use a single event dispatcher instead of 2 * add missing type="button" …4dae10f -
Head meta (#77)
Unverified signature* update wording * add basic meta229d4b4 -
Add disclaimer and share (#76)
Unverified signature* disclaimer and share * ✨ Share from multiple routes * Update src/lib/components/chat/ChatWindow.svelte --------- Co-authored-by: coyotte508 <coyotte508@gmail.com>9405a81 -
♻️ Better invalidation mechanism (#72)
Eliott CUnverified signature831f161
-
layout misc
dea9425
-
🐛 Remove sanitized < (#71)
Eliott CUnverified signature4f1405c -
✨ Remove endoftext (#70)
Eliott CUnverified signature0abf663
-
fix messages width
2d533a9 -
avoid huge titles
5c5a098 -
✨ Can chat in shared convo (#55)
Eliott CUnverified signature0bfcf81 -
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 -
refactor syntax highlighting, more performant + avoid flickering on copy to clipboard button (#49)
Adrien DenatUnverified signature697285c
-
✨ Model URL is dynamic
coyotte5085860c9b -
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 -
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 -
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 -
✨ Save messages in backend (#31)
Eliott CUnverified signaturead02fa3 -
💄 Add prose (#28)
Eliott CUnverified signaturee5eb656
-
add basic markdown parsing using Marked (#18)
Adrien Denat +1: Eliott CUnverified signatureCo-authored-by: Eliott C <coyotte508@gmail.com>c3aa4e3 -
Split app structure & create convos (#20)
Eliott CUnverified signature1b66f8d -
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