cfb0cce9b8
Refactor Views by cleaning the code, relying on apolloCache and improving performances ( #4516 )
...
* Wip refactoring view
* Post merge conflicts
* Fix review
* Add create view capability
* Fix create object missing view
* Fix tests
2024-03-20 14:21:58 +01:00
20e14cb455
fix: fix typings in calendar utils tests ( #4572 )
...
* fix: fix typings in calendar utils tests
* fix: remove unstable test
2024-03-20 10:07:01 +01:00
4ab426c52a
4485 create a custom resolver for calendar events ( #4568 )
...
* create timeline calendar event resolver
* working on getCalendarEventsFromPersonIds
* add count query
* add calendarEventVisibility and add typing
* update calendarEvent dto
* modify calendarEvent dto
* compute calendar event visibility
* fix types
* add FieldMetadata in timeline calendar dtos and create queries and fragments
* remove fieldMatadata
* fix naming
* update resolver
* add getCalendarEventsFromCompanyId
* fix queries
* refactor queries
* fix visibility
* fix calendar event attendees bug
* visibility is working
* remove @IDField
* update gql queries
* update dto
* add error
* add enum
* throw http exception
* modify error
* Refactor calendar event visibility check
* use enum
2024-03-19 18:34:00 +01:00
872fb2bd49
TWNTY-4450 - Add tests for /modules/activities/emails ( #4520 )
...
* Add tests for `/modules/activities/emails`
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Remove temporary changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
---------
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-03-18 17:10:07 +01:00
cd9f402bc2
Fix calendar broken tests
2024-03-15 19:40:48 +01:00
38f28de4a6
feat: open event details drawer on event row click ( #4464 )
...
* feat: open event details drawer on event row click
Closes #4294
* feat: review - display Calendar Event details Inline Cells in readonly mode
* fix: fix calendar event field values not being set
* chore: review - reactivate no-extra-boolean-cast eslint rule
2024-03-15 17:37:36 +01:00
41c7cd8cf7
feat: add calendar event attendees avatar group ( #4384 )
...
* feat: add calendar event attendees avatar group
Closes #4290
* fix: take CalendarEventAttendee data model into account
* feat: add Color code section to Calendar Settings (#4420 )
Closes #4293
* Fix lint
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-12 14:58:34 +01:00
ab4ab1dfba
feat: add next event indicator to Show Page Calendar tab ( #4348 )
...
* feat: add next event indicator to Show Page Calendar tab
Closes #4289
* feat: improve calendar animation
* refactor: add some utils and fix sorting edge case with full day
* refactor: rename CalendarCurrentEventIndicator to CalendarCurrentEventCursor
* fix: fix tests
* Fix lint
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-12 14:27:51 +01:00
581dfafe11
Renamed nullable utils into isDefined and isUndefinedOrNull ( #4402 )
...
* Renamed nullable utils into isDefined and isUndefinedOrNull
2024-03-11 14:28:57 +01:00
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
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