Commit Graph

160 Commits

Author SHA1 Message Date
ryanhex53 2208e4dfc7
more chinese translation. (#609) 2023-04-19 08:32:29 -06:00
Mckay Wrigley 3685378ab8 change empty msg 2023-04-19 08:31:12 -06:00
Mckay Wrigley 971cde5310 sort folders alphabetically 2023-04-18 16:05:44 -06:00
Mckay Wrigley 5725024d80
import/export add instead of replace (#601)
* change search language

* add to import/export

* fix log
2023-04-18 16:00:20 -06:00
Mckay Wrigley 236b656148
Made the Model Name Bar Sticky at the top of the Chat Window (#597)
Co-authored-by: Chris Wall <cwall@wooldata.com>
2023-04-18 08:37:45 -06:00
Mckay Wrigley fda784028d
Add temp display (#596)
* Made the Model Name Bar Sticky at the top of the Chat Window

* Added Temp to the top bar display

* barliens

---------

Co-authored-by: Chris Wall <cwall@wooldata.com>
2023-04-18 08:35:31 -06:00
Aldo Santiago 00f6189a42
fix: sroll down button overlaping chat input (#564) 2023-04-18 08:28:19 -06:00
Shinji Yamada 51fa461965
fix: temperature font color (#556) 2023-04-18 08:25:28 -06:00
Shinji Yamada 03afa00732
chore: use last conversation temperature (#568) 2023-04-18 08:24:47 -06:00
Shinji Yamada ba1dacb899
feat: settings dialog and moved theme settings to dialog from sidebar (#570)
* feat: settings dialog and moved theme settings to dialog from sidebar.

* chore(locale): move some labels to settings from sidebar
2023-04-18 08:23:42 -06:00
Shemar Lindie 836c24680b
fix: chat messages disappear on edit (#575)
Resolves #574
2023-04-18 08:21:43 -06:00
Bryan Lee 862f74a332
Fix message input not updating on chat list switch (#590) 2023-04-18 08:11:13 -06:00
Jay Johnson cb922d9dc6
Fix search box disappearing in Sidebar component (#592)
Co-authored-by: Jamal Johnson <you@example.com>
2023-04-18 08:10:12 -06:00
Ivan Fioravanti ea1d09244a
Feature request: Adding temperature as parameter (#513)
* Adding temperature as parameter

* NEXT_PUBLIC_ prefix added

* add spacing

---------

Co-authored-by: Ivan Fioravanti <>
Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-04-13 05:09:03 -06:00
Mckay Wrigley d1eb6ee29b
delete message (#531)
* feat: delete single message

* improve plugin hotkey support (#426)

* feat: delete single message

* remove logs

* remove logs

---------

Co-authored-by: Ryland <rylandl@qq.com>
Co-authored-by: Dornfeld Capital <75278543+dornfeld-capital@users.noreply.github.com>
Co-authored-by: L.Ryland <41134883+L-Ryland@users.noreply.github.com>
2023-04-13 05:01:27 -06:00
Syed Muzamil f61e91d07f
fix: modal scrolling on small devices (#527)
* fix: propmt side not showing on small devices

* added the robot icon while chat is loading

* fix: sidbar position

* fix: modal not scrolling on small devices

* fix: overlap between the modal and icons
2023-04-13 04:58:13 -06:00
Dornfeld Capital 60288ad20a
improve plugin hotkey support (#426) 2023-04-10 21:41:29 -06:00
Mckay Wrigley 6500db9c1c
MAJOR REFACTOR (#494)
* move index to home folder, create state and context files and barrell folder

* Sanity Check Commit:  reducer added to home.tsx manual QA all working

* WIP: promptBar

* fix missing json parse on folders and prompts

* split context and add promptbar context

* add context to nested prompt componets and componetize Folder componet

* remove log

* Create buttons folder and componetize sidebar action button

* tidy up prompt handlers

* componetized sidebar

* added back chatbar componet to left side sidebar

* monster commit: Componetized the common code between chatbar and promptbar into new componet Sidebar and added context to both bars

* add useFetch service

* added prettier import sort to keep imports ordered and easier to indentify

* added react query and useFetch to work with RQ

* added apiService, errorService and reactQuery

* add callback and tidy up error service

* refactor chat and child componets to useContext

* fix extra calls and bad calls to mel endpoint

* minor import cleanup

---------

Co-authored-by: jc.durbin <jc.durbin@ardanis.com>
2023-04-10 21:10:18 -06:00
Thomas LÉVEIL 68c9cd4bd8
Fix 416 copy button on code block (#427)
* update README regarding GOOGLE_API_KEY and GOOGLE_CSE_ID

* 🐛 fix copy button not showing up on code block with no recognized language

fixes #416
2023-04-04 16:55:52 -06:00
itbm fc60f65c74
Hide API Key and Plugin Key buttons if set server side (#423) 2023-04-04 16:53:10 -06:00
Mckay Wrigley e1f286efb8
push (#414) 2023-04-04 09:41:24 -06:00
Jiaping(JP) Zhang 83e25b97b0
update chat role icon (#378) 2023-04-02 14:38:42 -06:00
Thomas LÉVEIL b3b65f8ce5
Fix translations import export (#376)
* fix "Import data" case

* fix "Export data" translations
2023-04-02 14:36:09 -06:00
Brad Ullman ae18abe931
remove unused code (#356) 2023-04-02 00:19:10 -06:00
Syed Muzamil 91cbe0b104
fix: some ui issues (#346)
* fix: scroll button not visible in light mode

* fix: sidebar when there is a folder

When a folder is added in the sidebar and there are less items scroll
bar appears. This simple change fixes that behaviour

* fix: small devices regerate/Stop button below input

Below 768px Stop Genrating and Regerate Button remains hidden behind the
input. This is the fix for that
2023-04-01 23:11:03 -06:00
Jason Banich 23ad285a4b
Adds a loading spinner that replaces send icon while result is generated (#329) 2023-04-01 23:02:15 -06:00
Mckay Wrigley 56d3b2fba2 change to "data" 2023-04-01 23:01:05 -06:00
Mckay Wrigley cfb610df1e fix spacing 2023-04-01 14:54:59 -06:00
Daniel 9683ce21b3
Fix icon color (#344) 2023-04-01 04:36:46 -06:00
Matri 3650d8d7bf
fix: prompts list height (#340) 2023-04-01 01:40:25 -06:00
Colin Ricardo aefec17525
fix: label layout shift (#338) 2023-03-31 20:14:59 -06:00
Brijesh Bittu 863d8d8121
Autofocus input when after clicking OpenAI API Key in sidebar. (#324)
* Update Key.tsx

Autofocus input after its visible.

* Update Key.tsx
2023-03-31 03:22:56 -06:00
Rudolf Olah c1b7b0e070
Feature: add link to openai account usage (#319)
* Update ModelSelect.tsx to include link to account usage

It would be helpful to be able to click a link to see the account usage and billing, and the model selection is related to the pricing.

* updated styling and added icon for external link

* fixed missing import
2023-03-30 20:10:11 -06:00
Matri 2114b7296e
fix: properly trigger prompt modal close (#309)
Co-authored-by: MatriQi <matri@aifi.io>
2023-03-30 19:14:17 -06:00
Syed Muzamil 5cdd3e56b7
fix: small ui issue (#311)
* fix: unnecessary lines before the chats or prompts

Removed unncessary lines if there are no folders before prompts and
chats.

* added the light mode for scroll down button
2023-03-30 13:31:57 -06:00
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
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
Mohammed Sohail b2ef40cf6f
Fix invalid Tailwind property (#275) 2023-03-28 14:57:10 -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
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