Commit Graph

126 Commits

Author SHA1 Message Date
Charles Bochet
349caacb9f
Update local setup doc (#726)
* Update local setup doc

* Update docs
2023-07-17 21:15:57 -07:00
Charles Bochet
a975935f49
Connect profile picture upload to backend (#533)
* Connect profile picture upload to backend

* Fix tests

* Revert onboarding state changes
2023-07-07 17:50:02 -07:00
Emilien Chauvet
7d6adbaa73
Update company card (#512)
* Add card rows

* WIP - add amount

* Refactor board state to separate pipeline progress data and company data

* Add migration and generated code

* Pass pipeline progress properties to the comapny card

* WIP-editable

* Enable amount edition

* Nits

* Remove useless import

* Fix empty board bug

* Use cell for editable values on company card

* Add fields

* Enable edition for closeDate

* Add dummy edits for recurring and probability

* Nits

* remove useless fields

* Nits

* Fix user provider

* Add generated code

* Fix nits, reorder migrations, fix login

* Fix tests

* Fix lint
2023-07-06 18:41:44 -07:00
Jérémy M
433962321a
feat: onboarding ui flow (#464)
* feat: onboarding ui flow

* fix: route naming and auth

* fix: clean unused imports

* fix: remove react.fc

* fix: infra dev remove package.json

* fix: remove usefull memoization

* fix: button stories

* fix: use type instead of interface

* fix: remove debug
2023-06-30 06:26:06 +00:00
Emilien Chauvet
30fd3320b7
Rename test commands (coverage storybook) (#476)
* Rename test commands

* Add coverage command in doc
2023-06-29 14:06:15 -07:00
Jérémy M
097b278b11
fix: add firstName and lastName to user model (#473)
* fix: add firstname and lastanme to user model

* fix: avoid undefined in displayName resolve field

* fix: user firstName and lastName instead of firstname lastname

* fix: person table proper naming firstName lastName

* fix: migrate front with firstName and lastName

* fix: make front-graphql-generate not working
2023-06-29 15:11:15 +00:00
Charles Bochet
f0bbfb11ee
Fix avatar storybook issue + fix Autosize input send button color (#389)
* Fix avatar storybook issue + fix Autosize input send button color

* Fix storybook font-size
2023-06-25 14:58:34 -07:00
Charles Bochet
98127d1d4c Fix server deploy script 2023-06-16 13:31:29 +02:00
Charles Bochet
f0910b3fbb
Fix doc setup (#302) 2023-06-15 10:37:00 +00:00
Jérémy M
467a1618f0
Update doc & split prisma generate (#299)
* feat: split prisma generate

* fix: update doc
2023-06-15 12:15:57 +02:00
Charles Bochet
d5817608a7
Fix production deploy scripts (#294)
* Fix production server deploy

* Fix production server deploy
2023-06-14 17:53:21 +02:00
Charles Bochet
deee7a0f64 Fix production server deploy 2023-06-14 17:26:14 +02:00
Charles Bochet
ab9643bbb2 Fix prod install scripts 2023-06-14 17:25:16 +02:00
Charles Bochet
16fbe5a607 Fix prod install scripts 2023-06-14 17:23:48 +02:00
Charles Bochet
7a0cdbcd05 Fix production docs deploy 2023-06-14 17:11:12 +02:00
Charles Bochet
78ab7e235f Fix production front deploy 2023-06-14 17:10:08 +02:00
Charles Bochet
5381e28253
Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql (#292)
Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
2023-06-14 17:05:15 +02:00
Félix Malfait
31f3950439
Add a custom rule to prevent colors from being hardcoded outside of theme (#288)
* Add a custom rule to prevent colors from being hardcoded in ESLint

* Refactor colors

* Create packages folder and fix colors

* Remove external dependency for css alphabetical order linting

* Fix install with yarn

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-14 16:56:29 +02:00
Charles Bochet
2395f791c8
Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema

* Add pipe models and migrations

* Add seeds

* Update FE graphql schema
2023-06-02 11:20:21 +02:00
Lucas Bordeau
ed03111439
Fix linting after prisma generate (#158)
* fix: lint generated prisma files.

* Put lint command in server package.json
2023-05-31 08:39:47 +00:00
Charles Bochet
f935a6b723
Re-write test with storybook testing library (#150)
* Re-write test with storybook testing library

* Update CI
2023-05-29 11:02:38 +02:00
Charles Bochet
29fb781c26
Updating server configuration (#145)
Update server deploy staging
2023-05-26 16:30:41 +02:00
Charles Bochet
17f5cf1766 Fix graphql queries 2023-05-26 00:31:43 +02:00
Charles Bochet
61099f99b8
Simplify setup again to run in vscode (#138) 2023-05-25 16:58:33 +02:00
Charles Bochet
34543b7fea
Simplify local dev (#137) 2023-05-25 15:56:28 +02:00
Charles Bochet
80f9cc8797
Re-implement authentication (#136)
* Remove hasura and hasura-auth

* Implement authentication
2023-05-25 11:51:15 +02:00
Charles Bochet
5d06398d2e
Remove hasura and hasura-auth (#134)
* Remove hasura and hasura-auth

* Move all models to prisma

* Start implementing graphql

* chore: clean package json

* chore: make the code build

* chore: get initial graphql.tsx file

* feature: use typegql as qgl server

* refactor: small refactoring

* refactor: clean tests

* bugfix: make all filters not case sensitive

* chore: remove unused imports

---------

Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
2023-05-24 17:20:15 +02:00
Félix Malfait
96e3f2c7ea
Small fixes: broken links and unused files (#116)
* Remove node modules and package.json from root
* Remove unused references to FontAwesome
* Fix documentation link
2023-05-12 10:35:06 +02:00
Felix Malfait
1490f986f2
Fix previous PR (.npmrc no longer needed) 2023-05-03 17:32:22 +02:00
Anders Borch
f28edd405f
I can open the project in GitHub (#92)
* Ignore node_modules

* Use bash-compatible dotenv format

While still being compatible with dotenv, this
also allows sourcing the file to export all
variables in bash.

* Add prettier extension to recommendations

* Move to port 5001 to avoid conflict with macOS services

* Add workspace

* Add devcontainer

This automatically starts with all environment
variables available locally.

It brings up services which are dependent on each
other individually and verifies health before
moving on to the next service.

* Split init into clean, up, and logs tasks.

This allows the developer to set up .env and .npmrc
files before running services, and does not require
starting from a clean db every time the devcontainer
is restarted.

* Copy .env when creating codespace

* Automatically run UP command upon devcontainer creation

* Fix log message

---------

Co-authored-by: Felix Malfait <felix.malfait@gmail.com>
2023-05-03 11:34:10 +02:00
Charles Bochet
571cb6ed5c
Style filter key in bold in filter and search bar (#86)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-27 17:28:17 +02:00
Anders Borch
00f0a36457
Implicitly start hasura console (#88) 2023-04-27 17:28:04 +02:00
Anders Borch
e19a85a5d0
Build fixes (#76)
* Fix compose syntax error

It turns out that docker compose does not like a literal `true`
but it will accept a `"true"` string.

* Added missing && operators
2023-04-26 09:53:11 +02:00
Charles Bochet
4fa80663f6 Build docs for production 2023-04-25 23:46:39 +02:00
Charles Bochet
86586b70c7 Fix Dockerfile docs 2023-04-25 23:27:51 +02:00
Charles Bochet
d2c6a71c9e
Fix server local build (#75)
* Fix server local build

* Build docs locally and for prod

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:47:15 +02:00
Charles Bochet
ae7bad65ca
Setup GraphQL Code Generator (#74)
* chore: add types of schema

* Ease codegen use on FE

* chore: ignore prettier in generated files

* lint: generated files

* feature: strongly type filter of query

* chore: ignore generated files in prettier

* chore: eslint ignore generated files

---------

Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:25:30 +02:00
Charles Bochet
250b51ec4a Fix server build 2023-04-24 17:36:28 +02:00
Charles Bochet
fc4a7d1486 Fix server build 2023-04-24 17:30:12 +02:00
Charles Bochet
f6341a422b Fix server build 2023-04-24 17:24:58 +02:00
Charles Bochet
7b2033e5a4 Fix bug prisma build on server 2023-04-24 17:20:20 +02:00
Charles Bochet
f1058ffcf5 Fix bug prisma build on server 2023-04-24 17:19:21 +02:00
Charles Bochet
ec245f20c6 Build prisma client based on schema 2023-04-24 17:10:50 +02:00
Charles Bochet
6d2c8bbdf9 Assign user to workspace on signin 2023-04-24 14:53:48 +02:00
Charles Bochet
c5f2850a3b Fetch jwt token from hasura-auth with refresh_token 2023-04-21 14:07:02 +02:00
Charles Bochet
cd18e952b9 Store refresh token on login 2023-04-21 09:33:57 +02:00
Charles Bochet
c6938caf93 Add API url in front build 2023-04-20 15:02:20 +02:00
Charles Bochet
6fa71e12b5 Migrate database to default locally 2023-04-20 13:45:59 +02:00
Anders Borch
3cea61d9ed Add mailhog for local smtp 2023-04-19 17:51:15 +02:00
Anders Borch
39ffb0f90b Setup Hasura-auth locally 2023-04-19 17:49:09 +02:00
Charles Bochet
5560476ea0 Fix front deploy 2023-04-18 23:48:53 +02:00
Sammy Teillet
09ee4c91e2
chore: fix version of node images 2023-04-18 16:21:38 +02:00
Sammy Teillet
bba8c592ac
chore: fix build command and improve installation steps 2023-04-18 16:17:01 +02:00
Sammy Teillet
e8f85f2a29
bugfix: sync server files in server container 2023-04-18 15:23:47 +02:00
Sammy Teillet
0639c9d863
chore: add lockfile before npm install 2023-04-18 14:41:07 +02:00
Sammy Teillet
a9bc05372d
chore: run build and start built version 2023-04-18 14:22:52 +02:00
Sammy Teillet
b60ed70e4a
chore: remove libs from production image 2023-04-18 14:22:29 +02:00
Sammy Teillet
eea7671d3e
feat: move install at top to keep layer in cache 2023-04-14 16:05:24 +02:00
Sammy Teillet
b82660667e
chore: add prod dockerfile for server 2023-04-14 16:02:05 +02:00
Charles Bochet
c317d4bcf6 Migrate to FontAwesome pro 2023-04-14 12:09:17 +02:00
Charles Bochet
0445c03b51 Setup first hasura schema 2023-04-14 08:38:35 +02:00
Charles Bochet
eea3060652 Fix Dockerfile front for production 2023-04-13 14:17:40 +02:00
Charles Bochet
afab5940b3 Create Dockerfile for front production 2023-04-13 12:45:50 +02:00
Charles Bochet
93fb5896b8 Setup Hasura locally 2023-04-12 15:54:16 +02:00
Charles Bochet
f25f80c199 Implement new UI 2023-04-10 18:04:49 +02:00
Charles Bochet
dc28c97df6 Refresh install scripts 2023-04-05 15:01:20 +02:00
Charles Bochet
c2833cad53 Simplify infrastructure to one container 2023-03-06 19:13:59 +01:00
Charles Bochet
d58af82c51 Separate auth0 users depending on tenants 2023-02-03 20:07:49 +01:00
Charles Bochet
fcdc9aaec4 Create Profile Hooks to fetch current user 2023-02-02 20:40:44 +01:00
Charles Bochet
e72ea96fad Setup API (Hasura) console to version changes in code 2023-01-31 19:20:59 +01:00
Charles Bochet
89f9f12ea2 Move all run environment variable to infra 2023-01-29 09:47:45 +01:00
Charles Bochet
e9f2e374e8 Add environment variable to build:latest too 2023-01-28 18:34:14 +01:00
Charles Bochet
fe7031f8dc Add environment variable to docker containers 2023-01-28 17:54:13 +01:00
Charles Bochet
8e0dc44bf6 Generate Token through Auth0 2023-01-28 10:58:04 +01:00
Charles Bochet
9fb4f21180 Add Hasura 2022-12-28 22:55:46 +01:00
Charles Bochet
aeee5b5fca Add Hasura and dockerify dev env 2022-12-28 21:19:12 +01:00