Commit Graph

249 Commits

Author SHA1 Message Date
Dasun Nimantha 4d7adf477a
fix: In light mode, the arrow in the "scroll to bottom" icon is difficult to see #299 (#304) 2023-03-30 03:52:22 -06:00
Mckay Wrigley e020de47ce change messaging 2023-03-29 15:21:50 -06:00
Mckay Wrigley 85c4f88a06
Update README.md 2023-03-29 10:10:55 -06:00
Redon 6ef83b0cb6
fix: translation omission (#281) 2023-03-28 21:11:16 -06:00
Thomas LÉVEIL 00c6c72270
feat: add DEFAULT_MODEL environment variable (#280)
*  feat: add DEFAULT_MODEL environment variable

* set the model maxLength setting in the models definition

* set the model tokenLimit setting in the models definition
2023-03-28 21:10:47 -06:00
Dasun Nimantha 3f82710cdd
chore: added Sinhala language locales (#276) 2023-03-28 14:57:20 -06:00
Mohammed Sohail b2ef40cf6f
Fix invalid Tailwind property (#275) 2023-03-28 14:57:10 -06:00
Mostafa Higazy 52d47292ad
Adding arabic translation (#274) 2023-03-28 12:55:35 -06:00
Ernesto Barrera aefeac2902
New JSON translation file for Spanish (#270)
Translation to Spanish of the prompts custom template bar
2023-03-28 09:44:24 -06:00
Jungley baca00c59e
doc: update doc about Docker (#264)
maybe fix #259
2023-03-28 08:27:54 -06:00
Syed Muzamil a70ae8799d
fix: website crash when typing / followed with non prompt name (#262)
* fix: froward slash crash

* added the rounded corners when editing folder/chat
2023-03-28 08:00:07 -06:00
Dasun Nimantha cd49445491
style: changed scroll icon size via size attribute as suggested (#263) 2023-03-28 07:59:31 -06:00
Syed Muzamil abdcd4508d
fix: layout shifting on small devices (#258)
* fix: overlap between plus and prompt menu icon

* fix: prompt sidebar not showing on small devices

* fix: layout shifting on small devices when there is a code block
2023-03-28 04:23:34 -06:00
Simon Holmes 3749c9b2af
chore: migrate to vitest for 10x faster tests (#257)
* chore migrate to vitest

* chore: cleanup jest stuff

* chore: install the coverage dep
2023-03-28 04:22:58 -06:00
Mckay Wrigley 11d6172e95
Update README.md 2023-03-28 03:22:24 -06:00
Mckay Wrigley 1f9d17f8bf
scroll btn (#256)
* feat: added scroll down button

when the use scrolls up on the chat a button will appear on the bottom right side of the screen. It will smoothly scroll down to the bottom of the chat when the button was pressed.

* remove env

---------

Co-authored-by: dasunNimantha <dasun4@pm.me>
2023-03-28 02:52:45 -06:00
Bryan Lee a73ef2b8cf
fix: resolve Enter event conflict during CJK IME (#253)
* fix: resolve Enter event conflict during CJK IME

* add

---------

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-28 02:46:16 -06:00
Redon 28c8bf0e0d
chore: update chinese locales (#247)
* chore: update chinese locales

* chore: update locales
2023-03-28 02:36:30 -06:00
Brad Ullman a78a8c4a94
make all chat area components tabbable (accessibility) (#246)
* make all chat area components tabbable

* align message role description

* remove inline styles on icons

* remove inline styles on icons
2023-03-28 02:35:57 -06:00
Syed Muzamil 5d31947ab9
fix: prompt sidebar not showing on small devices (#232)
* fix: overlap between plus and prompt menu icon

* fix: prompt sidebar not showing on small devices
2023-03-28 02:33:15 -06:00
Redon 7c74df338e
feat: empty state add icons (#248) 2023-03-28 02:32:28 -06:00
Brad Ullman 00d807495d
update prompts to be tabbable (#241) 2023-03-28 02:31:03 -06:00
Brad Ullman a3eb247c3f
convert folders to buttons & folder icons to buttons (accessibility) (#237)
* tabbable folders

* fix spacing
2023-03-28 02:29:56 -06:00
Thomas LÉVEIL b0c289f7a4
fix import (#242)
* 🐛 fix import (#224)

* 🐛 fix import of corrupted history

see https://github.com/mckaywrigley/chatbot-ui/issues/224#issuecomment-1486080888

* add the run-test-suite github action
2023-03-28 02:27:37 -06:00
Syed Muzamil 5aa5be3f43
fix: overlap between plus and prompt menu icon (#230) 2023-03-27 10:30:00 -06:00
Mckay Wrigley 34c79c0d66
Prompts (#229) 2023-03-27 09:38:56 -06:00
Danil Shishkevich 2269403806
chore: fix styles in "OpenAI Key" div (#228)
chore: do nothing if the name of the renamed dialog contains nothing.
chore: fix some styles
chore: remake conversation settings on mobile
2023-03-27 09:20:33 -06:00
Mckay Wrigley a1743c82cc fix regenerate 2023-03-27 07:48:51 -06:00
Danil Shishkevich 3ca503a3f2
chore: some small improvements (#223)
* chore: stylize error message div
chore: correct styles for sidebar btn
chore: add spinner and replace header "Please wait" on spinner
chore: correct Russian translate
chore: hide clear conversation btn if not conversations
chore: stylize "Need OpenAI key" div

* chore: corrent Russian translate
2023-03-27 07:43:01 -06:00
Julian Pufler d8e3844fb9
fix german wording and switch to informal style (#226) 2023-03-27 07:40:43 -06:00
Mckay Wrigley 82401a4142
Option for clear all messages (#222)
Co-authored-by: ryanhex53 <ouyang.em@gmail.com>
2023-03-27 01:38:01 -06:00
Praise 90399d24cc
Display optimization on iPhone device page (#220)
* Disable Zoom Page

* add height

---------

Co-authored-by: Praise <lizan60@gmail.com>
2023-03-27 01:26:59 -06:00
Thomas LÉVEIL 46e1857489
Fix rendering performances issues related to scrolling events (#174)
* memoize chat related components

* Avoid re-rendering ChatInput on every message udpate

* change the way the horizontal scrollbar is hidden

* make the scroll event listener passive

* perf(Chat): fix performances issues related to autoscroll

Uses the intersection API to determine autoscroll mode instead of listening for scroll events

* tuning detection of autoscroll
2023-03-27 01:22:38 -06:00
Brad Ullman c3f2dced56
convert conversation icons to buttons (accessibility) (#192)
* update sidebar overflow

* update all clickable icons to buttons

* refactor buttons so they are not inside other buttons

* format doc

* update input background to transparent

* adjust btns size to match #202

* update text size per #202
2023-03-26 15:19:27 -06:00
Danny Aziz df7c363ccb
Add some additional text for API Key (#210)
* feat: API Key Link

* feat: key input placeholder
2023-03-26 14:48:34 -06:00
Danil Shishkevich bf8830e1a5
fix: missing translation (#206)
for translators: need translate `Save & Submit` and `Cancel`
2023-03-26 13:56:13 -06:00
Mark Anthony Llego 0e393b0bec
Fix unreadable dropdown menu text in dark mode (#204)
* Fix unreadable dropdown menu text in dark mode

* Fix unreadable dropdown menu text in dark mode
2023-03-26 13:55:47 -06:00
Danil Shishkevich 6d5d09d69f
chore: restyle modal with model select (#202)
chore: set normal font size for sidebar
chore: set normal gradient for `ChatInput`
2023-03-26 09:14:47 -06:00
Jiayao Yu 5d9bc10cf4
Allow switching GPT model in the middle of a conversation (#181)
* Allow switching model in the middle of a conversation

* Hide model selection menu behind a settings button

* rename

* Touch up the settings icon
2023-03-26 09:09:10 -06:00
tatsui 0bd7d86174
docker build action (#196) 2023-03-26 08:45:27 -06:00
umarhadi b0059fdf0d
feat: add Bahasa Indonesia support (#198)
Signed-off-by: umarhadi <hi@umarhadi.dev>
2023-03-26 06:11:42 -06:00
Abdullah Al Nahid 831245c837
feat: bangla lang support (#195)
Co-authored-by: nahid18 <nahidpatwary50@email.com>
2023-03-26 04:56:42 -06:00
Danil Shishkevich c0b1b2eadb
fix: fix fonts (#194)
* fix: hotfix fonts

* chore: set normal line height
2023-03-26 04:07:00 -06:00
oznav2 ff13a3eab8
add_Hebrew_locales (#190)
* add_Hebrew_locales

Add Locales of Hebrew

* Update next-i18next.config.js

updating i-18next with Hebrew
2023-03-26 03:29:51 -06:00
Danil Shishkevich 4d0d1e8b95
chore: change sidebar font size & style (#191)
* chore: change sidebar font size & style

* chore: create font size style for sidebar
2023-03-26 03:29:31 -06:00
Danil Shishkevich 0f07812cc5
chore: delete code light theme, like chatgpt (#186) 2023-03-26 02:25:58 -06:00
HaithamLeo 675da9431d
added CONTRIBUTING.md file (#188) 2023-03-26 02:25:00 -06:00
Redon 10354fb290
feat: export json format (#185) 2023-03-26 01:21:48 -06:00
Simon Holmes d6973b9ccc
feat: add in prettier and format code for consistency (#168) 2023-03-25 23:13:18 -06:00
hy3na b843f6e0e0
Corrected wording (#178) 2023-03-25 23:11:58 -06:00