Commit Graph

1257 Commits

Author SHA1 Message Date
Anders Borch
8ed09d61ef Refactor GraphqlPerson to GraphqlQueryPerson
A GraphqlQueryPerson has an id which is used in mutations.
2023-04-25 12:55:27 +02:00
Anders Borch
b6c7149b66 Use EditableCell for email 2023-04-25 12:55:27 +02:00
Anders Borch
b62fac3aee Map Person to GraphqlMutationPerson 2023-04-25 12:55:27 +02:00
Anders Borch
38132749c2 Add updatePerson function 2023-04-25 12:55:27 +02:00
Anders Borch
24a228bd44 Add EditableCell 2023-04-25 12:55:27 +02:00
Charles Bochet
cf9afcc90f
Merge pull request #71 from twentyhq/cbo-design-fixes
Fix small design feedbacks
2023-04-25 12:16:34 +02:00
Charles Bochet
6284677fca
Merge pull request #72 from twentyhq/cbo-horizontal-scroll
Add horizontal scroll on tables
2023-04-25 12:16:12 +02:00
Charles Bochet
8de2d345ed Add horizontal scroll on tables 2023-04-25 12:14:31 +02:00
Charles Bochet
63feef5727 Fix small design feedbacks 2023-04-25 11:34:04 +02:00
Charles Bochet
67e4e79623
Merge pull request #69 from twentyhq/sammy/t-130-when-a-sort-is-selected-i-see-the-sort
feature: add property isActive for dropdown buttons
2023-04-24 18:39:35 +02:00
Sammy Teillet
f7c53dbdeb
feature: set the right sort on click 2023-04-24 18:17:01 +02:00
Sammy Teillet
0f4dcc1957
refactor: extract dropdown for Sort dropdown 2023-04-24 18:05:29 +02:00
Charles Bochet
9971da59a6 Fix server build 2023-04-24 18:04:55 +02:00
Charles Bochet
250b51ec4a Fix server build 2023-04-24 17:36:28 +02:00
Sammy Teillet
795f9e7af8
refactor: create SortDropdownButton 2023-04-24 17:35:43 +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
Sammy Teillet
7cf1f913b0
feature: add property isActive for dropdown buttons 2023-04-24 17:01:26 +02:00
Charles Bochet
d4152fdcff
Merge pull request #68 from twentyhq/cbo-add-user-to-workspaces-on-signup
Assign user to workspace on signin
2023-04-24 17:01:24 +02:00
Charles Bochet
7ae7efb523 Fix 2023-04-24 17:00:14 +02:00
Charles Bochet
29b6109e54 Fix tests 2023-04-24 16:53:24 +02:00
Sammy Teillet
911eb48250
Merge pull request #67 from twentyhq/sammy/t-129-i-see-all-text-sorts-available-in-the
feature: Add all sortable fields of People table
2023-04-24 15:47:35 +02:00
Sammy Teillet
19385e00c0
feature: fix background color of dropdown item to be fully transparent 2023-04-24 15:39:36 +02:00
Sammy Teillet
4e3acf21d2
feature: set the right border radius for dropdown items 2023-04-24 15:29:24 +02:00
Sammy Teillet
bb8f61212b
feature: add all the sortable fields for people 2023-04-24 15:01:18 +02:00
Sammy Teillet
19903219c3
refactor: move sorts in peolpe-table 2023-04-24 14:59:53 +02:00
Sammy Teillet
99aa39f2ba
refactor: keep type of sortsAvailable while having type assertion 2023-04-24 14:57:57 +02:00
Sammy Teillet
c3da5fa5f4
feature: put react app in strict mode 2023-04-24 14:56:44 +02:00
Sammy Teillet
6e353f590c
feature: add email in sorts fields 2023-04-24 14:56:20 +02:00
Charles Bochet
6d2c8bbdf9 Assign user to workspace on signin 2023-04-24 14:53:48 +02:00
Sammy Teillet
a5909bd6ff
feature: keep callbacks between two renders 2023-04-24 14:49:40 +02:00
Sammy Teillet
2acd98370d
bugfix: remove infinite renderloop of onSortUpdate 2023-04-24 14:46:39 +02:00
Sammy Teillet
c7dc9cf83b
bugfix: fix direction and zindex of dropdown 2023-04-24 14:18:22 +02:00
Sammy Teillet
be947bdc8f
refactor: strongly type keys of sorts 2023-04-24 14:02:38 +02:00
Sammy Teillet
095a6886ae
refactor: move sortable fields in People 2023-04-24 14:00:14 +02:00
Sammy Teillet
bc91e97695
refactor: move sortable fields in table 2023-04-24 13:55:13 +02:00
Charles Bochet
00ad3a89b5
Merge pull request #66 from twentyhq/anders/t-166-i-can-update-people-and-company-data-in
Add write permissions for user to people and companies
2023-04-24 13:28:28 +02:00
Charles Bochet
8e290c8933
Merge pull request #65 from twentyhq/anders/t-162-dev-refactor-data-layer-to-a-different
Refactor people query into separate file.
2023-04-24 13:27:52 +02:00
Anders Borch
efd6138877 Use GET_PEOPLE in mock 2023-04-24 12:28:22 +02:00
Anders Borch
b5cbf219e3 Add write permissions for user to people and companies
Add insert, update, delete permissions without any custom checks.

It is assumes that custom checks will be added as a part of the
workspace authorization ticket.
2023-04-24 11:53:28 +02:00
Anders Borch
47bdabd5aa Refactor people query into separate file. 2023-04-24 11:10:56 +02:00
Charles Bochet
a5bfeef2d6
Merge pull request #64 from twentyhq/cbo-fetch-jwt-token
Refresh JWT when expired
2023-04-21 17:33:39 +02:00
Charles Bochet
1fdce4ee03
Merge pull request #63 from twentyhq/anders/t-105-i-see-a-sales-pipeline-designed-with
Add pipe chip
2023-04-21 17:32:26 +02:00
Charles Bochet
d3e9709e08 Refresh token when token has expired 2023-04-21 17:31:17 +02:00
Anders Borch
06aa78bc00 Set default pipe icon 2023-04-21 16:28:25 +02:00
Anders Borch
be601c58b1 Add pipe chip 2023-04-21 16:03:29 +02:00
Charles Bochet
049664b98e Require accessToken to browse pages 2023-04-21 15:53:47 +02:00