Commit Graph

272 Commits

Author SHA1 Message Date
Charles Bochet
39f4ec9e7b
Fix storybook tests on Field Preview (Settings) (#3761) 2024-02-01 17:44:36 +01:00
Jeet Desai
dda9eaca2a
Place cursor at end when entering cell (#3743)
#3723 #3724 place cursor at end when entering cell
2024-02-01 17:37:32 +01:00
Jeet Desai
d667bc4a90
Changed upload button border to medium (#3744)
#3715 changed upload button border to medium
2024-02-01 17:21:48 +01:00
Thaïs
7adb5cc00d
feat: delete favorite in cache on related record deletion (#3751)
* feat: delete favorite in cache on related record deletion

* fix: fix useCreateOneRecord tests

* fix: fix usePipelineSteps tests

* fix: fix useCreateManyRecords tests

* fix: add null relation field values in useGenerateObjectRecordOptimisticResponse
2024-02-01 16:09:32 +01:00
Weiko
142affbeea
[messaging] reorder messages desc to asc (#3755) 2024-02-01 15:28:00 +01:00
bosiraphael
bd5d930be2
3706 add email loader (#3731)
* add images

* update component

* wip

* add loader cntainer

* wip

* Loader is working

* fix color and keyframes

* change loading message for threads
2024-02-01 10:15:41 +01:00
Charles Bochet
4290db3566
Fix new board bugs (#3730)
* Fix freeze on field visibility change on board

* Fix

* Fix lint
2024-01-31 17:21:17 +01:00
Thomas Trompette
389c263e2e
Design fixes + hide email tab if not a company or a person (#3720)
Design fixes + hide email tab

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-31 16:55:04 +01:00
Lucas Bordeau
397de955be
Fixed storybook tests (#3719)
Fix storybook tests
2024-01-31 12:34:06 +01:00
bosiraphael
7d898f89a9
3696 add emails tab empty state on shows (#3702)
* empty inbox

* fix No Files alignment

* add animation when exiting the screen

* update calendar settings to be singular
2024-01-31 12:18:47 +01:00
Lucas Bordeau
d7e4b4116f
Minor fixes empty state (#3703)
* Minor fixes for Timeline empty states
* Refactored TimelineCreateButtonGroup
2024-01-31 12:12:51 +01:00
Jeet Desai
ba77d7430a
Added empty card for show relations (#3612)
#3610 Add empty states for show relations

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-31 11:57:48 +01:00
Anoop P
f6e9456ef6
fix: columns overlapping with checkbox column when horizantally scrolling (#3705) 2024-01-31 11:49:01 +01:00
Jeet Desai
edf62f3a3b
Resolved dropdown style issue (#3620)
* #3617 #3615 resolved dropdown style issue

* resolved lint error

* resolved gap issue

* resolved lint error
2024-01-31 11:41:27 +01:00
Charles Bochet
c8e4d0ab9a
Board compact view and Company Picker for opportunity special case (#3713)
* Re-enabled board compact mode

* Add specific case for opportunity to display company picker

* Add infinite scroll

* Remove useEffect

* Fix

* Fix
2024-01-31 11:37:03 +01:00
Thaïs
29339ef99a
fix: detach relation records in cache on record deletion (#3707)
* fix: detach relation records in cache on record deletion

* fix: fix useGetRelationMetadata tests
2024-01-31 11:36:26 +01:00
Thomas Trompette
9597b1ae41
Avoid fetching more emails when first query loading (#3709)
Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-31 10:25:22 +01:00
Charles Bochet
2e4f2d54aa
Refactor board and table options (#3700)
* Refactor board and table options

* Fix

* Fix
2024-01-30 18:38:31 +01:00
bosiraphael
8b9d62e425
3681 avatars are not appearing in the messages and people name should be bold (#3692)
* update font weight

* fix picture not appearing
2024-01-30 17:46:25 +01:00
Thomas Trompette
1838d8e6fb
Use scoped recoil state for email thread page (#3699)
Use scoped recoild state for email thread page

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-30 17:08:34 +01:00
bosiraphael
2f7f6d3241
Fix empty state flashing on SettingsAccountsEmailsSyncSection (#3698)
fix
2024-01-30 15:40:14 +01:00
Charles Bochet
f68de1a299
Board improvements (#3694)
* New board improvements

* Improve board

* Fix
2024-01-30 15:24:03 +01:00
Thomas Trompette
511627ccb8
Fix count avatar color + align thread preview items (#3695)
Fix count avatar and align items

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-30 15:01:12 +01:00
Thomas Trompette
84b6bea2b9
Split back fetch more loader for record table and emails (#3693)
* Split back fetch more loader

* Rename loader

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-30 14:50:33 +01:00
bosiraphael
3a480f1506
fix-right-drawer-bounces-when-opening-a-different-thread (#3691)
* fix-right-drawer-bounces-when-opening-a-different-thread

* fix
2024-01-30 13:38:34 +01:00
Thaïs
0bfc63161b
fix: fix delete records optimistic effect not re-rendering queries af… (#3690)
fix: fix delete records optimistic effect not re-rendering queries after cache.evict
2024-01-30 12:26:05 +01:00
bosiraphael
a012ba1087
Fix message opening (#3687)
* fix

* improve styling so we can close the message by clicking on the whole header

* fix line overflowing

* fix
2024-01-30 11:56:26 +01:00
bosiraphael
fc63c51d6d
Fix right drawer first bounce (#3689)
fix-right-drawer-first-bounce
2024-01-30 11:39:51 +01:00
Kanav Arora
b07d67c624
New Empty States (#3465)
New empty states
---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-30 11:01:56 +01:00
Thomas Trompette
96bcddc056
Add participant avatars + remove tbody from fetchMore loader (#3679)
* Add participant avatars + remove tbody from fetchMore loader

* Update sender names

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-30 10:47:15 +01:00
Jeet Desai
c9a19fd4d9
Removed border bottom on task list (#3641)
* #3640 remove border bottom in task list

* removing border bottom from only last child
2024-01-30 09:58:51 +01:00
Jérémy M
da8dd671d1
fix: rating type issues (#3638)
* fix: rating type issues

* fix: rebase

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-30 09:57:30 +01:00
gitstart-app[bot]
0239585d81
TWNTY-3483 - Add tests for modules/object-record/record-table/record-table-cell/hooks (#3685)
Add tests for `modules/object-record/record-table/record-table-cell/hooks`

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2024-01-30 09:48:28 +01:00
Weiko
a9349f9fea
Add deleteOneObject mutation (#3682)
* Add deleteOneObject mutation

* codegen

* move relationToDelete to dedicated file

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-30 09:47:58 +01:00
Thaïs
49f33bbe2e
fix: fix record deletion optimistic effect (#3683)
* fix: fix record deletion optimistic effect

* fix: fix renamed method after rebase

* Re-add evict

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-30 09:33:28 +01:00
Charles Bochet
e951fb70f8
Add board Action bar and context menu (#3680)
* Add board Action bar and context menu

* Fix according to review
2024-01-30 09:21:02 +01:00
bosiraphael
c5ea2dfe1e
3675 inbox count is wrong in emailthreads (#3677)
* add type

* query total number of threads

* graphql data generate

* wip

* wip

* Fix fetch more

* fix

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-29 18:23:09 +01:00
bosiraphael
e46085984c
3669 disable radio buttons in settingsaccountsinboxsettingsvisibilitysection (#3678)
* update visibility and disable radio button

* add soon pill
2024-01-29 17:57:39 +01:00
Lucas Bordeau
3b458d5207
Activity injection into Apollo cache (#3665)
- Created addRecordInCache to inject a record in Apollo cache and inject single read query on this record
- Created createOneRecordInCache and createManyRecordsInCache that uses this addRecordInCache
- Created useOpenCreateActivityDrawerV2 hook to create an activity in cache and inject it into all other relevant requests in the app before opening activity drawer
- Refactored DEFAULT_SEARCH_REQUEST_LIMIT constant and hardcoded arbitrary request limits
- Added Apollo dev logs to see errors in the console when manipulating cache
2024-01-29 16:12:52 +01:00
Thomas Trompette
64d0e15ada
Put back timeline thread page size const (#3676)
Put timeline thread page size const

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-29 15:43:48 +01:00
Thomas Trompette
9da9d1e3bd
Build infinite scroll for email threads (#3666)
* Use recoil state for page info

* Remove memoization

* Remove right drawer fetch more loader

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-29 15:28:28 +01:00
Thaïs
a58b4cf437
refactor: apply relation optimistic effects on record update (#3556)
* refactor: apply relation optimistic effects on record update

Related to #3509

* refactor: remove need to pass relation id field to create and update mutations

* fix: fix tests

* fix: fix SingleEntitySelect glitch

* fix: fix usePersistField tests

* fix: fix wrong import after rebase

* fix: fix several tests

* fix: fix test types
2024-01-29 08:00:00 -03:00
Charles Bochet
7fdd7119d2
Allow Card field update and card drag on new record board (#3661) 2024-01-29 08:59:13 +01:00
Charles Bochet
6eca6dc780
Fix Opportunities page (#3660)
* Fix Opportunities page

* Fix

* Fix tests
2024-01-28 23:33:36 +01:00
Charles Bochet
419f8adde6
Improve RecordTableCellperformances (#3659)
* Improve RecordTableCellperformances

* Fixes
2024-01-28 20:32:28 +01:00
Charles Bochet
ada8f55574
Refactor Field Inputs (#3658)
* Rename field to record-field folder

* Simplify FieldInput

* Fix perfs

* Fixes

* Fixes

* Fix tests

* Fix tests
2024-01-27 23:42:39 +01:00
Charles Bochet
d6f117c688
Display RecordBoardCards on new board (#3657)
* Before remove saveEditModeValue logic

* Fixes

* Fix tests

* Fix tests
2024-01-27 15:55:45 +01:00
Charles Bochet
070900e4eb
Remap items in board (#3643)
* Remap items in board

* Fix according to review
2024-01-26 17:09:30 +01:00
bosiraphael
c8f8327d04
fix email thread message (#3636) 2024-01-26 13:12:37 +01:00
bosiraphael
49b22eeec6
Catch graphql errors (#3634)
* Catch graphql errors

* update according to comment
2024-01-26 11:33:48 +01:00