Commit Graph
15 Commits
Author SHA1 Message Date
Charles BochetandGitHub 30d2337462 Add tests on companies page (#155) 2023-05-29 22:08:01 +02:00
Charles BochetandGitHub 2f50cdc07e Update FE case to match BE graphql case (camelCase) (#154) 2023-05-29 19:45:55 +02:00
8f88605f32 Lucas/refactored table state with recoil (#149)
* Fixed ActionBar paddings and added transition on button hover

* Added recoil library for state management

* Refactor table state with recoil :

- Removed table internal states
- Added refetchQueries to plug apollo store directly into tables
- Added an action bar component that manages itself
- Use recoil state and selector for row selection
- Refactored Companies and People tables

* Moved hook

* Cleaned some files

* Fix bug infinite re-compute table row selection

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-27 08:41:26 +02:00
Charles BochetandGitHub b95ac8b40b Add logo on navbar workspace container (#147) 2023-05-26 17:41:21 +02:00
Charles BochetandGitHub 26d3716ae7 Implement scoping on be (#144) 2023-05-26 14:00:32 +02:00
Charles BochetandGitHub 112aa3720b Fix graphql Queries (#142) 2023-05-26 08:33:33 +02:00
Charles Bochet 17f5cf1766 Fix graphql queries 2023-05-26 00:31:43 +02:00
b0044ed1a2 Lucas/t 231 timebox i can create a company at the same time im creating (#140)
This PR is a bit messy:

adding graphql schema
adding create company creation on company select on People page
some frontend refactoring to be continued

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-25 23:09:23 +02:00
Sammy TeilletandGitHub fecf45f3bc Sammy/t 245 implement resolvers matching hasura (#139)
* chore: remove old resolvers

* refactor: move generated file in code base

* feature: use only necessary code in graphql

* feature: implement query companies

* feature: implement companies and relations

* feature: implement all companies resolvers

* feature: implement all people resolver

* feature: add use resolvers

* feature: implement resolvers for workspace and users
2023-05-25 17:10:00 +02:00
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
Charles BochetandGitHub 67353eda8e Add all filters to tables + make column width fixed (#133)
* Add additional filters on companies and people page

* Make colunn width fixed

* Remove duplicate declaration of Unknown type
2023-05-21 22:47:18 +02:00
Charles BochetandGitHub 192b89a7b7 Make companies employees type a number (#130)
Make companies employees type a number to be consistent with api
2023-05-19 11:53:50 +02:00
Charles BochetandGitHub 5286dfd695 Refactor Filter type to accept Is, Is Not, Contains, Does not Contain (#128)
* Refactor Filter type to accept Is, Is Not, Contains, Does not Contain

* Remove any and add tests
2023-05-18 15:32:57 +02:00
Charles BochetandGitHub cdc9e24ac0 Simplifies search through relations usage (#126) 2023-05-17 23:10:00 +02:00
Charles BochetandGitHub 434e020846 Restructure project (#124) 2023-05-17 22:31:16 +02:00