Commit Graph

396 Commits

Author SHA1 Message Date
Antoine Dewez
b5e2d5ad9c
feat(frontend): Add Brain On Search Page (#2067)
# Description

- Implement Icon Component
- Implement TextButton Component
- Change Add Brain Button And Set it in the Search Page
- Fix Errors When sending empty message
- Change EsLint rules

## 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):
2024-01-22 17:37:45 -08:00
Antoine Dewez
f17e22ca49
fix(frontend): remove actions modal (#2054)
# 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):
2024-01-21 22:36:06 -08:00
Antoine Dewez
e7fa4e28f1
fix(frontend): font size on chat feed (#2051)
# 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):
2024-01-21 19:45:13 -08:00
Antoine Dewez
1cf0e1a164
feat(frontend): handle mentions in search bar (#2049)
# Description

- Handle mentions in search bar
- Add a Loader Icon component and use it in Search Bar
- Custom Placeholder possible on Editor Component
- Remove unused useEditorStateUpdater
- Fix Bug when Enter was typed

## 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):
2024-01-21 18:13:20 -08:00
Antoine Dewez
cdf5398ff5
fix(frontend): don't set default brain as current brain and remove change brain button (#2047)
# 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):
2024-01-21 16:12:30 -08:00
Antoine Dewez
7ca979cafc
fix(frontend): translate configure for brains and successfully deleted for chat (#2042)
# 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):
2024-01-21 11:01:12 -08:00
Antoine Dewez
fe42c9a82d
fix(frontend): set chat messages only if needed (#2040)
# 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):
2024-01-20 18:39:27 -08:00
Antoine Dewez
a99d23cf83
fix(frontend): don t load chat items on search (#2036)
# 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):
2024-01-20 13:23:38 -08:00
Antoine Dewez
a573c72faf
fix(frontend): chat still refreshs on first request (#2034)
# 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):
2024-01-20 12:52:47 -08:00
Antoine Dewez
1dfd5dccca
fix(frontend): chat refreshed on first search request (#2033)
# 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):
2024-01-20 12:04:03 -08:00
Stan Girard
577fbb4053
feat: adding search (#2031)
# 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):

---------

Co-authored-by: Zewed <dewez.antoine2@gmail.com>
Co-authored-by: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
2024-01-19 22:56:24 -08:00
Stan Girard
d0b8b797f6
feat(search): new way to interact with Quivr (#2026)
Co-authored-by: Zewed <dewez.antoine2@gmail.com>
Co-authored-by: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
2024-01-19 20:34:30 -08:00
Zewed
775118b90f
fix(frontend): wrong placeholder message date (#2023)
# 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):
2024-01-17 14:49:39 -08:00
Zewed
97efbc13ca
fix(frontend): remove right panel and reduce chat section width (#2012)
# 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):

---------

Co-authored-by: Antoine Dewez <antoinedewez@MacBook-Pro-de-Antoine.local>
2024-01-13 14:52:21 -08:00
Stan Girard
a65eb5a9cd
feat: 🎸 models (#1967)
updated available models

# 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):
2024-01-04 01:14:03 +01:00
Stan Girard
47fcfac549 Revert "feat: 🎸 posthog (#1945)"
This reverts commit ea7ea600b2.
2024-01-02 10:23:40 +01:00
Stan Girard
ea7ea600b2
feat: 🎸 posthog (#1945)
added reverse proxy

# 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):
2024-01-02 10:03:49 +01:00
Stan Girard
a5df70b061
feat: 🎸 posthog (#1938)
improve analytics

# 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-12-30 00:53:47 +01:00
Stan Girard
5beb5c6829
feat: 🎸 posthog (#1936)
identify init

# 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-12-29 23:45:36 +01:00
Stan Girard
95e3c298b1
feat: 🎸 pricing (#1935)
improved free tier visibility

# 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-12-29 18:22:56 +01:00
Stan Girard
aac04457ef chore: 🤖 posthog
removed unused bootstrap
2023-12-28 23:13:17 +01:00
Stan Girard
31d7f8b864
feat: 🎸 posthog (#1931)
added bootstrap small power user

# 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-12-28 16:39:51 +01:00
Stan Girard
0208cd97d1
feat: 🎸 posthog (#1927)
added analytics

# 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-12-28 11:03:05 +01:00
Stan Girard
f980e32bb2
feat(pricing): added testimonials and else (#1925)
# 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-12-27 15:39:02 +01:00
Stan Girard
80159201ae
feat: 🎸 pricing (#1923)
added page for pricing

# 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-12-27 15:08:44 +01:00
Stan Girard
7f9eedb15c
docs: ✏️ homepage (#1922)
added link to docs

# 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-12-27 14:31:30 +01:00
Mamadou DICKO
2f68b445db
feat: update brain details page (#1910)
Issue https://github.com/StanGirard/quivr/issues/1908

Demo: 


https://github.com/StanGirard/quivr/assets/63923024/3be5d58c-4052-4c06-8434-920d4db0365e
2023-12-18 18:02:34 +01:00
Mamadou DICKO
7480e89fa9
feat: add new brain management page (#1906)
Issue: https://github.com/StanGirard/quivr/issues/1902

Demo:



https://github.com/StanGirard/quivr/assets/63923024/33170c91-3bdc-442a-918a-5013b423f8e5
2023-12-18 14:23:45 +01:00
Mamadou DICKO
e885574d1e
feat: update brains library (#1903)
Issue: https://github.com/StanGirard/quivr/issues/1889

Demo:



https://github.com/StanGirard/quivr/assets/63923024/f9853b7e-e358-4c98-9281-4b0752a29632
2023-12-15 14:09:57 +01:00
Mamadou DICKO
e2c1a027b0
feat: add chat view new design (#1897)
Issue: https://github.com/StanGirard/quivr/issues/1888

- Add Spinner when history is loading
- Change chat messages fetching logic
- Add cha view new design

Demo:



https://github.com/StanGirard/quivr/assets/63923024/c4341ccf-bacd-4720-9aa1-127dd557a75c
2023-12-14 16:22:09 +01:00
Mamadou DICKO
cb4148fc50
feat: add default feed button label (#1892)
Demo: 



https://github.com/StanGirard/quivr/assets/63923024/c25e5892-be59-47ed-b1ea-8ce6bcc50214
2023-12-14 11:33:59 +01:00
Mamadou DICKO
bc2b012e47
fix: update chat history fetching logic (#1891)
Demo:



https://github.com/StanGirard/quivr/assets/63923024/fb2b5e83-5387-4198-afc5-4374281f0a32
2023-12-14 11:29:04 +01:00
Mamadou DICKO
0cc917ea9e
feat: add Menu bar (#1885)
Issue: https://github.com/StanGirard/quivr/issues/1884

- Add new sidebar (Menu)
- Add Menu to App level (shared accross all pages) and display it only
on chat bar
- Remove chatlist from sidebar (they are now accessible through Actions
bar (plus button on right of chat input)
- Move notification banner to App.tsx
- Update translations

Demo:



https://github.com/StanGirard/quivr/assets/63923024/53b1bf3b-db1a-49d7-ae84-80423d66ec03
2023-12-14 10:15:38 +01:00
Mamadou DICKO
9eb6120c6f
feat: allow user to feed brain from Actions bar (#1882)
Issue: https://github.com/StanGirard/quivr/issues/1881

Demo:



https://github.com/StanGirard/quivr/assets/63923024/348c7b17-84ca-46a3-89e3-3a00a621af69
2023-12-14 09:48:46 +01:00
Mamadou DICKO
3ed0ea15bb
feat: allow user to control left panel from Chat input (#1880)
Issue: https://github.com/StanGirard/quivr/issues/1866

- Use context to control sidebar open status
- Control sidebar through chat bar
- Persist sidebar status after page change

Demo:



https://github.com/StanGirard/quivr/assets/63923024/b9750198-e68d-47a7-b266-627a01586512
2023-12-13 20:56:07 +01:00
Mamadou DICKO
5f114c26d6
feat: add chat history to Actions modal (#1877)
Issue: https://github.com/StanGirard/quivr/issues/1865

Demo:


https://github.com/StanGirard/quivr/assets/63923024/e7a2fec9-0eac-4f92-9e99-a0bf3cec8e73
2023-12-13 15:02:49 +01:00
Mamadou DICKO
14537524df
feat: add action modal change brain button (#1876)
Issue: https://github.com/StanGirard/quivr/issues/1864

Demo:



https://github.com/StanGirard/quivr/assets/63923024/3160d56d-2200-4c96-bb80-25cf45510fcb
2023-12-13 11:55:15 +01:00
Mamadou DICKO
64953d1d77
feat: add selected brain tag and new discussion button to actions modal (#1873)
Issue: https://github.com/StanGirard/quivr/issues/1863

Demo:


https://github.com/StanGirard/quivr/assets/63923024/d1ca33de-6095-41a9-8d87-4ae6f841f5de
2023-12-13 09:21:30 +01:00
Mamadou DICKO
a30042f0fc
feat: add new actions modal (#1870)
Issue: https://github.com/StanGirard/quivr/issues/1861
- Update Quivr font
- Add Actions modal
- Update Popover component
- Move Chat config to Actions modal

Demo:


https://github.com/StanGirard/quivr/assets/63923024/df3ac138-6950-46fe-8e40-6276005c7ef1
2023-12-13 08:54:35 +01:00
Stan Girard
f28e009d98 Add frontend app platform subproject 2023-12-13 01:05:13 +01:00
Stan Girard
b02b1cbb52 Remove submodule 2023-12-13 00:56:34 +01:00
Stan Girard
80e2c08d14 Re-add submodule 2023-12-12 23:54:54 +01:00
Stan Girard
2c7f2cadcc Fix submodule path and update chat page styles 2023-12-12 23:26:31 +01:00
Mamadou DICKO
7aec3462d8
feat: add brains list overflow indicator (#1842)
Issue: https://github.com/StanGirard/quivr/issues/1835

Demo:



https://github.com/StanGirard/quivr/assets/63923024/efd0795e-dd4a-45d6-bc53-56f630e94cb6
2023-12-06 18:54:22 +01:00
mamadoudicko
ab58f95d48 feat: update onboarding questions answer 2023-12-06 15:37:30 +01:00
Mamadou DICKO
51de056e5f
feat: finalise steps based brain creation (#1825)
Issue:
https://github.com/users/StanGirard/projects/5/views/2?pane=issue&itemId=46291978

- Finalise steps based brain creation
- Remove feature flag
- 
Demo:

<img width="1068" alt="Screenshot 2023-12-05 at 18 05 52"
src="https://github.com/StanGirard/quivr/assets/63923024/99e38cab-d510-4bb5-8153-b0db406d1650">




https://github.com/StanGirard/quivr/assets/63923024/1850e2bd-5df1-43fe-be9e-261a3b90af2b



https://github.com/StanGirard/quivr/assets/63923024/c7335679-b090-40ac-aece-fbaae0303d51
2023-12-06 10:12:03 +01:00
Mamadou DICKO
77410f04b8
feat: add brain creation steps system (#1814)
Issue: https://github.com/StanGirard/quivr/issues/1769

- Turn brain creation into steps
- Add first step content
- Add feature flag

Demo:


https://github.com/StanGirard/quivr/assets/63923024/1ce33a3a-86ea-4051-ba02-f95b7478411e
2023-12-05 11:52:56 +01:00
Jezla
0fb4587161
fix: text not clear in dark mode (#1804)
# Description
Text color was being overridden.

Removed `text-gray-800` in MessageContent.tsx.

## Checklist before requesting a review

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code

## Screenshots (if appropriate):
Before:

![287382835-049862f4-a5b3-4899-88fa-569edade0e66](https://github.com/StanGirard/quivr/assets/32915176/f81c30f1-a4ad-4e25-a2a8-cce705ec3966)

After:

![image](https://github.com/StanGirard/quivr/assets/32915176/472bf6ed-1739-40be-85e2-1ccda4515043)

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-12-05 00:36:48 +01:00
Mamadou DICKO
604b55a99e
feat: track response source usage (#1810)
Issue: https://github.com/StanGirard/quivr/issues/1774
2023-12-04 12:41:12 +01:00
Mamadou DICKO
8d173bdcc6
fix: update editor state update logic (#1809)
Issue: https://github.com/StanGirard/quivr/issues/1779

Demo:


https://github.com/StanGirard/quivr/assets/63923024/5c5ff2fb-7856-4600-ad0b-82561793af78
2023-12-04 12:04:18 +01:00