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
92aa0bd888
feat: add Month headers to Show Page Calendar tab ( #4326 )
...
Closes #4288
2024-03-08 06:22:23 -03:00
af6ffbcc68
feat: standard fields on custom ( #4332 )
...
* feat: add ability to sync standard fields on custom object
* fix: clean
* fix: wrong compute during object creation
* fix: missing cascade delete
* fix: remove unused injected class
* fix: naming
* fix: rename factory to paramsFactory and clean
* fix: rename ExtendCustomObjectMetadata to BaseCustomObjectMetadata
* fix: partial fix inconsistent label and description
* Fixes
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-03-07 17:21:50 +01:00
e8252eca86
Chore: Only show 2 relations in ActivityTargetChips ( #4325 )
...
* limits activity target relations count to 2
* Remove dynamic width calculation
---------
Co-authored-by: Abhishek Bindra <abindra@commvault.com >
Co-authored-by: Thomas Trompette <thomast@twenty.com >
2024-03-07 12:26:19 +01:00
dd961209de
feat: add event rows to Show Page Calendar tab ( #4319 )
...
* feat: add event rows to Show Page Calendar tab
Closes #4287
* refactor: use time as events group key instead of ISO string for easier sorting
* feat: implement data model changes
* refactor: improve sorting
2024-03-07 11:13:22 +01:00
e7857d7fa3
Improve performance on findMany queries ( #4334 )
...
* Improve performance on findMany queries
* Fix
2024-03-06 13:59:42 +01:00
30df6c10ea
test: improve utils coverage ( #4230 )
...
* test: improve utils coverage
* refactor: review - rename isDefined to isNonNullable, update tests and return statement
2024-02-29 17:03:52 +01:00
6ad3880696
feat: apply RecordDetailSection style on RecordDuplicatesSection and … ( #4241 )
...
feat: apply RecordDetailSection style on RecordDuplicatesSection and add stories
Closes #3963 , Closes #4240
2024-02-29 14:10:07 +01:00
51c6570d7c
Removed the boxes around fields on shows and side panel ( #4032 )
...
#3963 removed border and padding
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-25 21:56:37 +01:00
c8e4da5394
3961-Notes-Relation-Field ( #3965 )
...
* Label fix
* Remove semicolumn
* Fix broken layout
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-25 21:25:44 +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
87f7c75057
Remove usage of toSorted as it is not fully supported ( #4168 )
2024-02-24 12:12:55 +01:00
fb920a92e7
Improved activity editor re-renders ( #4149 )
...
* Refactor task count
* Fixed show page rerender
* Less rerenders and way better title and body UX
* Finished breaking down activity editor subscriptions
* Removed console.log
* Last console.log
* Fixed bugs and cleaned
2024-02-23 17:54:27 +01:00
140d3460eb
Refactor/finish activities optimistic ( #4106 )
...
* Finished optimistic effects
* Fixed tests
* Added unit test on useActivityConnectionUtils to prepare for refactor
* Fixed console.log
2024-02-21 18:54:14 +01:00
1c829b2ea1
Updated tasks inbox empty state wording ( #4121 )
...
#4078 change task empty text word
2024-02-21 17:34:26 +01:00
70cf805db8
Resolved text editor styled ( #4033 )
...
#3998 resolved text editor styled
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-20 15:29:39 +01:00
36a6558289
Feat/activity optimistic activities ( #4009 )
...
* Fix naming
* Fixed cache.evict bug for relation target deletion
* Fixed cascade delete activity targets
* Working version
* Fix
* fix
* WIP
* Fixed optimistic effect target inline cell
* Removed openCreateActivityDrawer v1
* Ok for timeline
* Removed console.log
* Fix update record optimistic effect
* Refactored activity queries into useActivities for everything
* Fixed bugs
* Cleaned
* Fix lint
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-20 14:20:45 +01:00
0d41023edd
Activity Editor hot key scope management ( #3568 )
...
* on click focus on activity body editor
* acitivity editor hot key scope added
* classname prop added escape hot key scope call back added
* passing containerClassName prop for activity editor
* hot key scope added
* console log cleanup
* activity target escape hot key listener added
* tasks filter hot key scope refactor
* scope renaming refactor
* imports order linting refactor
* imports order linting refactor
* acitivity editor field focus state and body editor text listener added
* logic refactor removed state for activity editor fields focus
* removed conflicting click handler of inline cell creating new scope
* linting and formatting
* acitivity editor field focus state and body editor text listener added
* adding text at the end of line
* fix duplicate imports
* styling: gap fix activity editor
* format fix
* Added comments
* Fixes
* Remove useListenClickOutside, state, onFocus and onBlur
* Keep simplifying
* Complete review
* Fix lint
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-13 21:38:53 +01:00
713ec9494d
Added create an activity from open activity ( #3903 )
...
#3895 added create an activity from open activity
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-02-09 18:06:44 +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
cca72da708
Activity cache injection ( #3791 )
...
* WIP
* Minor fixes
* Added TODO
* Fix post merge
* Fix
* Fixed warnings
* Fixed comments
* Fixed comments
* Fixed naming
* Removed comment
* WIP
* WIP 2
* Finished working version
* Fixes
* Fixed typing
* Fixes
* Fixes
* Fixes
* Naming fixes
* WIP
* Fix import
* WIP
* Working version on title
* Fixed create record id overwrite
* Removed unecessary callback
* Masterpiece
* Fixed delete on click outside drawer or delete
* Cleaned
* Cleaned
* Cleaned
* Minor fixes
* Fixes
* Fixed naming
* WIP
* Fix
* Fixed create from target inline cell
* Removed console.log
* Fixed delete activity optimistic effect
* Fixed no title
* Fixed debounce and title body creation
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 14:51:30 +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
d74b8b7fe8
Added placeholder in task list ( #3785 )
...
#3769 added placeholder in task list
2024-02-05 15:11:09 +01:00
230e957119
blocknote update 0.11.2 ( #3766 )
2024-02-05 15:02:33 +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
d7e4b4116f
Minor fixes empty state ( #3703 )
...
* Minor fixes for Timeline empty states
* Refactored TimelineCreateButtonGroup
2024-01-31 12:12:51 +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
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
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
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
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
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
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
7fdd7119d2
Allow Card field update and card drag on new record board ( #3661 )
2024-01-29 08:59:13 +01:00
6eca6dc780
Fix Opportunities page ( #3660 )
...
* Fix Opportunities page
* Fix
* Fix tests
2024-01-28 23:33:36 +01:00
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
d6f117c688
Display RecordBoardCards on new board ( #3657 )
...
* Before remove saveEditModeValue logic
* Fixes
* Fix tests
* Fix tests
2024-01-27 15:55:45 +01:00
c8f8327d04
fix email thread message ( #3636 )
2024-01-26 13:12:37 +01:00