Commit Graph

324 Commits

Author SHA1 Message Date
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
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
Charles Bochet
aac70a635a
Merge pull request #60 from twentyhq/anders/t-112-i-see-a-cancel-button-to-cancel-a-sort
Add cancel button
2023-04-21 14:21:23 +02:00
Charles Bochet
e1aaebc31c
Merge pull request #58 from twentyhq/add-docs
Add Docusaurus
2023-04-21 14:18:52 +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
f98f0e942e
Merge pull request #57 from twentyhq/cbo-fetch-refresh-token
Store refresh token on login
2023-04-21 09:37:48 +02:00
Charles Bochet
cd18e952b9 Store refresh token on login 2023-04-21 09:33:57 +02:00
Charles Bochet
fe10c0ba7d
Merge pull request #59 from twentyhq/cbo-finalize-filters
Finalize sort created_at filter
2023-04-21 09:04:47 +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
Felix Malfait
1e3540863a
Improve styling 2023-04-20 22:57:55 +02:00
Charles Bochet
007debcee2
Merge pull request #56 from twentyhq/sammy/t-111-when-created-at-sort-is-applied-table
Sammy/t 111 when created at sort is applied table
2023-04-20 18:47:50 +02:00
Sammy Teillet
3a7b1077f8
test: wait for rows to be displayed 2023-04-20 18:44:43 +02:00
Felix Malfait
ae5a73b347
Begin setup search 2023-04-20 18:11:55 +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
Felix Malfait
db62346bfa
Cleanup and start organizing docs 2023-04-20 17:35:16 +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
7ade04b79e
Merge pull request #55 from twentyhq/fix-hasura-file
bugfix: rename hasura file
2023-04-20 15:13:54 +02:00
Sammy Teillet
08f6e82e5b
bugfix: rename hasura file 2023-04-20 15:13:32 +02:00
Charles Bochet
c6938caf93 Add API url in front build 2023-04-20 15:02:20 +02:00
Sammy Teillet
d330fdbb8b
Merge pull request #54 from twentyhq/sammy/t-107-i-see-a-people-data-model-and-graphql
feature: add person schema in hasura
2023-04-20 14:55:01 +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