Commit Graph

19 Commits

Author SHA1 Message Date
Zineb El Bachiri
a9411c973a
fix(analytics): june debug for real (#1033)
* 🔥 remove Suspense because no ssr in front anymore

*  add debugging

* 🔥 remove debugger and better logs

* 🐛 fixed tracker by adding it to dependencies

* 🚨 add dependencies to hooks

* 🚨 remove linter warning from unawaited promise
2023-08-25 10:33:14 +02:00
Stepan Lebedev
71e142ba3c
feat: deleting brains on brain manager page (#893)
* fix: new libraries for translation

* feat(deleting-brains-on-brain-management-page): adding a delete brain button and a confirmation modal on a management page

* feat(deleting-brains-on-brain-management-page): adding tests for confirmation Modal

* feat(deleting-brains-on-brain-management-page): Adding translation to the delete button and modal
2023-08-08 17:18:05 +01:00
Mamadou DICKO
99a3fa9b29
feat: add custom prompt fields on brain setting pages (#837)
* feat(sdk): add prompt apis to sdk

* feat: implement prompt creation-n

* feat: add brain custom prompt fields

* fix: change tables creation order
2023-08-03 15:41:24 +02:00
Mamadou DICKO
77ea2f2aa6
Brain management 4.2 (#777)
* feat: remove save changes button

* feat: refetch brains list on update

* feat: update forn initialization logic

* feat: prevent viewer to access people tab

* feat: set current brain asbrain management default selected brain
2023-07-26 16:54:03 +02:00
Mamadou DICKO
3529222b95
Brain management 4 (#762)
* feat: add <ApiKeyConfig/>

* feat(SDK): add update brain

* feat: add removeUndefined helper

* feat: remove unnecessary autofocus flag

* add brain settings tab

* ui: add tab delimitor

* feat: improve ux
2023-07-25 23:12:46 +02:00
Mamadou DICKO
046cc3fc1d
[Brain management] Add new fields to creation modal (#755)
* refactor(ModalConfig): move defineMaxTokensto helpers

* feat(AddBrain): add new properties

* feat(sdk): update createBrain

* feat(sdk): add setAsDefaultBrain
2023-07-25 12:08:08 +02:00
Mamadou DICKO
d27504f735
Feat/rate limiting (#719)
* feat: add max brain count

* fix: prevent page cashing when invitation is invalid

* feat: rename rights to role in frontend
2023-07-20 18:17:55 +02:00
Mamadou DICKO
81b57c504a
Shareable brain 9 (#677)
* feat: add 20230717173000_add_get_user_id_by_user_email

* feat(ShareableBrain): add update access endpoint

* feat(sdk): add updateBrainAccess

* feat: add brain access control

* feat: improve ux
2023-07-18 14:30:19 +02:00
Zineb El Bachiri
0b091bd8c9
Feat/shareable brains open link authenticated (#676)
* ♻️ use Single Responsibility Principle on brains_subscription

*  new brain subscription endpoints for invited user

* 📝 add documentation to endpoints

* 🎨 add base_frontend_url to send custom url for brain share

* ✏️ brains instead of brain in url

*  use origin in header for frontend url in subscription email

* 🚚 move and remove unused code

*  new subscription API for BE endpoints in frontend

*  new addBrain to  add a shared brain in frontend

* 🥚 new hook for brain invitations

*  new page for brain invitation

*  change frontend url to copy for brain subscription

* ✏️ call RBAC with wrapper function

* ✏️ last typos
2023-07-18 09:47:59 +02:00
Mamadou DICKO
4d00a1ec92
feat(shareBrain): use subscription delete endpoint for brain deletion (#634) 2023-07-17 14:38:34 +02:00
Ikko Eltociear Ashimine
e822f9ad11
Fix typo in useBrainProvider.ts (#574) 2023-07-15 23:21:24 +02:00
Mamadou DICKO
8749ffd0bd
Shareable Brains - 2 (#601)
* feat(brains): add fetching indicator

* feat: add brain share modal
2023-07-11 14:45:18 +02:00
Mamadou DICKO
3ba2c92b50
Frontent/test/explore/1 (#552)
* refactor(MultipleBrain): separate providing and data fetching

* refactor(MultipleBrain): update useBrainApi

* feat(MultipleBrains): remove unnecessary data fetchings

* test(useBrainApi): update unit tests
2023-07-07 12:56:08 +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
Aditya Nandan
02272ab0ca
Search for brains through the dropdown (#507) 2023-07-05 09:24:42 +02:00
Zineb El Bachiri
b016413099
✏️ add / in all explore url (#415)
* ✏️ add / in all explore url

* 🐛 fix user routes

* ⚰️ remove dead code

*  add name to active brain
2023-06-30 09:08:40 +02:00
Zineb El Bachiri
ccdc5bb7a7
Feat/multiple brains files (#361) 2023-06-28 19:39:27 +02:00
Stan Girard
30e764497d
perf(analytics): added usage analytics (#381) 2023-06-26 19:23:48 +02:00
Zineb El Bachiri
9c8e0aa0e4
Feat/multiple brains frontend (#344)
* 🗑️ remove date input from fetch_user_id_from_credentials

* ♻️ refactor backend utils by splitting it into files

* 💡 comments for next actions to update /upload

* 🚚 move SupabaseProvider tp libs

* 🚚 move useAxios to hooks

* ♻️ refacto brain routes

* 🚨 update lintermfor paths

*  new brain context provider

*  new brain component in navbar

* 🚨 fix linter and async

* 🇸🇪 add feature flag for multiple-brains
2023-06-20 16:17:13 +02:00