Commit Graph

2117 Commits

Author SHA1 Message Date
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
Jérémy M
73f6876641
feat: workspace sync (#3505)
* feat: wip workspace sync

* feat: wip lot of debugging

* feat: refactor and fix sync

* fix: clean

fix: clean

* feat: add simple comparator tests

* fix: remove debug

* feat: wip drop table

* fix: main merge

* fix: some issues, and prepare storage system to handle complex deletion

* feat: wip clean and fix

* fix: reflect issue when using array instead of map and clean

* fix: test & sync

* fix: yarn files

* fix: unecesary if-else

* fix: if condition not needed

* fix: remove debug

* fix: replace EQUAL by SKIP

* fix: sync metadata relation not applied properly

* fix: lint issues

* fix: merge issue
2024-01-30 14:40:55 +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
brendanlaschke
e7f2af6f0b
Document feature flags (#3655)
* document feature flags

* .
2024-01-30 09:50:13 +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
Weiko
d66d8c9907
[Messaging] Gmail Full sync pagination (#3664) 2024-01-29 11:57:54 +01:00
Thaïs
a654205dbc
chore: set up twenty-emails config so build isn't needed in development (#3619)
* chore: set up twenty-emails config so build isn't needed in development

* fix: fix script dependency

* chore: use @vitejs/plugin-react-swc

* Remove useless dependancy

* Fix typing

* chore: use baseUrl in twenty-emails

* chore: fix docker server prod build

* refactor: optimize Docker file and tsconfig

* fix: fix WORKDIR in docker

---------

Co-authored-by: martmull <martmull@hotmail.fr>
2024-01-29 06:17:12 -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
Weiko
9053769616
[Messaging] Fix gmail connected account creation redirect url (#3653) 2024-01-26 18:28:06 +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
ebfa1bea99
fix-threads-pagination (#3639) 2024-01-26 14:24:27 +01:00
bosiraphael
c8f8327d04
fix email thread message (#3636) 2024-01-26 13:12:37 +01:00
martmull
b49a8b84db
Remove error when new_psw==old_psw (#3637) 2024-01-26 12:11:46 +01:00
bosiraphael
49b22eeec6
Catch graphql errors (#3634)
* Catch graphql errors

* update according to comment
2024-01-26 11:33:48 +01:00
Thomas des Francs
d9d3be69be
Updating the readme cover & title (#3632)
* Delete packages/twenty-docs/static/img/preview-light.png

* Delete packages/twenty-docs/static/img/preview-dark.png

* Replacing preview files with updated version

* Updating readme title
2024-01-26 11:00:24 +01:00
martmull
0982c78a85
Fix missing package in twenty-emails (#3631) 2024-01-26 10:53:38 +01:00
Thomas Trompette
43b10cb00c
Add record chip for sender and add receivers (#3629)
* Add record chip for sender and add receivers

* Build enum for roles

* Rename var and use string literal

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-25 18:34:19 +01:00
bosiraphael
b0c14ba5b9
3571 remove reply quotations from emails (#3630)
* lib is working

* update

* plural
2024-01-25 18:26:29 +01:00
Charles Bochet
377fd23c90
Display columns on Record Board (#3626)
* Display columns on Record board

* Fix

* Fix according to review

* Fix
2024-01-25 18:21:15 +01:00
martmull
ca6250286a
Reset workspaces to delete between executions (#3625) 2024-01-25 18:06:53 +01:00
Lakshay saini
e0405edb38
feat: added webhook list section and updated api key section (#3567)
* feat: added webhook list section and updated api key ui

* Fix style

* Fix webhook style

* Update setting path

* Add soon pill on not developped features

* Code review returns

---------

Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
Co-authored-by: martmull <martmull@hotmail.fr>
2024-01-25 17:39:17 +01:00
bosiraphael
6004969096
3263 modify timeline messagingservice to allow the frontend to get multiple participants in a thread (#3611)
* wip

* wip

* add pagination

* wip

* wip

* wip

* update resolver

* wip

* wip

* endpoint is working but there is still work to do

* merge main

* wip

* subject is now first subject

* number of messages is working

* improving query

* fix bug

* fix bug

* added parameter

* pagination introduced a bug

* pagination is working

* fix type

* improve typing

* improve typing

* fix bug

* add displayName

* display displayName in the frontend

* move entities

* fix

* generate metadata

* add avatarUrl

* modify after comments on PR

* updates

* remove email mocks

* remove console log

* move files

* remove mock

* use constant

* use constant

* use fragments

* remove console.log

* generate

* changes made

* update DTO

* generate
2024-01-25 17:04:51 +01:00
Jérémy M
6f98d1847f
Fix/nested filter (#3624)
* fix: typo

* fix: relation type shouldn't be exposed in filter
2024-01-25 16:15:46 +01:00
Thomas Trompette
f099ff90c1
Add fetch more loader for email messages (#3618)
Add fetch more loader

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-25 14:44:54 +01:00
Weiko
6d997edabb
[Messaging] Fix duplicate messageChannelMessage (#3616)
* [Messaging] Fix duplicate channelMessageChannel

* add messageChannelMessage check before querying gmail

* rename messageChannelMessage to messageChannelMessageAssociation
2024-01-25 14:15:57 +01:00