Anders Borch and Charles Bochet
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
Anders Borch
e19a85a5d0
Build fixes ( #76 )
...
* Fix compose syntax error
It turns out that docker compose does not like a literal `true`
but it will accept a `"true"` string.
* Added missing && operators
2023-04-26 09:53:11 +02:00
Anders Borch
463b5f4ec9
Mock apollo client.
...
Remove unit test argument.
2023-04-25 12:55:27 +02:00
Anders Borch
a6254197b1
Add contenteditable change event test
2023-04-25 12:55:27 +02:00
Anders Borch
4e517fa8f9
Add map back to gql person
2023-04-25 12:55:27 +02:00
Anders Borch
443f8ed663
Added update test
2023-04-25 12:55:27 +02:00
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
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
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
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
Anders Borch
3cea61d9ed
Add mailhog for local smtp
2023-04-19 17:51:15 +02:00
Anders Borch
39ffb0f90b
Setup Hasura-auth locally
2023-04-19 17:49:09 +02:00
Anders Borch
b9d1d80f64
Merge pull request #33 from twentyhq/add-ci
...
Add continous integration
2023-04-14 08:35:15 +02:00
Anders Borch
02fe9ee506
Add email link
2023-04-13 17:28:28 +02:00
Anders Borch
27d4867488
Format creation date
2023-04-13 17:28:09 +02:00
Anders Borch
caf7c168aa
Format phone number
2023-04-13 17:27:33 +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
Anders Borch
3d976577c1
Add CellLink
2023-04-13 17:25:35 +02:00
Anders Borch
8f8315b9bc
Add person placeholder image
2023-04-13 10:55:12 +02:00
Anders Borch
759f91b066
Add name, company and pipe styling
2023-04-13 10:54:51 +02:00
Anders Borch
f5b16c7f6d
Rename People type to Person
2023-04-13 10:53:39 +02:00
Anders Borch
c6a60824b3
Merge pull request #29 from twentyhq/cbo-add-table
...
Add simple styled table
2023-04-13 10:50:08 +02:00
Anders Borch
5619078abd
Hide table footer when all groups are empty
2023-04-13 10:26:09 +02:00
Anders Borch
7887e724d5
Add people styling
...
* Add styled PeopleHeader tag
* Add icon prefix to view name
2023-04-13 10:26:08 +02:00
Anders Borch
7111f99cff
Add table styling
2023-04-12 19:24:35 +02:00
Anders Borch
b7e43de670
Add icon property to table.
2023-04-12 13:30:13 +02:00