Commit Graph

76 Commits

Author SHA1 Message Date
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 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 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
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 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 678363d8fd Fix according to PR 2023-04-21 14:37:46 +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 887a7af5e2 feature: wip get persons and map it 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
Sammy Teillet 71c18e864f feature: move TD creation to cells 2023-04-19 17:10:37 +02:00
Sammy Teillet 74990a3686 feature: clickableCell left space should be inside the border 2023-04-19 16:19:35 +02:00
Sammy Teillet 1a70a5ba65 feature: update icons of People table 2023-04-19 15:58:38 +02:00
Sammy Teillet 0844490c13 feature: wrap all elements in a cell 2023-04-19 15:13:26 +02:00
Sammy Teillet bb5ae02c3a refactor: use PersonChip in people page 2023-04-19 12:35:19 +02:00
Sammy Teillet 8d321013f3 refactor: remove useless ClickableCell props 2023-04-19 12:25:20 +02:00
Sammy Teillet 5962140656 refactor: rename CellLink to ClickableCell 2023-04-19 12:24:25 +02:00
Sammy Teillet 3696bf2617 feature: CellLinkacceptd children 2023-04-19 12:23:27 +02:00
Sammy Teillet 38cc857f77 feat: use favicon icon in company chip 2023-04-19 10:51:37 +02:00
Sammy Teillet 51fc383b1a refactor: rename logo to domain 2023-04-19 10:34:31 +02:00