Commit Graph

106 Commits

Author SHA1 Message Date
Mamadou DICKO
f65e2f07e5
fix: persist api brain creation data on tab change (#1680)
Demo: 


https://github.com/StanGirard/quivr/assets/63923024/7789e213-738c-4387-a8f2-d5653d39f676
2023-11-21 17:37:17 +01:00
Mamadou DICKO
d7d10e3674
feat(apiBrain): add api brain secrets field in knowledge tab (#1669)
Issue: https://github.com/StanGirard/quivr/issues/1572

Demo: 


https://github.com/StanGirard/quivr/assets/63923024/192ea114-c1a2-4fb1-8226-2c77a41129a7
2023-11-20 18:11:39 +01:00
Mamadou DICKO
3da64c0b0e
feat: update brain modal in chat input (#1668)
Issue: https://github.com/StanGirard/quivr/issues/1571

Demo:



https://github.com/StanGirard/quivr/assets/63923024/e7a6118e-29f8-44aa-af4b-0ea1b8013a33
2023-11-20 18:04:26 +01:00
Stan Girard
d955e31f50
feat: 🎸 marketplace (#1657)
added explore button and removed unused feature openai key

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2023-11-19 18:46:12 +01:00
Mamadou DICKO
9522d6b71f
fix: allow user to set a brain as public after creation (#1646)
Issue: https://github.com/StanGirard/quivr/issues/1647


- Refactor brain management page settings tabs hooks: use context
- Fix brain status change 

Demo:



https://github.com/StanGirard/quivr/assets/63923024/073be02f-394c-4887-8572-ff293792c023
2023-11-16 18:57:12 +01:00
Mamadou DICKO
f54c2a19c1
fix(apiBrain): fix default type selection (#1642)
Issue: https://github.com/StanGirard/quivr/issues/1643
2023-11-16 15:52:44 +01:00
Mamadou DICKO
fb4cfdcf9c
feat: add public api brain subscription (#1636)
Issue: https://github.com/StanGirard/quivr/issues/1570
2023-11-16 11:04:12 +01:00
Mamadou DICKO
223af1d3f6
feat: add api brain creation frontend (#1631)
Issue: https://github.com/StanGirard/quivr/issues/1607

Demo:



https://github.com/StanGirard/quivr/assets/63923024/a087d856-e201-4b88-80b3-b001d7bb6b16
2023-11-15 12:42:19 +01:00
Zineb El Bachiri
12903c4bb4
feat: api definition in brain creation modal (#1613)
# Description

https://github.com/StanGirard/quivr/issues/1569

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

---------

Co-authored-by: mamadoudicko <mamadoudicko100@gmail.com>
2023-11-14 10:56:22 +01:00
Mamadou DICKO
5c732f1253
fix: fix button bad children error (#1564)
Issue: https://github.com/StanGirard/quivr/issues/1498
2023-11-03 09:48:06 +01:00
Mamadou DICKO
867904f19d
feat: add remote notification config (#1547)
Issue: https://github.com/StanGirard/quivr/issues/1503

Demo:




https://github.com/StanGirard/quivr/assets/63923024/fc354768-e25b-4d16-8e40-bfdbf950ddcd
2023-11-02 19:20:07 +01:00
Mamadou DICKO
9be4a57979
feat: improve ux (#1522)
Issues:
https://github.com/StanGirard/quivr/issues/1497
https://github.com/StanGirard/quivr/issues/1495
https://github.com/StanGirard/quivr/issues/1506

1. feat(chatInput): increase upload button size
2. feat(brains-library): add Spinner on loading
3. feat: improve logout ux

![Screenshot 2023-10-30 at 11 48
58](https://github.com/StanGirard/quivr/assets/63923024/fb8e0848-b349-4fbd-a7a5-ff43a73ae364)


https://github.com/StanGirard/quivr/assets/63923024/cbd7cd42-e58a-49fb-9867-97f19dde9270



https://github.com/StanGirard/quivr/assets/63923024/a69b6b28-1c19-43e7-a02b-1df215a34a2e
2023-10-30 14:52:47 +01:00
Matthieu Jacq
c2bf3adc24
feat: remove legacy header and footer (#1509)
# Description

Also add a back to chat button in the user page to make up for the loss
of the legacy header.

## Screenshots (if appropriate):

<img width="754" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/ad6d92a6-2f57-464f-b002-ec94f37a1ccd">
2023-10-26 18:23:36 +02:00
Zineb El Bachiri
c73529885f
fix: minor fixes (#1499)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2023-10-26 11:54:26 +02:00
Mamadou DICKO
7e70e4fc84
feat: add new signin/login page (#1492)
Issue https://github.com/StanGirard/quivr/issues/1404



https://github.com/StanGirard/quivr/assets/63923024/703fedf3-2f39-407b-afc2-78318829ca0f
2023-10-26 09:48:41 +02:00
Matthieu Jacq
c3acb2901c
feat: remove feature flags for homepage (#1493) 2023-10-26 09:05:21 +02:00
Matthieu Jacq
d311a53b6f
feat: manage plan (#1488)
# Description

- add crown on premium user
- link to manage plan in page `/user`

## ⚠️ Before merging

Setup env variable:
```env
NEXT_PUBLIC_STRIPE_MANAGE_PLAN_URL=<ignore-me-or-change-me>
```

## Screenshots (if appropriate):

<img width="290" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/a87b0f7e-b07c-4f4e-b9d2-515ac25ebf05">

<img width="318" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/6a4f4f72-8c75-45da-9468-cae1a8d28935">
2023-10-25 16:11:17 +02:00
Matthieu Jacq
ee7af51c4d
feat: upgrade button in user settings (#1484)
# Description

Epic: #1429
User Story: #1431

- Add an upgrade button in user settings.
- Remove hover links on sidebar buttons (otherwise the link could
partially hide the button)

## Screenshots (if appropriate):

<img width="749" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/6265ba2b-8d91-4ee8-abb3-98417ad91076">

<img width="803" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/c13ce60b-a54d-44d7-a622-bcb1200ddb81">
2023-10-25 12:42:53 +02:00
Matthieu Jacq
56d1f94b62
feat: upgrade to plus button (#1482)
# Description

Epic: #1429 
User Story: #1430 

## Pour la mise en preview / prod:

- Mettre à jour l'environnement

```env
NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=<change-me>
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=<change-me>
```

- Activer le feature flag `monetization` (booléen)

## Screenshots (if appropriate):

Button:
<img width="289" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/c0f7321e-2f48-4462-aab9-fd1c6f4282cd">

Modal:
<img width="843" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/28082680-1126-44db-bf77-76ae7474747f">
2023-10-24 18:26:48 +02:00
Matthieu Jacq
f90c43cc42
feat: contact sales page (front layout) (#1451)
# Description

Epic: #1232
Issue: #1443

## Screenshots (if appropriate):

### 🖥️ Desktop

<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/dce63bf7-0046-4f2b-9633-bdc34a1b0893">


### 📱 Mobile

<img width="338" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/8828b5bc-3819-4774-9d77-d60fbff72e6c">
2023-10-20 15:38:35 +02:00
Mamadou DICKO
1cd99ae234
feat: add testimonials section (#1427)
Issue: https://github.com/StanGirard/quivr/issues/1428


https://github.com/StanGirard/quivr/assets/63923024/b0b25f3e-d038-4740-b581-e3c256d89902
2023-10-18 17:36:29 +02:00
Mamadou DICKO
0d70ad4362
feat: add security section (#1423)
Issue: https://github.com/StanGirard/quivr/issues/1424



https://github.com/StanGirard/quivr/assets/63923024/a64b7456-6efc-40e6-9f0a-89552a372e0a
2023-10-18 15:21:15 +02:00
Matthieu Jacq
7e88032dc9
feat: new homepage header (#1382)
## Relates to

Epic: #1232 
Issue: #1377 

## 🚩 Feature flag

Use in growthbook the flag: `new-homepage-activated` (boolean)

## 📷 Screenshots

### 🖥️ Desktop

<img width="1059" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/e0bae17a-bb94-4ba8-8dc3-a79d18f5d933">

### 📱 Mobile

<img width="377" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/af8398dc-d9df-4034-a329-49aae3b2bf45">

<img width="375" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/c5d53051-939e-49df-9c0a-212eff576b34">

---------

Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
2023-10-11 18:36:16 +02:00
Mamadou DICKO
b9172b7442
feat: track onboarding events (#1388)
https://github.com/StanGirard/quivr/issues/1386
2023-10-11 15:56:28 +02:00
Matthieu Jacq
5bd53ffc84
refactor: Enable linting on login+signup page and hooks (#1369)
#1366
2023-10-10 13:27:43 +02:00
Nick Guernsey
253e866a86
feat: enhance user page UI (#1319)
# Description

Hope ya'll don't mind, I updated the User Profile's UI to be a bit more
readable. Kept the design neutral to not impose styles.

I also kept the original toggle buttons for Theme and Language in case
we still want to use those in other places in the app, where a select
menu isn't necessary.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):


https://github.com/StanGirard/quivr/assets/64866427/d0320852-ece1-4002-a180-0005df132e71


https://github.com/StanGirard/quivr/assets/64866427/be3c67ec-8d42-44f9-8131-35a70aec20ef

---------

Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-10-05 17:50:02 +02:00
Matthieu Jacq
f030db6952
feat: restructure the sidebar of the brains management page (#1325)
* 🧩 Possibility to chose which buttons to display in the sidebar

* Button "Back to chat"

* 💄 Remove the frame around the brains library page

* Give a size to the image in the profile button (for performance)

* Optional prop showButtons in the sidebar

* remove duration on waitFor and set sidebar animation duration to 200ms
2023-10-04 18:12:27 +02:00
Matthieu Jacq
945178de39
fix: 🐛📱 height now matches mobile height (#1323) 2023-10-04 12:04:57 +02:00
Matthieu Jacq
a61a18f4f4
fix: replace next/image's layout deprecated attribute (#1313) 2023-10-03 16:52:31 +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
Matthieu Jacq
1e0c0c4a54
fix: 🐛 Sidebar content should not hide the sidebar footer (#1298) 2023-10-02 15:36:40 +02:00
Matthieu Jacq
c140b9c517
feat: responsive sidebar (#1279)
* 💄 The chat sidebar takes the full height

* 💄 redesign of the action section and buttons in the sidebar

*  Sidebar header

* ♻️  Refact sidebar filesystem structure

* ♻️  Create a separate reusable sidebar component

* 🐛 Fix sidebar quick open/close on mobile

* 💄 New open/close sidebar button

* fix: error message + sidebar height issue + mobile width incoherence

* ♻️  Rename and move the sidebar footer

* 💄 sidebar toggle: color on hover

* apply sidebar to brains-management

* 💄 Larger sidebar

* 🚨Pass existing tests

*  Test the sidebar

*  Test the open and close buttons in the sidebar
2023-10-02 14:42:23 +02:00
Nick Guernsey
92494aa6c6
fix(Select): fix JSX typo (#1292)
* fix: fixed clipRule typo

* fix: fill-rule typo
2023-10-02 09:33:18 +02:00
Mamadou DICKO
a1e6d400b2
test: add e2e for crawling (#1288)
* feat: update translations

* fix: update createBrain tests

* test: add crawl e2e test
2023-09-29 13:15:37 +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
Zineb El Bachiri
b64fc044c4
feat: knowledge tab add button (#1277)
* 🚧 🌐 knowledge traductions

* 🔥 replace useKnowledge hook

*  AddKnowledge in knowledge  tab

* 🚧 extract feedBrain in chat hook

* ♻️ use feedBrain method as a prop in KnowledgeToFeedInput

*  custom feedBrain for chat and brain management

*  add loader when deleting

* 🚑 remove chat after auto creation for each feed action

* 🚚 rename KnowledgeProvider into KnowledgeToFeedProvider
2023-09-28 15:39:30 +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
ef2bada3a5
style: improve ui (#1263)
* feat: align brain acces status change confirmation buttons

* style(brainManagement): reduce remove/unsubscribe button margin

* style(brainManagement): align confirmationModal buttons

* feat: update modal display status logic

* feat(BrainsLibrary): add brains management button

* style: improve public brain item ui

* style: make brain library responsive

* feat: auto close subscription modal on subscribe

* feat: add empty brain description message

* test: fix failing linter tests
2023-09-27 09:50:27 +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
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
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
Mamadou DICKO
37935c59ca
feat: add public brain creation (#1218)
* feat: add brain status input

* feat: update translations

* feat: add confirmation modal for brain status changing to public
2023-09-20 09:35:09 +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
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
4fb8c34efd
fix(usersettings): Fix bugs with user settings in the back always gpt-3.5-turbo (#1183)
* fix

* feat(gpt4): added support for gpt4
2023-09-16 00:22:42 +02:00