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
Matthieu Jacq
da6d5b698d
feat(nav): 🚚 Move Brain and User buttons to the sidebar in the chat ( #1262 )
...
* 🚚 Move Brain and User buttons to the sidebar in the chat
* 🚨 fix linter warnings
* 🚚 Move sidebar actions to a dedicated component
* ✅ Fix failing tests
* 💄 Style sidebar buttons
* 🚚 move nav components under ChatsListItem and User components accordingly
* Display email in the user button
* ♻️ use the UserData hook in the UserPage component
* Do not display the top navbar on the chat page
* ⚰️ remove the social icons at the bottom of the chat sidebar
* ⚡ ️UserButton: get email from the Supabase context instead of a call api
* 🚨 Fix unit-tests
* 💄 Crop email in UserButton if necessary
* UserButton: display empty string if the email is undefined
2023-09-26 18:26:19 +02:00
Mamadou DICKO
a4a2d769b3
feat: allow setting public brain status to private ( #1258 )
...
* feat: refetch brains list on when new brain is added
* feat: update BrainConfig type
* feat: update useSettingsTab add usebrainFormState and useSettings tab
* feat: add <PrivateAccessConfirmationModal/> modal
* feat: update translations
* feat: handle brain status change to private
* feat: validate chat access
* test: fix failaing tests and remove deprecated
2023-09-26 10:35:52 +02:00
Matthieu Jacq
4acdb0ae55
feat(user): 🚚 Move language and theme buttons to the User page ( #1256 )
...
* feat(user): 🚚 Move language and theme buttons in the User page
* ⚰️ Remove obsolete test (DocumentData.test.ts)
* fix(user_settings): ⚰️ remove settings header
2023-09-26 09:29:30 +02:00
Mamadou DICKO
1643b54b7b
feat: allow user to unsubscribe from a brain ( #1254 )
...
* feat: update translations
* feat: add <DeleteOrUnsubscribeConfirmationModal />
* test(DeleteOrUnsubscribeConfirmationModal): update tests
* feat: redirect to /brains-management on invalid brain id
* refactor: move delete_brain_user to delete_brain_users
* feat: add /POST '/brains/{brain_id}/subscribe'
* feat: handle public brain unsubscription
2023-09-25 14:22:59 +02:00
Stan Girard
5e2d8a6b59
fix(preview): import
2023-09-22 18:15:39 +02:00
Stan Girard
c1ec7b8944
fix(preview): fixed a few bugs unchecked ( #1247 )
2023-09-22 18:04:45 +02:00
Zineb El Bachiri
d2b4ef4aff
feat: knowledge tab list ( #1222 )
...
* ✨ get all knowledge utils
* ✨ add remove knowledge and update router
* ✨ new knowledge provider
* 🚨 remove eslint -disable
* ✨ new useKnowledgeApi
* ✨ set up KnowledgeItem
* ✨ add KnowledgeTable component in knowledge tab
* 🔥 remove DocumentData replaced by KnowledgeItem
* 🐛 fix weird characters instead of '/'
* 💄 truncate knowledge name
* ✨ add DownloadUploadedKnowledge component
* ⚰️ unused code
* 🏷️ introduce UploadedKnowledge and CrawledKnowledge types
* 💄 remove thread
* 💄 bin for delete knowledge
* 🌐 update wording for knowledge tab
* 🔇 remove logs and comments
2023-09-22 16:06:04 +02:00
Mamadou DICKO
48bdbbb3e9
feat(publicBrain): disable subscribe button when already subscribed and refetch brains list ( #1246 )
...
* feat(brainSettings): add getBrainPermissions
* feat(publicBrain): disable subscription button when already subscribed
* feat(publicBrains): refecth brains list onSubscribe
2023-09-22 12:37:50 +02:00
Mamadou DICKO
2c9a0c1ed2
feat: activate public brain subscription ( #1241 )
...
* feat: add public brain details modal
* feat(brain): add subscription route
* feat: activate subscription button
* feat: add last_update column to brain table
* feat: display last update on public brain details page
* feat: change RBAC rule for public brains
* feat: maintain brain last_update time
2023-09-22 11:44:09 +02:00
Stan Girard
65de6839fc
docs(blog): updated
2023-09-21 21:14:01 +02:00
Mamadou DICKO
8172704b61
feat: add public brain page ( #1230 )
...
* feat: add brain library button
* feat(Field): add inputClassName key
* feat: add GET brains/public route
* feat: add brains library layout
* feat: add brain subscriber count
2023-09-21 09:35:53 +02:00
Stan Girard
f74a1c50c8
feat(strapi): added first draft ( #1237 )
2023-09-21 00:20:29 +02:00
Stan Girard
ef0f874af9
feat(upload): changed icons ( #1233 )
2023-09-20 17:07:37 +02:00
Mamadou DICKO
1593c3342c
feat: display brain status on settings page ( #1221 )
...
* feat: update GET/brains return status
* feat: add public tag on brain list
* feat: add public tag for public brain on brain settings tab
* feat: hide over tab when brain access is public
2023-09-20 16:24:56 +02:00
Stan Girard
2fc6e7e38b
chore(github): fixed
2023-09-20 14:50:45 +02:00
Mamadou DICKO
1ec736b357
fix: fix some bugs ( #1201 )
...
* feat(brainSettings): add feed process instrcution to knowledge tab
* feat: prevent default brain auto fetch
* feat: prevent chat submision on submit button click
* feat: remove unrelevant toast
* feat: remove duplicated GA initialization
* feat: add brain name in notifications
* fix(test): update analytics import path
* refactor: move ChatsList utils to ChatsList directory
* fix(test): update chatlist tests
2023-09-18 21:28:07 +02:00
Stan Girard
8914c7c357
fix(chats): now in order and with a little bonus ;) ( #1200 )
...
* fix(chats): now in order and with a little bonus ;)
* style(eslint): fixed
2023-09-18 18:25:28 +02:00
Zineb El Bachiri
886d30cf9e
feat(analytics): add google analytics ( #1147 )
...
* 🚚 move june analytics to folder and update paths
* ✨ set up google analytics
* ✨ sent firt GA event with react-ga
* 🔒 ️ update security headers to include vercel and google analytics
* 🚚 rename Vercel Analytics
* ✨ use react-ga4 instread
* 💚 fix tests
2023-09-18 15:12:50 +02:00
Mamadou DICKO
b39566882b
feat: add tooltip on upload card toggle button ( #1197 )
2023-09-18 14:51:30 +02:00
Mamadou DICKO
7dd404935b
feat(e2e): add playright config and createBrain e2e test ( #1177 )
...
* chore: add playright config
* feat: add playright first examples
* feat: add 'test-e2e command'
* feat: add createBrain E2E test
2023-09-18 10:23:56 +02:00
Stan Girard
143d32ddf1
feat(chat): added copy feature to message ( #1192 )
2023-09-18 00:26:53 +02:00
Stan Girard
d855bfbee8
fix(notification): information now displayed on the right ( #1191 )
2023-09-18 00:24:20 +02:00
Stan Girard
f362269600
feat(notificatins): higher refresh rate ( #1184 )
...
* fix
* feat(notificatins): higher refresh rate
2023-09-16 13:51:08 +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
686612a69d
feat: make error messages more clear ( #1166 )
2023-09-14 10:35:30 +02:00
Mamadou DICKO
8a07a8a31d
feat: submit upload on Enter ( #1160 )
2023-09-14 10:34:45 +02:00
Mamadou DICKO
2b4c3ecbbc
feat: update header and improve ux ( #1164 )
...
* feat: add Knowledge tab
* feat: use tanstack query for knowledges fetching
* feat: update header
* feat: remove upload page
* feat: make chat page the default redirection page
* feat(homePage): redirect user to chat page when already authenticated
2023-09-13 16:43:25 +02:00
Mamadou DICKO
70ffa5d6be
feat: add knowledge tab on brains settings page ( #1163 )
...
* feat: add Knowledge tab
* feat: use tanstack query for knowledges fetching
2023-09-13 16:41:28 +02:00
Stan Girard
322ee318be
feat: the good user management ( #1158 )
...
* feat(user_management): added user management
* feat(user_management): added user management
* feat(user_management): removed print
* feat: use tanstack query for user data fecthing
* feat: add getUser to sdk
* feat: improve user page ux use tanstack query
* feat: fetch models from backend on brains settings page
* feat: update model selection on chat page
* feat: update tests
---------
Co-authored-by: mamadoudicko <mamadoudicko100@gmail.com>
2023-09-13 13:47:12 +02:00
Mamadou DICKO
dbb8a0e86e
feat: update isValidUrl function ( #1155 )
2023-09-12 18:14:03 +02:00
Mamadou DICKO
7f9ea9d64c
feat: remove <BrainConfigProvider /> ( #1154 )
2023-09-12 18:04:35 +02:00
Mamadou DICKO
7cc90ef258
feat: add polling for pending notifications ( #1152 )
...
* feat: add notification controller
* feat: add polling logic on pending notifications
* feat: refecth notifications on Feed
2023-09-12 18:00:46 +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
Mamadou DICKO
7e1e13fab5
feat(feedBrain): add request pending message #1135 ( #1136 )
...
* feat(feed brain): add pending message
* feat: add 'filesUploading' translation
* feat(chatPage): update tests
2023-09-08 09:57:21 +02:00
Mamadou DICKO
9464707d40
feat: merge chat history with chat notifications ( #1127 )
...
* feat: add chat_id to upload and crawl payload
* feat(chat): return chat_history_with_notifications
* feat: explicit notification status on create
* feat: handle notifications in frontend
* feat: delete chat notifications on chat delete request
2023-09-07 17:23:31 +02:00
Mamadou DICKO
a14c033da5
feat: allow user to chat while feed process is pending ( #1120 )
...
* feat: remove 'ux-upload' feature flag
* feat: publish a message at the end of feed process
* feat: hide feed card during feed process
2023-09-07 10:15:19 +02:00
Mamadou DICKO
711eff0863
feat: add multiple upload and crawl in parallel ( #1118 )
...
* feat: explicit accepted files
* feat: un-synchronize upload and chat FileUploader
* feat: add uploading file new ui
* feat: rename +UrlDisplayer to FeedTitleDisplayer
* feat: add icon per file type
* feat: remove file extension on display
* feat: send feed items to backend
* feat: track file upload
* chore: improve dx
2023-09-07 10:00:45 +02:00
Mamadou DICKO
f230bc10de
feat(crawler): add multiple urls support ( #1112 )
...
* feat(Field): add icon support
* feat(Crawler): replace submit button with send icon
* feat(crawler): add multiple urls support
* feat: add <FeedItems/> component to display adding items
* feat(FeedItems): add remove icon
* feat: add url displayer
* feat: add invalid url message
* fix: add crawler to upload page
* feat: clean sueCrawler
* feat: rename Feed to KnowledgeToFeed
* feat: add tracking
2023-09-05 18:47:18 +02:00
Zineb El Bachiri
34708c51ea
🚑 fix feature flags -> add it back to context ( #1106 )
2023-09-05 11:43:03 +02:00
Mamadou DICKO
9b163e5b65
feat: add <Feed /> component in chat page ( #1103 )
...
* refactor: update uploadPage structure
* feat: show upload component from chatbar
* refactor: move <Feed/> from upload page to chat page
2023-09-05 10:49:29 +02:00
Mamadou DICKO
14e44ac6ec
feat: add FeedBrainInput component ( #1101 )
...
* feat: add FeedBrainInput component
* feat: add upload button
* feat: update translations add feed_brain_placeholder
* refactor(uploadPage): add config.ts
* feat(lib): add MentionInput
* feat: add <BrainSelector/> component
* feat: update FeedBrainInput
2023-09-04 15:27:06 +02:00
Mamadou DICKO
2a479419a7
fix: prevent submit on share button click ( #1098 )
2023-09-04 10:25:48 +02:00
Mamadou DICKO
bea275f2ff
feat: add tanstack query and optimistic fetch on brains settings page ( #1087 )
...
* refactor: remove <TrackingWrapper />
* feat: add tanstack query
* feat: add optimistic fetch to brain settings page
2023-09-01 15:14:35 +02:00
Mamadou DICKO
46e19e8ac2
fix: fix hash redirection ( #1085 )
2023-08-31 18:25:06 +02:00
Mamadou DICKO
51bd020a2f
fix: update hash routing logic ( #1082 )
2023-08-31 18:08:39 +02:00
Mamadou DICKO
47b8d697c6
fix(openAiKey): handle nullish values ( #1080 )
2023-08-31 16:28:26 +02:00
Mamadou DICKO
aaf841136c
feat: change share brain button logic ( #1078 )
2023-08-31 16:02:32 +02:00
Mamadou DICKO
4306f60959
feat: truncate long chatname ( #1076 )
2023-08-31 14:54:57 +02:00
Mamadou DICKO
e769eddd76
feat: remove mic button ( #1075 )
2023-08-31 14:53:43 +02:00