Commit Graph

408 Commits

Author SHA1 Message Date
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
Stef Bloom
8a8e3d1a65
style(prompts): update public prompts dropdown styling (#1563)
# Description

In https://www.quivr.app/brains-management, the Custom Prompt dropdown
is partially covered by the cu

## Checklist before requesting a review

Please delete options that are not relevant.

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

## Screenshots (if appropriate):

![quivr-custom-prompt-after](https://github.com/StanGirard/quivr/assets/149593769/7a063624-dea5-41f2-bcfb-369b60387bbd)

![quivr-custom-prompt-before](https://github.com/StanGirard/quivr/assets/149593769/5c42dd45-3af8-44b3-9137-121ec5a0bce6)

![quivr-custom-prompt-light-mode-before](https://github.com/StanGirard/quivr/assets/149593769/4872c5d0-1a0f-4ed9-9d2e-8acba3841953)
2023-11-02 18:36:47 +01:00
Stan Girard
3a9b7164b5
feat: 🎸 docs (#1561)
added algolia

# 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-02 14:42:39 +01:00
Jerry Shang
eb682c7219
fix: missing or inaccurate zh-cn translations (#1558)
# Description

There are some missing(like some russian and traditional chinese words)
or inaccurate texts in zh-ch locale.

## Checklist before requesting a review

Please delete options that are not relevant.

- [x] My code follows the style guidelines of this project
- I am confusing that not all the json files have same indent spaces. I
am not sure is it ok that the 4-spaces ones were changed to 2-spaces. 😅
- [x] I have performed a self-review of my code

## Screenshots (if appropriate):
2023-11-02 09:52:21 +01:00
Stan Girard
5eed1a05cb
feat: 🎸 telegram (#1555)
added loaders and compatibility

# 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-01 22:09:04 +01:00
Zineb El Bachiri
0c58a4bb0e
refactor: extract prompt from settings (#1546)
# Description

- Refactor useSettingsTab by extracting usePrompt and methods in utils
- Fix bug #1545 

## 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-01 16:45:22 +01:00
Zineb El Bachiri
a81f3328c8
fix: prompt update in brains management settings tab (#1543)
# Description

#1540 

## 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-01 13:45:40 +01:00
Mamadou DICKO
2ffa0f3ff4
feat: allow to share a public brain link (#1541)
Issue: https://github.com/StanGirard/quivr/issues/1539

Demo:



https://github.com/StanGirard/quivr/assets/63923024/ec0dcaa9-3c61-4a2a-a653-bceec435ad60
2023-11-01 12:18:08 +01:00
Stan Girard
b330370d8c
feat: 🎸 max-token (#1538)
added limit to 4k for gpt4

# 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-01 08:52:49 +01:00
Mamadou DICKO
e3925bcbc0
feat(brainSettings): rework knowledge tab (#1534)
Issue: https://github.com/StanGirard/quivr/issues/1435

- feat(knowledgeTab): update structure
- refactor: change AddKnowledge structure
- feat: change AddKnowledge component structure
- feat: rework sources logic
- feat: change knowledge tab upload process
- fix: change knowledge tab fetch, create, update logic
- feat: improve added knowledge ui
- style: improve responsivity

Fix: 
- https://github.com/StanGirard/quivr/issues/1516
- https://github.com/StanGirard/quivr/issues/1336
- https://github.com/StanGirard/quivr/issues/1204




https://github.com/StanGirard/quivr/assets/63923024/f2917bf3-4ff8-42c6-8149-0b36287441b4
2023-10-31 19:02:26 +01:00
Mamadou DICKO
6c49b73577
fix: update mutation pending flag (#1530) 2023-10-31 12:00:50 +01:00
Mamadou DICKO
211a56d127
chore: update tanstack query dep (#1528) 2023-10-31 11:48:59 +01:00
Stan Girard
90ee40f9f2
Feat/docs rework (#1525)
# 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-30 20:53:39 +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
d5437eef5f
fix: hidden video playing automatically on iphone (#1514) 2023-10-28 00:11:22 +02:00
Zineb El Bachiri
f7ae27b9cc
refactor(settings tab): extract components (#1335)
# Description

Extract the components from the settingsTab to increase readability of
file and allow refactoring of huge useBrainSettings hook

## 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-27 12:52:39 +02:00
Matthieu Jacq
f810d8fbf3
fix: black horizontal line sometimes appearing below section (#1510) 2023-10-26 18:51:14 +02: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
Mamadou DICKO
e15177b7ab
feat: update form content on magic link auth request (#1502)
Issue: https://github.com/StanGirard/quivr/issues/1407



https://github.com/StanGirard/quivr/assets/63923024/63d36681-f614-456f-8f65-9b726258f709
2023-10-26 15:49:00 +02:00
Matthieu Jacq
202daac77a
feat: remove onboarding's feature flag (#1501)
# Description

US: #1490
2023-10-26 15:41:12 +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
639ea3884e
fix: failing build (removed avatar alt prop) (#1487) 2023-10-25 13:22:12 +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
Stan Girard
02fd837cd7
feat: 🎸 sitemap (#1483)
added sitemap
2023-10-24 22:21:12 +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
Mamadou DICKO
32843c6d7f
fix: update blog link position (#1476) 2023-10-24 14:28:29 +02:00
Stan Girard
cc9efdce24 chore: 🤖 landing
put second in majuscule
2023-10-24 14:17:36 +02:00
Mamadou DICKO
1bbb1db3fa
fix: make use cases clickable (#1475) 2023-10-24 14:13:54 +02:00
Mamadou DICKO
31ecde773a
feat(homepage): add analytics (#1474) 2023-10-24 13:55:42 +02:00
Matthieu Jacq
f91247c6c7
feat: contact sales submission (#1473)
# Description

Epic: #1232 
US: #1446

Send email address and message content to the backend. Display a loader
in loading state and a toast message on error.
2023-10-24 13:54:28 +02:00
Mamadou DICKO
85530d4ba5
feat: add sponsor and blog links (#1472)
Issue: https://github.com/StanGirard/quivr/issues/1470


<img width="539" alt="Screenshot 2023-10-24 at 12 09 30"
src="https://github.com/StanGirard/quivr/assets/63923024/97cc1d8c-90a5-4656-83cd-99ca68f1432c">
<img width="1512" alt="Screenshot 2023-10-24 at 12 09 16"
src="https://github.com/StanGirard/quivr/assets/63923024/92a78ea1-dee6-469d-b452-9e6ecfba888c">
2023-10-24 12:12:16 +02:00
Stan Girard
8f8b97c83a fix(blog): fixed use client 2023-10-23 22:31:28 +02:00
Stan Girard
4024d2c05c feat: 🎸 blog
added link to rollback
2023-10-23 22:00:42 +02:00
Stan Girard
623b4f0a52 feat(blog): added nice style 2023-10-23 21:28:36 +02:00
Stan Girard
7a750c54a4 feat: 🎸 cms
added seo objects
2023-10-23 19:46:58 +02:00
Stan Girard
04b4abc505 feat: 🎸 cms
added blog seo object
2023-10-23 19:24:11 +02:00
Mamadou DICKO
c47548d3cd
feat: setup premium feature backend (#1467)
Issue: https://github.com/StanGirard/quivr/issues/1468
2023-10-23 18:19:04 +02:00
Mamadou DICKO
a0a324a568
feat: fetch security questions from CMS (#1464)
ISSUE: https://github.com/StanGirard/quivr/issues/1462
2023-10-23 14:06:26 +02:00
Matthieu Jacq
9f1fabc043
feat: validate email and required question with react-hook-form (#1463)
## Linked to

Epic: #1232 
Issue: #1454

## Description

Validate required fields and email pattern using react-hook-form.
2023-10-23 14:06:04 +02:00
Matthieu Jacq
7d40a27ad2
feat: Contact form component (#1453)
# Description

Only the form, no validation, no post to the server.

## Screenshots (if appropriate):

### 🖥️ Desktop

<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/537fb03e-72fb-4204-bdbf-ab716543b280">

After submitting:
<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/72c78e16-4dc0-4ae1-8915-406d70b96ae9">


### 📱 Mobile

<img width="452" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/b6077f9b-7cad-4e63-8168-49b32d757620">
2023-10-23 11:29:51 +02:00
Mamadou DICKO
5794c55501
feat: fetch demo video from CMS (#1461)
Issue: https://github.com/StanGirard/quivr/issues/1460
2023-10-23 11:18:57 +02:00
Chekkal Youcef Seif El Islam
bb1e2e35db
Fix: Improved Text Visibility in Dark Mode in OnboardingQuestion Component (#1456)
# Description

In this pull request, I addressed an issue with text visibility in dark
mode within the OnboardingQuestion component. The problem was resolved
by modifying the class name.

## Changes Made

I changed the class name in the OnboardingQuestion component from:

```Tailwind
cursor-pointer shadow-md dark:shadow-primary/25 hover:shadow-xl transition-shadow bg-onboarding-yellow-bg px-3 py-1 rounded-xl border-black/10 dark:border-white/25
```

to:

```Tailwind
cursor-pointer shadow-md dark:shadow-primary/25 hover:shadow-xl transition-shadow bg-onboarding-yellow-bg px-3 py-1 rounded-xl border-black/10 dark:border-white/25 dark:text-black
```

## Motivation

The motivation for this change is to improve the visibility of text in
dark mode, making the user experience better and ensuring that the UI
remains consistent.

## Checklist before requesting a review

- [ ] My code follows the style guidelines of this project.
- [ ] I have performed a self-review of my code.
- [ ] I have added comments to explain any hard-to-understand areas.
- [ ] I have not added tests in this specific pull request, as this
change primarily deals with CSS class modification.
- [ ] New and existing unit tests pass locally with my changes.
- [ ] No dependent changes are required for this fix.

## Screenshots (if appropriate)

### Problem Before Fix
![Problem Before
Fix](https://raw.githubusercontent.com/Dev-Dz27/quivr/patch-1/frontend/public/Web%20capture_22-10-2023_19154_www.quivr.app.jpeg)

### Fix Applied
![Fix
Applied](https://raw.githubusercontent.com/Dev-Dz27/quivr/patch-1/frontend/public/Web%20capture_22-10-2023_19416_www.quivr.app.jpeg)
2023-10-23 09:56:24 +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
6514358796
feat: fetch homepage data from CMS (#1452)
Issue: https://github.com/StanGirard/quivr/issues/1448
2023-10-20 15:36:55 +02:00
Mamadou DICKO
4345eac76e
style: update testimonials display (#1441)
https://github.com/StanGirard/quivr/assets/63923024/d03c321f-c3d4-472e-9a9f-c10288523831
2023-10-19 17:55:52 +02:00
Matthieu Jacq
89858b5d03
fix: show a flat gradient in the UseCase section (#1440)
Ticket : #1438 

<img width="1098" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/3ad4a6f1-37b6-4ead-b115-8e159281104f">
2023-10-19 17:53:00 +02:00
Matthieu Jacq
9a7c821e80
feat: homepage first section (#1439)
# Description

First section layout and assets.

## Screenshots (if appropriate):

#### 💻 Laptop

<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/7441e2a1-5d97-4554-8971-def66a10ab8c">


#### 📱Mobile

<img width="616" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/d48f8986-e61f-4021-9c69-cf178506d100">
2023-10-19 17:51:38 +02:00