Commit Graph

682 Commits

Author SHA1 Message Date
Jérémy M
51cfc0d82c
feat: refactoring casl permission checks for recursive nested operations (#778)
* feat: nested casl abilities

* fix: remove unused packages

* Fixes

* Fix createMany broken

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Fixes

* Fix CommentThread

* Fix bugs

* Fix lint

* Fix bugs

* Fixed auto routing

* Fixed app path

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-25 16:37:22 -07:00
Charles Bochet
92b9e987a5 Fix vscode using relative imports 2023-07-25 11:34:14 -07:00
Gustavo Félix
59eb10ccc4
fix(#753): add autoComplete attribute for remove suggestion of passwo… (#913)
* fix(#753): add autoComplete attribute for remove suggestion of password managers

* fix(#753): add autoComplete attribute for remove suggestion of password managers

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-25 11:21:45 -07:00
Thaïs
a5ca913158
docs: allow custom props in catalog decorator (#916)
Relates to #702
2023-07-25 11:02:13 -07:00
Lucas Bordeau
a2ccb643ff
Optimize table loading (#866)
* wip

* wip

* Ok

* Deleted unused code

* Fixed lint

* Minor fixes

* Minor fixes

* Minor Fixes

* Minor merge fixes

* Ok

* Fix storybook tests

* Removed console.log

* Fix login

* asd

* Fixed storybook

* Added await

* Fixed await

* Added sleep for failing test

* Fix sleep

* Fix test

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-25 11:00:15 -07:00
Peter Mulard
c2d6abde65
[Bug fix] Reference container name instead of localhost for postgres url in .env file (#808)
* url should reference container name instead of localhost

* add context for the postgres URL change, when installing with Docker. Also minor grammar/typo changes.

* return the postgres URL to its original value, which corresponds with the recommended (yarn) installation.

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-25 10:17:49 -07:00
Charles Bochet
d6afbe8e8e
Introduce accent for chips (#911)
* Introduce accent for chips

* Add top bar on Mobile on Settings pages

* Various fixes

* Fix according to peer review
2023-07-24 16:49:33 -07:00
Jérémy M
b2f4108d89
feat: rename commentThread into activity migration (#876)
* feat: rename commentThread into activity migration

* fix: migration

* Only apply creation migration

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-24 14:28:42 -07:00
Thaïs
c16d420d17
Docs/storybook improvements (#877)
* docs: use PageDecorator

* docs: use decorators in TableHeader stories

* docs: use theming parameter in App stories

* docs: enable auto-generated docs for stories

Closes #702
2023-07-24 11:06:37 -07:00
Charles Bochet
07180af8c0
Improve tests (#871) 2023-07-24 00:57:56 -07:00
310387
2b885f2496
fix: 801 dont show if name empty (#854)
* fix: 801 dont show if name empty

* fix: 801 add same logic to multiple entity
2023-07-23 17:02:21 -07:00
Lucas Bordeau
21d5133564
Feat/improve mobile display (#843)
* Ok 1

* Finished

* Fix PR

* Fix PR

* Fix desktop

* Fix

* Fix absolute listen click outside

* console.log

* Fix according to code review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-23 10:53:35 -07:00
Charles Bochet
742791bd92
Fix tests (#848)
* Fix tests

* Fix tests

* Fix tests
2023-07-22 23:29:58 -07:00
Charles Bochet
0731487990 Fix tests 2023-07-22 22:19:42 -07:00
Charles Bochet
e6ce7f3bb9 Fix code coverage 2023-07-22 19:47:36 -07:00
Charles Bochet
4ac01f2931
Fix login (#844)
* Fix login

* Fix according to PR

* Fix tests

* Fix tests
2023-07-22 19:43:28 -07:00
310387
c4468d60f6
fix: 802 if no text dont show avatar (#831)
* fix: 802 if no text dont show avatar

* fix: 802 use guard for empty check and allow whitespace only case
2023-07-22 16:28:33 -07:00
Ashwini Gupta
7f6b39339b
[807] fix: people page icon (#823) 2023-07-22 18:49:56 +02:00
willkrakow
097627fcab
Fix typos/language in docs (#824)
* Fix typos/language in docs

* Fix typos
2023-07-22 18:48:31 +02:00
Charles Bochet
9deb46141c Fix tests 2023-07-22 00:48:52 -07:00
Charles Bochet
1ae5c703f5 lower functions coverage temporarily 2023-07-22 00:39:22 -07:00
Ikko Eltociear Ashimine
ad3e0ea340
Fix typo in local-setup.mdx (#822)
PostgresSQL -> PostgreSQL
2023-07-22 00:38:07 -07:00
Lucas Bordeau
62720944fa
Feat/open input not focus (#811)
* Fixed click outside

* Finished

* Fixed tests
2023-07-21 22:09:02 -07:00
Emilien Chauvet
0f3f6fa948
Enh/improve skeletton loading (#810)
* Update skeleton styling

* Update skeleton color

* Remove useless color

* Add loading test case

* naming

* Improve test

* Fix colors

* Add import

* Lint

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-07-21 22:07:11 -07:00
Charles Bochet
775b4c353d
Refactor login (#748)
* wip refactor login

* wip refactor login

* Fix lint conflicts

* Complete Sign In only

* Feature complete

* Fix test

* Fix test
2023-07-21 22:05:45 -07:00
Emilien Chauvet
725a46adfa
Feature/edit name from show page (#806)
* Enable company name edition from page

* Enable editing persons as well

* Add styling for titles

* Better manage style with inheritance

* Add stories for poeple editable fields

* Remove failing test

* Revert "Remove failing test"

This reverts commit 02cdeeba64276a26f93cf4af94f5857e47d36fff.

* Fix test

* Update name

* Fix location

* Rename tests

* Fix stories
2023-07-21 15:44:42 -07:00
Emilien Chauvet
73e9104b16
Add linkedinUrl and job titles to table views (#809)
* Add linedinUrl and job titles to table views

* Keep address in the end

* Add mock data
2023-07-21 15:18:19 -07:00
Thaïs
56cff63c4b
docs: use ComponentDecorator (#800)
Related to #702
2023-07-21 12:02:21 -07:00
Charles Bochet
79fccb0404
Add optimistic rendering on right drawer title (#786)
* Add optimistic rendering on right drawer title

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2023-07-20 23:58:21 -07:00
Charles Bochet
e65c7ee6fe
Update install (#785) 2023-07-20 22:59:03 -07:00
Charles Bochet
5b8a454eeb
Update seeds and mocks (#784) 2023-07-20 22:15:13 -07:00
Lucas Bordeau
bf41182810
Open link in new tab and added cell url (#782) 2023-07-21 03:40:56 +02:00
Lucas Bordeau
066b4854d9
Added autofocus on note title (#783) 2023-07-21 03:39:28 +02:00
Charles Bochet
6562c1527b
Update darkTheme (#781)
* Update darkTheme

* Add font color variation to IconButton
2023-07-21 02:33:35 +02:00
Emilien Chauvet
9c230f448e
Feat/rename and color picker (#780)
* WIP

* Add menu for rename/color select

* Add stories

* Remove useless code

* Fix color name, add icon for selected color

* Remove useless comment

* Unify color vocabulary

* Fix rebase

* Rename story

* Improve hotkeys and imports
2023-07-20 16:45:43 -07:00
Thaïs
a2087da624
feat: disallow removing all comment thread targets (#779)
* feat: disallow removing all comment thread targets

Closes #431

* Rename variables

* Fix console error

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-20 16:17:43 -07:00
Jérémy M
872ec9e6bb
feat: disable atomic operation on nestjs graphql models (#751)
* feat: no atomic

* feat: update front not atomic operations

* feat: optional fields for person model & use proper gql type

* Fix bug display name

* Fix bug update user

* Fixed bug avatar URL

* Fixed display name on people cell

* Fix lint

* Fixed storybook display name

* Fix storybook requests

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-07-20 19:23:35 +00:00
Max Mergenthaler
663c4d5c3f
doc: Update README.md with suggestions (#773)
Update README.md with suggestions

I changed some minor stuff for readability.
2023-07-20 08:34:19 +02:00
Emilien Chauvet
8cd426fab8
Add minor UI updates (#772)
* Add minor UI updates

* Fix lint

* Fix company board card fields

* Fix company board card fields

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-19 22:40:52 -07:00
Lucas Bordeau
7670ae5638
Added tooltip on overflowing texts (#771)
* Ok

* Fixes

* Fix according to PR

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-19 21:23:42 -07:00
Charles Bochet
60b50387a7
Update readmes (#770)
* Update readmes

* Update readmes

* Update readmes
2023-07-19 18:16:33 -07:00
Emilien Chauvet
5fb7d753ef
Various styling improvements (#766)
* Various styling improvements

* Add card styling

* Fix select when editing fields

* Add colors

* Refactor prevent click
2023-07-19 15:31:53 -07:00
Emilien Chauvet
d7efed9f89
Fix flashing title for note (#761)
* Fix flashing title for note

* Remove unused check

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-07-19 22:05:54 +00:00
Lucas Bordeau
411266475d
Fixed refetch query (#760) 2023-07-19 15:02:41 -07:00
Lucas Bordeau
c8065f82e8
Expand on right drawer (#769)
Ok
2023-07-20 00:00:50 +02:00
Charles Bochet
3336e6960d
Rework gray scale (#768)
* Rework gray scale

* Change grayscale AGAIN

* Change grayscale AGAIN

* Change grayscale AGAIN
2023-07-19 21:56:06 +00:00
Andy Rae
cafb3259c6
Update README.md (#762) 2023-07-19 14:17:25 -07:00
Bonapara
3f522c5e29
Update README.md (#759) 2023-07-19 20:38:20 +02:00
Charles Bochet
04c9748a96
Improve provisionning new accounts (#757)
* Improve provisionning new accounts

* Fix lint
2023-07-19 11:23:53 -07:00
Lucas Bordeau
16aa507d50
Minor fixes (#758) 2023-07-19 11:22:51 -07:00