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
Zineb El Bachiri
1d7bc8a5bc
Devx/add linter rules ( #331 )
...
* remove duplicate import
* 🚧 add new linter configuration
* 🧑💻 add and run prettier
* 🐛 add babel parser for linter
* 🧑💻 add lint-fix command
* 🚨 use lint-fix
* 🚨 remove 'FC' as a type. Use const and JSX.Element
* 🚨 enforce arrow function rule from linter
* 🔥 delete unused file
* 🚨 adding /* eslint-disable */ in failing files
* 💩 add ts-expect-error to Victory components
2023-06-15 11:52:46 +02:00
Aditya Nandan
98c409176d
Style /user route ( #271 )
...
* style(user): remove mui and complete overhaul of the layout
* docs(user): add useful comments
* fix(build): empty interface
* chore(comment): removed
---------
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-06 17:32:48 +02:00
Zineb El Bachiri
a5c71be731
Feat/user page ( #255 )
...
* ✨ new backend get /user endpoint
* ✨ new user page for statistics
* 📦 add @mui/material & its dependencies
📦 add prettyBytes package
* 🌱 new UserStatistics component for user page
* 🏷️ use RequestStat type for requests_stats
* ✨ new brainConsumption component
* ✨ new Date component
* 📦 add date-fns, victory
* ✨ requests per day chart
* ✨ full UserStatistics component
* ✨ put UserStatistics in Card in user's page
2023-06-05 17:58:59 +02:00