Commit Graph

127 Commits

Author SHA1 Message Date
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
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
Anders Borch
efd6138877 Use GET_PEOPLE in mock 2023-04-24 12:28:22 +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
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
Charles Bochet
4655544197
Merge pull request #61 from twentyhq/cbo-fetch-jwt-token
Fetch jwt token from hasura-auth with refresh_token
2023-04-21 14:39:08 +02:00
Charles Bochet
678363d8fd Fix according to PR 2023-04-21 14:37:46 +02:00
Anders Borch
4885e3598a Add cancel button.
Add test to ensure that cancel button can remove an item.
2023-04-21 14:17:09 +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
79e8d9c84b Finalize sort created_at filter 2023-04-21 09:03:19 +02:00
Charles Bochet
0f09464f14 Finalize sort created_at filter 2023-04-21 09:00:50 +02:00
Sammy Teillet
3a7b1077f8
test: wait for rows to be displayed 2023-04-20 18:44:43 +02:00
Sammy Teillet
b5affcce3f
test: fix mocks for person request 2023-04-20 18:08:20 +02:00
Sammy Teillet
a915d15573
refactor: remove useless vars 2023-04-20 18:03:15 +02:00
Sammy Teillet
7d745ab143
refactor: rename setSorts to onSortsUpdate 2023-04-20 17:58:26 +02:00
Sammy Teillet
e0a19bdd43
refactor: rename and remove default data 2023-04-20 16:59:03 +02:00
Sammy Teillet
fbd338ee7d
feature: apply the sorts to the query 2023-04-20 16:56:42 +02:00
Sammy Teillet
33473aea92
feature: add setSorts from parent component 2023-04-20 16:38:29 +02:00
Sammy Teillet
9122815b07
feature: order people results 2023-04-20 15:56:59 +02:00
Sammy Teillet
b3acfa465b
refactor: move mapper in interface 2023-04-20 15:41:18 +02:00
Sammy Teillet
b8032e9605
refactor: move person types in interface 2023-04-20 15:39:56 +02:00
Sammy Teillet
e4edaf183f
test: fix People test 2023-04-20 14:42:17 +02:00
Sammy Teillet
7a89e5591d
refactor: extract mapper 2023-04-20 13:58:54 +02:00
Sammy Teillet
33e12a52c7
refactor: rename default data file 2023-04-20 13:58:54 +02:00
Sammy Teillet
d5ebff5b53
refactor: etract type in file 2023-04-20 13:58:54 +02:00
Sammy Teillet
c1883d381e
feature: strongly type Table component 2023-04-20 13:58:53 +02:00
Sammy Teillet
887a7af5e2
feature: wip get persons and map it 2023-04-20 13:58:53 +02:00
Sammy Teillet
7f2ec0c260
feature: fix Apollo client 2023-04-20 13:58:53 +02:00
Sammy Teillet
874b920571
chore: introduce different creation dates 2023-04-20 13:58:52 +02:00
Sammy Teillet
8555df6f3f
refactor: move style in Cell component 2023-04-20 13:58:52 +02:00
Sammy Teillet
f2dcffd8f0
refactor: move data types and table definition out of People component 2023-04-20 13:58:52 +02:00
Charles Bochet
b8d089395f Add linter on CI 2023-04-20 11:51:04 +02:00
Charles Bochet
5a1baf9121 Filter ongoing 2023-04-19 23:15:08 +02:00
Sammy Teillet
3c7bd5cd28
bugfix: fix pointer propagation of links behind the before element 2023-04-19 18:31:03 +02:00
Sammy Teillet
630447a2f6
refactor: put TD up back in the table 2023-04-19 18:21:42 +02:00