Commit History
-
set button transition to be local so it doesn't prevent page unmounting (#147)
Adrien DenatUnverified signaturea503e4d -
✨ Retry messages (#121)
Eliott C +1: victorUnverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com>4a6603b
-
✨ Title edit (#135)
Eliott C +1: victorUnverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com>3a63ab8 -
🚨 Small cleanup (#133)
Eliott C +1: victorUnverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com>9db9b26 -
Fix line break markdown (#131)
Adrien DenatUnverified signature* replace all <br> tags by \n * fix line breaks in markdown not being transformed to <br> tags * make sure to also match things like <Br>cad5ba6 -
Add ethics modal (#129)
Unverified signature* add ethics modal * bind ethic modal to local storage + add transition * tweaks * set app version in an env var * hide version if env var is undefined * alignement --------- Co-authored-by: Adrien Denat <oi@adriendenat.com>f437e64 -
wording (#130)
Unverified signature959e78e
-
Add tailwind prettier (#123)
Adrien DenatUnverified signature* add tailwind-prettier plugin * lint all project filesb2387f6 -
Stop generation button (closes #86) (#88)
Adrien Denat +1: coyotte508Unverified signatureCo-authored-by: coyotte508 <coyotte508@gmail.com>2772555 -
use a custom event instead of requestSubmit as it's not supported in … (#112)
Adrien Denat +1: Eliott C.Unverified signature* use a custom event instead of requestSubmit as it's not supported in Safari 14 * add typings on createEventDispatcher Co-authored-by: Eliott C. <coyotte508@gmail.com> --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>74815cb -
Fix intro layout mobile (#107)
Adrien Denat +1: Eliott C.Unverified signature* take ChatIntroduction outside of chatmessages so it doesn't scroll down automatically * fix chat intro not scrollable on mobile viewport * Revert "fix chat intro not scrollable on mobile viewport" This reverts commit 6f83f2eb6109614c487051573e8d72bebb13b425. * Revert "take ChatIntroduction outside of chatmessages so it doesn't scroll down automatically" This reverts commit 812f581271a7af73e38afdc1f90623fd1189e687. * update snapScrollToBottom so it only triggers if dependency is truthy * fix ambiguious boolean type Co-authored-by: Eliott C. <coyotte508@gmail.com> --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>9a2f641
-
Tiny tweak to nav menu (#103)
Unverified signature* Update NavMenu.svelte * swap privacy and about --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com>b8d13ba -
fixup! ♻️ Simplify / improve token removal
coyotte5088e370ca -
♻️ Simplify / improve token removal
coyotte508189b280 -
Toast errors (#91)
Unverified signatureCo-authored-by: Julien Chaumond <julien@huggingface.co> Co-authored-by: Adrien Denat <oi@adriendenat.com>fe2328e -
🎨 Remove more stopwords (#102)
Eliott CUnverified signaturea11cd21 -
`/privacy` page, rendered from markdown (#100)
Unverified signature* /privacy from markdown * improve style... * ♻️ Simpler loading of PRIVACY.md * improve style * Better formatting * 💄 Better scrolling * 🔥 Remove file committed by mistake * Apply suggestions from code review Co-authored-by: Omar Sanseviero <osanseviero@gmail.com> --------- Co-authored-by: coyotte508 <coyotte508@gmail.com> Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>97b65ef -
Bottom nav design (#101)
Unverified signature* add UIM icons * add bottom nav * privacy last * Revert "add UIM icons" This reverts commit 2f6ea3678abe173bbce20befedb34c94c3c84c49. * remove iconsc67d260 -
🩹 Do not flash endoftext (#89)
Eliott CUnverified signature9b20b88 -
Update examples wording (#96)
Unverified signature* Update examples wording * wording * wordingc922d39 -
✨ 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 -
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 -
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
-
layout misc
dea9425
-
🐛 Remove sanitized < (#71)
Eliott CUnverified signature4f1405c -
✨ Remove endoftext (#70)
Eliott CUnverified signature0abf663
-
fix messages width
2d533a9 -
avoid huge titles
5c5a098 -
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 -
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 -
💄 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