Commit Graph

85 Commits

Author SHA1 Message Date
Lucas Bordeau
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
Lucas Bordeau
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
Charles Bochet
34543b7fea
Simplify local dev (#137) 2023-05-25 15:56:28 +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
Charles Bochet
499752ed6b
Refactor Filters and Search (#119) 2023-05-17 13:25:33 +02:00
Charles Bochet
2212900663
Enable deletion on table views (#113)
* Enable deletion on table views

* Add tests

* Enable deletion on table views for companies too
2023-05-08 23:26:37 +02:00
Charles Bochet
50a4a97145
Add new line on Table Views (#110)
Add addition on Companies table
2023-05-07 23:41:22 +02:00
Sammy Teillet
354cdb6ad9
Sammy/t 195 aau i see filters and sort on company (#104)
* feature: add company filter by name

* feature: add fitler on URL

* feature: set icons for sorts

* feature: add creation date and address sorts

* Add tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-06 07:59:30 +02:00
Charles Bochet
406e1dc02e
Enable Date edition on People view (#105)
* Enable Date edition on People view

* Fix linter
2023-05-05 18:52:04 +02:00
Charles Bochet
55eff2b7a2
Create Editable chip to edit cells containing chips (#102)
* Create Editable chip to edit cells containing chips

* Fix icons vertical alignment

* Fix linter

* Fix coverage
2023-05-05 12:15:41 +02:00
Félix Malfait
9bc3aa1fb9
Replace Fontawesome Pro by React-Icons/FA (#93)
* Fontawesome -> ReactIcons cleanup

* No need for npmrc anymore

* Complete migration

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-03 17:24:07 +02:00
Charles Bochet
cabe6d4c36
Add empty opportunity page (#83)
* Add empty opportunity page

* Fix coverage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 18:00:06 +02:00
Anders Borch
1c8a4058c3
Fix html entities and newline handling (#77)
* Fix html entities and newline handling

This forces contenteditable to behave as single line input,
and properly handles html entities.

* Proposal without reacteditable

* Fix tests and re-add focus styleé

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 11:58:40 +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
Anders Borch
443f8ed663 Added update test 2023-04-25 12:55:27 +02:00
Anders Borch
24a228bd44 Add EditableCell 2023-04-25 12:55:27 +02:00
Charles Bochet
c5f2850a3b Fetch jwt token from hasura-auth with refresh_token 2023-04-21 14:07:02 +02:00
Charles Bochet
b8d089395f Add linter on CI 2023-04-20 11:51:04 +02:00
Charles Bochet
c317d4bcf6 Migrate to FontAwesome pro 2023-04-14 12:09:17 +02:00
Charles Bochet
1499c845e8 Add continous integration 2023-04-13 18:12:57 +02:00
Anders Borch
a58735925f Add libphonenumber-js dependency
This is used e.g. for formatting phone numbers in the People list.
2023-04-13 17:26:31 +02:00
Charles Bochet
b629d48cc5 Upgrade storybook version 2023-04-10 21:31:55 +00: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
fcdc9aaec4 Create Profile Hooks to fetch current user 2023-02-02 20:40:44 +01:00
Charles Bochet
8e0dc44bf6 Generate Token through Auth0 2023-01-28 10:58:04 +01:00
Charles Bochet
bc6764b3b9 Initiate circle-ci config 2022-12-28 12:01:09 +01:00
Charles Bochet
fd56c69970 Add content to the Discussion Panel 2022-12-06 11:37:43 +01:00
Charles Bochet
b4032d508d Add Plugin Panel 2022-12-05 22:59:56 +01:00
Charles Bochet
235ae1859d Add Task list on Tasks page 2022-12-05 00:49:45 +01:00
Charles Bochet
0f2d8a556e Add Navbar component, emotion for css and storybook 2022-12-04 22:59:30 +01:00
Charles Bochet
eba76274c6 Add Routing on the app 2022-12-02 12:39:15 +01:00
Charles Bochet
f685be3d22 Migrate to Typescript, add prettier and add linter 2022-12-02 12:06:22 +01:00
Charles Bochet
cfc3a37e1f Setup Nest and React projects 2022-12-01 15:58:08 +01:00