17511be0cf
TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements ( #4354 )
...
* ESLint rule: only take explicit boolean predicates in if statements
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Merge main
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix frontend linter errors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix jest
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
* Fix lint on new code
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br >
2024-03-09 10:48:19 +01:00
f543191552
TWNTY-3825 - ESLint rule: const naming ( #4171 )
...
* ESLint rule: const naming
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* Refactor according to review
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
* refactor: Reverts changes on `twenty-server`
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev >
2024-02-25 13:52:48 +01:00
917fc5bd4d
3811 add accounts loader ( #3829 )
...
* rename exports
* rename exports
* fix css
* done
* updating image
2024-02-09 15:29:11 +01:00
2ba9a209e8
3804 use email visibility to display only the shared information frontend ( #3875 )
...
* create and use component
* visibility working
* Fix click behavior for email thread previews
* Add dynamic styling to EmailThreadPreview component
* refactor to respect the convention
2024-02-08 17:49:29 +01:00
3831ddc002
3803 use email visibility to display only the shared information backend ( #3871 )
...
* update dto
* wip
* compute thread visibility
* fix bugs
* fix bug
* improve typing
* working
* update according to comments
* use string
2024-02-07 16:35:19 +01:00
8816b7fb31
Fetch viewable thread from apollo cache ( #3783 )
...
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-02-02 14:41:00 +01:00
c6c50180b7
Add animation during email message opening ( #3774 )
...
* Add animation while message opening
* Set isDisplayed as always true
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-02-02 14:37:46 +01:00
142affbeea
[messaging] reorder messages desc to asc ( #3755 )
2024-02-01 15:28:00 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
c8f8327d04
fix email thread message ( #3636 )
2024-01-26 13:12:37 +01:00
49b22eeec6
Catch graphql errors ( #3634 )
...
* Catch graphql errors
* update according to comment
2024-01-26 11:33:48 +01:00
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
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
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
7845e04f6b
Fetch messages with hard coded thread id ( #3613 )
...
* Fetch messages with hard coded thread id
* Fix test
* Use first workspace member or person names
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-25 11:13:32 +01:00
e85f65a195
Build message threads ( #3593 )
...
* Adding message thread component
* Add state and mocks
* Rename components and use local state for messages
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-24 14:32:57 +01:00
c7ad6a0de7
[messaging] Rename body to text ( #3595 )
...
* Store HTML message
* remove console log
* [messaging] rename body to text
* use CoreObjectNameSingular
2024-01-23 19:56:42 +01:00
dc7fccb0a8
Merge messages and threads #1 ( #3583 )
...
* Merge messages and threads
* rename messageChannelSync to messageChannelMessage
* add merge logic
* remove deprecated methods
* restore enqueue GmailFullSyncJob after connectedAccount creation
2024-01-23 17:28:14 +01:00
096f005562
header component added ( #3539 )
...
* header component added
* fix css issues and date format issue
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2024-01-23 12:06:21 +01:00
004c23768c
Build message thread empty right drawer ( #3585 )
...
* Trigger message thread top bar
* Rename message thread to thread
* Move all components in a directory
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-01-23 10:56:31 +01:00
ceddd211cf
feat: Create a ThreadBottomBar component ( #3474 )
...
* feat: Create a ThreadBottomBar component
* capitalised share like Share in button
* removed ButtonGroup to avoid the border-radius issue
2024-01-18 09:47:01 +01:00
c53abf2f5a
Fix chromatic tests + re-enable ( #3414 )
...
* Fix chromatic tests + re-enable
* Try to run command manually
* Fix
* Fix
* Fix
* Fix
* Fix
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-12 18:32:00 +01:00
b112b74022
Feat/activities custom objects ( #3213 )
...
* WIP
* WIP - MultiObjectSearch
* WIP
* WIP
* Finished working version
* Fix
* Fixed and cleaned
* Fix
* Disabled files and emails for custom objects
* Cleaned console.log
* Fixed attachment
* Fixed
* fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-05 09:08:33 +01:00
801177531b
Fix and enhance storybook:modules:tests ( #3107 )
...
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:modules:tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Remove unnecessary changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix email thread story
* Re-enable storybook:modules
* Fix
---------
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 >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-21 19:45:47 +01:00
1b7580476d
2929 fetch emails from backend and display them in the UI ( #3092 )
...
* sending mock data from the resolver
* add sql raw query to the resolver
* improve query
* fix email component css
* fix query
* css adjustments
* create hard limit for mail display
* fix display name ellipsis
* add service
* fetching email on company page is working
* graphql generate
* move queries into separate files
* add types
* renaming
* add early return
* modified according to comments
* graphql data generate
* fix bug after renaming
* fix issue with mock data
2023-12-21 18:21:07 +01:00
9f6d476351
feat: add Show Page Emails preview ( #2964 )
...
* feat: add Show Page Emails preview
Closes #2928
* refactor: review - rename StyledContainer to StyledCardContent
2023-12-15 17:03:34 +01:00
ac3c517c82
feat: add Show Page Emails tab ( #2962 )
...
* feat: add Show Page Emails tab
Closes #2926 , Closes #2927
* feat: review - disable Emails tab if messaging not enabled
* refactor: review - add FeatureFlagKey type
---------
Co-authored-by: Thais GUIGON <thaisguigon@macbook-pro.home >
2023-12-15 16:31:03 +01:00