Commit Graph

168 Commits

Author SHA1 Message Date
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
Nguyễn Hữu Phong 9706f67bb4 Locale vi (#177)
* Locale vi

* Fix translates layout
2023-03-25 23:11:40 -06:00
Mckay Wrigley 71d7e44bce hotfix 2023-03-25 23:06:49 -06:00
Bruce Shi 499007da94 Latex plugin (#165) 2023-03-25 22:37:00 -06:00
Jack Wu 14fe29c03a feat: Message copy button (#171)
* Add copy button

* Fix copy button not copying the entire message

* fix style

* remove prewrap

---------

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 22:28:08 -06:00
Brad Ullman fffb729b34 sort the data, not the UI. buttons are now tab-able from the top down (#176) 2023-03-25 22:11:48 -06:00
Alberto e18276223b fix: update es translations (#167)
Co-authored-by: aesadde <albertosadde@gmail.com>
2023-03-25 22:08:29 -06:00
hy3na 3915cef98a add_ja_locales (#172)
Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 22:08:08 -06:00
Brian Kim d281c161a2 locale ko (#166)
Co-authored-by: Brian Kim <brian@brianjckim.com>
2023-03-25 22:06:50 -06:00
TULASEE RAO CHINTHA a0a2cb8b35 Added Telugu language(South Indian) translations (#161) 2023-03-25 15:35:29 -06:00
toni f698d9f3c4 locate pt (#159)
* locate portuguese

* locate portuguese
2023-03-25 14:12:56 -06:00
Thomas LÉVEIL 0038bb8366 recover from corrupted conversationHistory data (#162)
If an item from conversationHistory is badly corrupted, skip it instead of crashing the app
2023-03-25 14:10:17 -06:00
RichyRK 1253565a69 Add locale sv (Swedish) (#157)
* add locale sv (Swedish)

* add locale sv (Swedish)
2023-03-25 12:35:29 -06:00
Matias 9a6ad3d66c locale es (#156)
Co-authored-by: Mati <mcasal@bootweb.com.ar>
2023-03-25 11:50:02 -06:00
Jungley 966021ed74 feat: Allow customization of OpenAI host with environment variable (#152)
This commit modifies the OpenAI host configuration to support customization through an environment variable. This change is particularly useful in scenarios where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
2023-03-25 11:08:03 -06:00
Thomas LÉVEIL dd44a06213 🌐 locale de (#154) 2023-03-25 11:03:45 -06:00
Anerco 2ae4c69de7 chore: move deps to dev deps (#140) 2023-03-25 10:55:45 -06:00
Thomas LÉVEIL f5ebde2d2d Locale fr (#153)
* 🌐 fr translations

* ⚰️ remove unused translation
2023-03-25 10:48:50 -06:00
Danil Shishkevich cb58a703e3 feat: Russian language (#148)
* feat: russian (Русский) language

* chore: correct translate

* chore: correct "System prompt" translate
2023-03-25 10:33:29 -06:00
Thomas LÉVEIL b89ca2082e Precise error messages (#150)
* Introduce a component to display error messages

* precise error message when api key is invalid
2023-03-25 10:32:59 -06:00
Mckay Wrigley 3f09a4c355 hotfix 2023-03-25 10:13:51 -06:00
Jungley 92eab6c634 feat: Add i18n support for Chinese language (#142)
* feat: Add i18n support for Chinese language

* fix: locale not working in Docker environment
2023-03-25 09:42:48 -06:00
Mckay Wrigley 932853f1ba Update README.md 2023-03-25 08:54:37 -06:00
Danil Shishkevich 4fbb5e1f79 fix: change message edit logic (#144)
if the edited message isn't different from the original message, then do nothing.
2023-03-25 08:29:54 -06:00
Thomas LÉVEIL 698c3bda29 smoother autoscroll down (#141) 2023-03-25 08:00:40 -06:00
Mckay Wrigley 93a8e814d6 fix send params 2023-03-25 07:18:57 -06:00
Mckay Wrigley d27326125b regenerate button (#138) 2023-03-25 07:12:51 -06:00
Danil Shishkevich d7fdcd0dfe fix: disable button if messageContent is empty (#137) 2023-03-25 07:11:27 -06:00
Mckay Wrigley a005323964 Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro 2023-03-25 06:41:44 -06:00
Mckay Wrigley 801451993c fix mobile edit 2023-03-25 06:41:43 -06:00
Thomas LÉVEIL 2c8e8547d0 Do not rely on user to figure out if server is configured with an api key (#136)
Fixes #105 (and probably also #115)

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 06:35:08 -06:00
Mckay Wrigley 1e6531354d fix sidebar arrow showing 2023-03-25 06:24:07 -06:00