Matthieu Jacq
945178de39
fix: 🐛 📱 height now matches mobile height ( #1323 )
2023-10-04 12:04:57 +02:00
Matthieu Jacq
403cdaa354
fix: remove undesired outlines around divs ( #1316 )
2023-10-03 18:03:05 +02:00
Matthieu Jacq
18f76a5341
feat: ↕️ Maximise chat window ( #1301 )
...
* 🔥 Remove Chat page intro (component and translations)
* Centered full-size chat window (partial)
* fix: gray background when adding a document
* chat window: responsive padding
* cleaner navbar display condition
2023-10-03 12:18:49 +02:00
Mamadou DICKO
36fd146fed
feat: improve app ux ( #1281 )
...
* style: make FeedItemIcon the same size
* feat: update feed component brain selector label position
* style: change purple to 600
* feat: improve already dropped file message ux
* feat: autoclose feedinput on chatId change
* style: change chat colors
* feat: prevent linebreak in knowledge to upload row
* feat(textFIeld): avoid textfield content going under icon
* feat(knowledgeToUpload): add tooltip on urls and files name
* feat(feedBrain): auto scroll on messages when feed modal get opened
* style: update colors
* refactor: rename uploadCard to FeedCard
2023-09-29 10:24:31 +02:00
Mamadou DICKO
2226eef06b
feat(chatPage): update ui add new feed component ( #1275 )
...
* feat(brains): remove unrelevent buttons on management page
* feat: improve feed input ux
* feat: update brain knowledge context add knowledge to feed logic
* feat: allow to drop files everywhere in the chat section
* style: add slide in effect when opening feed card
* test(chatPage): fix failing tests
2023-09-28 11:29:55 +02:00
Mamadou DICKO
ef78dec810
feat: improve knowledge feed process ux ( #1274 )
...
* style(deleteBrainModal): reduce buttons space
* refactor: add KnowledgeToFeedInput
* feat: update translations
* feat: update knowledge feed component
* style: reduce knowledge to upload displayer size
* feat: move KnowledgeToFeedInput to @lib
* refactor: rename useSelectedChatPage to useChatNotificationsSync
* feat: change chatPage bg to gray when feed card is opened
* style: change feed process submit button bg to purple
2023-09-27 15:39:04 +02:00
Mamadou DICKO
c8f045dfad
feat: save last chat config and make it default one ( #1266 )
...
* fix(RBAC): skip validation for unplug
* feat(chatSettings): set last config as default
---------
Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
2023-09-26 18:41:02 +02:00
Stan Girard
223d3d9102
feat(frontend): responsiveness ( #1174 )
...
* feat: 🎸 responsiveness chat
* feat: 🎸 responsive
added responsive menu
* feat: 🎸 responsive
brain management
* fix: 🐛 docker
prod
2023-09-15 01:09:26 +02:00
Mamadou DICKO
10af0c949a
feat: add notifications components ( #1148 )
...
* feat: rename ChatMessages to MessagesDialog
* feat: rename history to messages
* feat: add notifications to ChatContext
* feat: add getNotificationsFromChatHistory
* feat: add getMergedChatHistoryWithReducedNotifications
* refactor: update useActionBar
* refactor: update <ChatMessage />-n
* feat: update crawler and endpoint notifications content
* feat: display notifications
* test: update <MessageDialog /> tests
* feat: rename ChatMessage to QADisplay
* feat: rename ChatHistory to ChatMessage
* feat(upload): throw error when file missing
* feat: rename getMergedChatHistoryWithReducedNotifications to getMergedChatMessagesWithReducedNotifications
* feat: change history wording to message
* feat: move getFileIcon to lib
* refactor(NotificationDisplayer): move types to types.ts
* chore: improve ux
* feat: rename MessagesDialog to ChatDialogue
2023-09-12 17:44:15 +02:00
Aditya Mundhalia
85ae06c829
correcting scroll & chat response view better code ( #960 )
2023-08-16 14:16:36 +02:00
Mamadou DICKO
80be40ad34
feat: update chat ui ( #907 )
...
* feat: remove react-mentions
* feat: add chat header
* feat: remove v2/chat
* feat: add fature flag
* feat: add new chat UI
* feat: add prompt and brain name to messages
2023-08-11 10:06:20 +02:00
Mamadou DICKO
b0514d6149
fix(i18n): update tests for french and spanish ( #878 )
...
* add libraries for traslation purposes
* Add button and service for language selection
* add spanish translation on login page
* add spanish translation on upload page
* Add spanish translations for explore page
* Add translations on user page
* Add translations for config page
* Add spanish translations on chat page
* add translations for brain page
* fix GUI and save on local storage
* fix (i18n) init and types
* fix (i18n): typos
* add translation on new brain modal
* add translations on metadata
* Add translations on home page
* fixes types
* fix(frontend-tests): use get by id instead of text
---------
Co-authored-by: Gustavo Maciel <gustavo_m13@outlook.com>
2023-08-07 14:13:41 +02:00
Mamadou DICKO
7a2450eaf4
[ShareableBrain]: improve UX, fix minors bugs, refactor ( #695 )
...
* feat: add empty access list message
* feat: set default role to viewer
* feat: reset user invitation form after submit
* feat: add removing access indicator
* feat: add brain name on invitation page
* feat: display brain name on chat page
* feat: clear localStorage on logout
2023-07-18 18:28:44 +02:00
Mamadou DICKO
c1535a9b86
Frontend/test/chat 4 ( #523 )
...
* refactor: move getHistory to api/chat
* test(chat): unit-tests getHistory
* refactor: rename useChatService useQuestion
* feat: add updateChat to api/chat
* test(chat): unit-tests updateChat
* refactor(ChatsListItem): add useChatsListItem
* feat: remove http request from provider and remove useChats
2023-07-05 18:33:18 +02:00
Mamadou DICKO
9bb7ccf651
Frontend/test/chat 1 ( #508 )
...
* feat: add providers mocks
* test(<ChatPage/>: add render test using providers
2023-07-05 09:30:22 +02:00
Mamadou DICKO
6acb13d4ae
Frontend/test/chat ( #496 )
...
* refactor(<ChatPage/>)
* test(<ChatInput />): add unit tests
* test(<ChatMessages />): add unit tests
2023-07-03 17:39:59 +02:00
Aditya Nandan
315411facd
remove blank scrollbars and use predefined components ( #452 )
...
* style(chat and brains dropdown): remove blank scrollbars and use predefined components
* style(chat): use custom scrollbar style by using scrollbar class
2023-07-02 14:30:11 +02:00
Mamadou DICKO
dc64470d5d
Ux improvment ( #382 )
...
* feat: make chat list hidden on mobile by default
* feat: autoclose chat list on click
* feat: move footer to chat lists bottom when user is logged in
* feat: fix header when user is logged in
* chore: refacto ChatMessages
* feat: reverse chat list display on fetch
* feat: fix new chat button
2023-06-27 11:28:09 +02:00
Mamadou DICKO
59fe7b089b
feat(chat): use openai function for answer ( #354 )
...
* feat(chat): use openai function for answer (backend)
* feat(chat): use openai function for answer (frontend)
* chore: refacto BrainPicking
* feat: update chat creation logic
* feat: simplify chat system logic
* feat: set default method to gpt-3.5-turbo-0613
* feat: use user own openai key
* feat(chat): slightly improve prompts
* feat: add global error interceptor
* feat: remove unused endpoints
* docs: update chat system doc
* chore(linter): add unused import remove config
* feat: improve dx
* feat: improve OpenAiFunctionBasedAnswerGenerator prompt
2023-06-22 17:50:06 +02:00
Mamadou DICKO
e1a740472f
Feat: chat name edit ( #343 )
...
* feat(chat): add name update
* chore(linting): add flake8
* feat: add chat name edit
2023-06-20 09:54:23 +02:00
Zineb El Bachiri
1d7bc8a5bc
Devx/add linter rules ( #331 )
...
* remove duplicate import
* 🚧 add new linter configuration
* 🧑💻 add and run prettier
* 🐛 add babel parser for linter
* 🧑💻 add lint-fix command
* 🚨 use lint-fix
* 🚨 remove 'FC' as a type. Use const and JSX.Element
* 🚨 enforce arrow function rule from linter
* 🔥 delete unused file
* 🚨 adding /* eslint-disable */ in failing files
* 💩 add ts-expect-error to Victory components
2023-06-15 11:52:46 +02:00
Zineb El Bachiri
f4aa22417f
Refactor/front ( #313 )
...
* 🚚 move footer component
* 🚚 move navbar component
* 🚚 move ui components
* 🚚 move browser tab icon to public folder
* 🚚 move Chat Provider
* 🚚 move hooks to lib
* 🚚 move helpers to lib
* 🚚 move types to lib
2023-06-13 16:33:41 +02:00
Aditya Nandan
52e723d534
use context to prevent having duplicate chat states ( #297 )
...
* fix(chat): Use a global chat context to avoid duplicate states
* fix(chat): update chats list when creating a new chat
2023-06-11 14:34:36 +02:00
Aditya Nandan
57f9ef6170
Sticky - chat list, navbar, chat input ( #295 )
...
* feat: sticky navbar and sticky chatlist
* fix: remove unnecessary top padding
* style(chat): sticky chat input
* style(footer): increase vertical padding
* style(chat): sticky new chat button
* fix(chat): minor fixes
* fix(chat): center ChatMessages
* fix(chat): screen height chatlist
2023-06-11 10:44:23 +02:00
Zineb El Bachiri
4112699db5
Feat/user chat history ( #275 )
...
* ♻️ refactor backend main routes
* 🗃️ new user_id uuid column in users table
* 🗃️ new chats table
* ✨ new chat endpoints
* ✨ change chat routes post to handle undef chat_id
* ♻️ extract components from chat page
* ✨ add chatId to useQuestion
* ✨ new ChatsList
* ✨ new optional dynamic route chat/{chat_id}
* 🩹 add setQuestion to speach utils
* feat: self supplied key (#286 )
* feat(brain): increased size if api key and more
* fix(key): not displayed
* feat(apikey): now password input
* fix(twitter): handle wrong
* feat(chat): basic source documents support (#289 )
* ♻️ refactor backend main routes
* 🗃️ new user_id uuid column in users table
* 🗃️ new chats table
* ✨ new chat endpoints
* ✨ change chat routes post to handle undef chat_id
* ♻️ extract components from chat page
* ✨ add chatId to useQuestion
* ✨ new ChatsList
* ✨ new optional dynamic route chat/{chat_id}
* 🩹 add setQuestion to speach utils
* 🎨 separate creation and update endpoints for chat
* 🩹 add feat(chat): basic source documents support
* ✨ add chatName upon creation and for chats list
* 💄 improve chatsList style
* User chat history and multiple chats (#290 )
* ♻️ refactor backend main routes
* 🗃️ new user_id uuid column in users table
* 🗃️ new chats table
* ✨ new chat endpoints
* ✨ change chat routes post to handle undef chat_id
* ♻️ extract components from chat page
* ✨ add chatId to useQuestion
* ✨ new ChatsList
* ✨ new optional dynamic route chat/{chat_id}
* refactor(chat): use layout to avoid refetching all chats on every chat
* refactor(chat): useChats hook instead of useQuestion
* fix(chat): fix errors
* refactor(chat): better folder structure
* feat: self supplied key (#286 )
* feat(brain): increased size if api key and more
* fix(key): not displayed
* feat(apikey): now password input
* fix(twitter): handle wrong
* feat(chat): basic source documents support (#289 )
* style(chat): better looking sidebar
* resume merge
* fix(backend): add os and logger imports
* small fixes
* chore(chat): remove empty interface
* chore(chat): use const
* fix(chat): merge errors
* fix(chat): remove useSpeech args
* chore(chat): remove unused args
* fix(chat): remove duplicate components
---------
Co-authored-by: gozineb <zinebe@theodo.fr>
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
Co-authored-by: xleven <xleven@outlook.com>
* fix and refactor errors
* fix(fresh): installation issues
* chore(conflict): merged old code
* fix(multi-chat): use update endpoint
* feat(embeddings): now using users api key
---------
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
Co-authored-by: xleven <xleven@outlook.com>
Co-authored-by: Aditya Nandan <61308761+iMADi-ARCH@users.noreply.github.com>
Co-authored-by: iMADi-ARCH <nandanaditya985@gmail.com>
Co-authored-by: Mamadou DICKO <mamadoudicko100@gmail.com>
2023-06-10 23:59:16 +02:00