Commit Graph
100 Commits
Author SHA1 Message Date
Thaïs 5a692fbaeb feat: add Accounts List Card to Calendar Settings (#4129)
Closes #4061
2024-02-22 11:22:49 +01:00
Thaïs ee66188656 feat: add Synchronization calendar settings (#4111)
* feat: add Calendar Settings section to Settings/Accounts/Calendars page

Closes #4060

* refactor: rename components

* feat: add Synchronization calendar settings

Closes #4066
2024-02-21 17:23:06 +01:00
Thaïs 5a8a9cd029 feat: add Calendar Settings section to Settings/Accounts/Calendars page (#4104)
* feat: add Calendar Settings section to Settings/Accounts/Calendars page

Closes #4060

* refactor: rename components
2024-02-21 17:18:57 +01:00
Thaïs f977164fee feat: create Settings/Accounts/Calendars/Calendar Settings page (#4092)
* feat: create Settings/Accounts/Calendars/Calendar Settings page

Closes #4063

* docs: add SettingsAccountsCalendarsSettings stories
2024-02-21 15:37:42 +01:00
Thaïs 11581ca9c3 feat: create Settings/Accounts/Calendars page (#4090)
* feat: create Settings/Accounts/Calendars page

Closes #4059

* docs: add SettingsAccountsCalendars stories

* refactor: add SettingsNavigationDrawerItem component
2024-02-20 19:28:15 +01:00
Thaïs ec20117e80 chore: make twenty-server nest command scripts depend on twenty-email… (#4055)
chore: make twenty-server nest command scripts depend on twenty-emails build

Closes #4013
2024-02-20 14:35:09 +01:00
ThaïsandCharles Bochet e011ecbd6f POC: generate twenty-server package.json with Nx (#3654)
* POC: generate twenty-server package.json with Nx

* Re-add passport

* Fix instal

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-13 22:16:21 +01:00
ThaïsandCharles Bochet d28843bb85 feat: order board cards by record position (#3902)
* feat: order board cards by record position

Closes #3848

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-09 18:09:13 +01:00
Thaïs 201a2c8acc feat: display record identifier field as first column in table (#3788)
* feat: display record identifier field as first column in table

& forbid hiding and moving record identifier column

Closes #3303

* refactor: add availableTableColumnKeysSelectorScopeMap

* feat: show plus icon button for label identifier column and dropdown menu for other columns

* fix: use label identifier field value in RecordShowPage title

* refactor: remove availableColumnKeys selector

* refactor: review - compute label identifier logic in mapViewFieldsToColumnDefinitions + remove selectors

* fix: several fixes

* fix: fix board fields isVisible

* fix: fix board fields reordering

* fix: more board fields fixes

* fix: fix hiddenTableColumnsSelectorScopeMap
2024-02-09 12:36:08 +01:00
ThaïsandCharles Bochet 90b58518bb feat: change RecordShowPage Relation Card field display for TO_ONE_OB… (#3596)
feat: change RecordShowPage Relation Card field display for TO_ONE_OBJECT relation fields

Closes #3409

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-08 18:46:35 +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
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
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
ThaïsandCharles Bochet 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
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
Thaïsandmartmull 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
ThaïsandLucas Bordeau 014f11fb6f perf: apply record optimistic effects with cache.modify on mutation (#3540)
* perf: apply record optimistic effects with cache.modify on mutation

Closes #3509

* refactor: return early when created records do not match filter

* fix: fix id generation on record creation

* fix: comment filtering behavior on record creation

* Fixed typing error

* refactor: review - use ??

* refactor: review - add variables in readFieldValueToSort

* docs: review - add comments for variables.first in triggerUpdateRecordOptimisticEffect

* refactor: review - add intermediary variable for 'not' filter in useMultiObjectSearchMatchesSearchFilterAndToSelectQuery

* refactor: review - add filter utils

* fix: fix tests

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-23 18:13:00 +01:00
ThaïsandCharles Bochet 2d929c3b91 feat: display label identifier table cell as chip with link to Record… (#3503)
* feat: display label identifier table cell as chip with link to RecordShowPage

Closes #3502

* Fix test

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-17 17:44:36 +01:00
Thaïs 96d990e275 feat: set field as custom object label identifier in Object Detail (#3360)
* feat: set field as custom object label identifier in Object Detail

Closes #3302

* feat: prevent disabling Object label identitifer field in back-end

* refactor: review - extract isLabelIdentifier variable
2024-01-17 12:19:41 +01:00
ThaïsandCharles Bochet 95326b2828 fix: fix Relation field optimistic effect on Record update (#3352)
* fix: fix Relation field optimistic effect on Record update

Related to #3099

* Fix lint

* Fix

* fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-13 12:35:30 +01:00
ThaïsandLucas Bordeau 09a2a656e2 feat: display identifier field in Object Detail page for custom objects (#3329)
* feat: display identifier field in Object Detail page for custom objects

Closes #3301

* fix: show Name as object label identifier by default

* Minor improvements

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-12 12:11:09 +01:00
ThaïsandLucas Bordeau 0dc39db314 feat: detach records from Relation field card in Show Page (#3350)
* feat: detach records from Relation field card in Show Page

Closes #3128

* Fix TS

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-12 12:10:42 +01:00
ThaïsandLucas Bordeau 985c2f321e feat: add link to relation filtered table in Record Show Page (#3261)
* feat: add link to relation filtered table in Record Show Page

Closes #3125

* refactor: use generateFindManyRecordsQuery for optimization

* Fixes from review

* Minor fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-11 20:51:06 +01:00
Thaïs 0b505288f2 feat: add Relation field card feature flag (#3311)
Related to #3123
2024-01-09 12:46:03 +01:00
Thaïs ed06cc0310 feat: add Relation Field Card plus button in Show Page (#3229)
Closes #3124
2024-01-09 10:29:01 +01:00
ThaïsandLucas Bordeau db46dd4497 feat: add RecordRelationFieldCardSection (#3176)
Closes #3123

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 11:02:02 +01:00
ThaïsandCharles Bochet 8483cf0b4b POC: chore: use Nx workspace lint rules (#3163)
* chore: use Nx workspace lint rules

Closes #3162

* Fix lint

* Fix lint on BE

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-03 23:07:25 +01:00
Thaïs 81a18cd751 fix: fix disabled Button and IconButton primary accents background co… (#3165)
fix: fix disabled Button and IconButton primary accents background color and opacity

Fixes #3135
2023-12-28 15:47:15 +01:00
ThaïsandLucas Bordeau a5f28b4395 fix: display label identifier field input in Show Page (#3063)
* fix: display label identifier field input in Show Page

Fixes #3003

* Cleaned a bit after comments

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-20 18:52:02 +01:00
ThaïsandLucas Bordeau 6c30556d00 feat: add Settings/Accounts/Emails/Inbox Settings visibility section (#3077)
* feat: add Settings/Accounts/Emails/Inbox Settings page

Closes #3013

* feat: add Settings/Accounts/Emails/Inbox Settings synchronization section

Closes #3014

* feat: add Settings/Accounts/Emails/Inbox Settings visibility section

Closes #3015

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-20 16:09:47 +01:00
ThaïsandLucas Bordeau 5bbd1a7c49 feat: add Settings/Accounts/Emails/Inbox Settings synchronization sec… (#3071)
* feat: add Settings/Accounts/Emails/Inbox Settings page

Closes #3013

* feat: add Settings/Accounts/Emails/Inbox Settings synchronization section

Closes #3014

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-20 15:59:02 +01:00
ThaïsandLucas Bordeau 082f52eda9 feat: add Settings/Accounts/Emails/Inbox Settings page (#3064)
Closes #3013

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-20 15:53:40 +01:00
Thaïs c09b98cdc9 fix: hide disabled fields in Show Page (#3062)
Fixes #2904
2023-12-19 18:45:37 +01:00
Thaïs 58f781b0a8 fix: fix Relation field form select labels display (#3081)
Fixes #3080
2023-12-19 18:13:15 +01:00
Thaïs 235b97fb56 fix: add dark mode version of Settings Object cover image (#3079)
Fixes #3078
2023-12-19 18:10:47 +01:00
Thaïs 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
ThaïsandThais GUIGON 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
ThaïsandThais GUIGON 1eb5bebaf7 feat: select default Unit for Currency field (#2996)
Closes #2347

Co-authored-by: Thais GUIGON <thaisguigon@macbook-pro.home>
2023-12-15 11:01:06 +01:00
ThaïsandCharles Bochet a10f353a4c feat: redirect to Plan Required page if subscription status is not active (#2981)
* feat: redirect to Plan Required page if subscription status is not active

Closes #2934

* feat: navigate to Plan Required in PageChangeEffect

* feat: add Twenty logo to Plan Required modal

* test: add Storybook story

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-14 12:39:22 +01:00
ThaïsandLucas Bordeau 856b78abc7 feat: add Settings/Accounts/Emails Emails Sync section accounts list (#2957)
Closes #2888

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-13 17:37:12 +01:00
Thaïs 0048216abf feat: add Settings/Accounts Connected Accounts section accounts list (#2953)
Closes #2887
2023-12-12 16:03:39 +01:00
Thaïs 3ed92b2f80 feat: add Settings/Accounts/Emails Emails Sync section with empty state (#2941)
Closes #2823
2023-12-12 12:21:10 +01:00
Thaïs 6792724281 feat: save Relation field description on creation (#2940)
Closes #2896
2023-12-12 11:28:09 +01:00
Thaïs 326b29b699 feat: add Settings/Accounts Connected Accounts section with empty state (#2870)
Closes #2817
2023-12-08 11:17:07 +01:00
Thaïs 56a93d2ead feat: save Select field options (#2869)
Closes #2704
2023-12-08 11:15:52 +01:00
Thaïs 1f40c45140 feat: add Settings/Accounts/Emails page (#2867)
Closes #2819
2023-12-08 11:10:09 +01:00
Thaïs 62fa55eae6 feat: add Settings/Accounts Settings section (#2853)
Closes #2818
2023-12-07 12:43:38 +01:00
Thaïs e388d90976 fix: fix Pipeline Step title and color update in board (#2849)
Fixes a bug where editing a pipeline step's title or color in the board changes the column's label to the column's uuid and the color to gray.
2023-12-06 12:06:46 +01:00
ThaïsandCharles Bochet f8ddf7f32c fix: several Navigation Bar and Drawer fixes (#2845)
* fix: several Navigation Bar and Drawer fixes

Fixes #2821

- Fix navigation drawer animations
- Fix navigation bar positioning
- Do not display navigation drawer collapse button on mobile
- Refactor code and rename componentst

* Fix storybook test

* fix: fix NavigationDrawerHeader elements space-between

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-06 10:36:10 +01:00
Thaïs 5c0ad30186 feat: add Status component (#2838)
Closes #2820
2023-12-05 11:07:51 +01:00
Thaïs b4323f67a5 feat: create Settings/Accounts page (#2837)
Closes #2815
2023-12-05 10:51:25 +01:00
Thaïs 93e4f79551 feat: rename Probability field type to Rating and update preview (#2770)
Closes #2593
2023-12-01 15:31:01 +01:00
Thaïs d50cf5291a feat: reorder select field options (#2766)
Closes #2703
2023-11-29 16:42:36 +01:00
ThaïsandCharles Bochet 3617abb0e6 feat: pick select field option colors (#2748)
Closes #2433

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-29 12:49:41 +01:00
Thaïs 34a3197fee feat: set Select field option as default option (#2725)
Closes #2591
2023-11-29 12:19:56 +01:00
Thaïs f00c05c342 feat: remove Select field options (#2668)
Closes #2587
2023-11-29 12:16:26 +01:00
Thaïs cf790b9a88 feat: add options to Select field (#2665)
Closes #2447
2023-11-28 23:48:54 +01:00
Thaïs bc787f72ba feat: add Select field preview and form (#2655)
Closes #2432
2023-11-28 23:44:21 +01:00
Thaïs a3f59b9e7d test: restore and fix SettingsObjectFieldPreview stories (#2607)
Closes #2594
2023-11-28 10:46:55 +01:00
Thaïs 135733288d feat: display error snackbars for Object and Field creation/edition (#2708) 2023-11-24 18:24:19 +01:00
Thaïs 1e181c9d2a feat: restrict field types in field creation form (#2680) 2023-11-23 16:49:15 +01:00
Thaïs 0af4be0d24 fix: hide UUID from field type options in field creation form (#2645)
Fixes #2644
2023-11-22 15:22:54 +01:00
Thaïs 532e4342ec fix: fix viewing date fields detail pages (#2641)
Fixes #2640
2023-11-22 14:32:36 +01:00
Thaïs 680e9b6aa5 fix: remove navigation to Detail page on Relation tag click for Syste… (#2636)
fix: remove navigation to Detail page on Relation tag click for System objects

Fixes #2635
2023-11-22 12:30:49 +01:00
Thaïs 9912f7a336 feat: disable Standard field edition in Relation field form (#2604)
* feat: disable Standard field edition in Relation field form

Closes #2584

* refactor: code review
2023-11-21 16:33:07 +01:00
Thaïs 0f4796bd1a feat: improve Relation field type tag (#2606)
* feat: improve Relation field type tag

Closes #2359

* refactor: code review - rename dataTypes to settingsFieldMetadataTypes

* refactor: code review - style Icon with styled
2023-11-21 16:23:35 +01:00
Thaïs b3c1723638 fix: hide Select field type + display Relation field type only for ed… (#2603)
fix: hide Select field type + display Relation field type only for edition

Fixes #2585
2023-11-21 00:14:58 +01:00
Thaïs 1e79d4351e fix: fix Relation field preview (#2605)
Fixes #2586
2023-11-21 00:14:16 +01:00
ThaïsandCharles Bochet 18dac1a2b6 feat: add Relation field form (#2572)
* feat: add useCreateOneRelationMetadata and useRelationMetadata

Closes #2423

* feat: add Relation field form

Closes #2003

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:38:39 +01:00
ThaïsandCharles Bochet fea0bbeb2a feat: add EnumFieldDisplay and Enum field preview (#2487)
Closes #2428

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:15:35 +01:00
Thaïs e90beef91f feat: add useCreateOneRelationMetadata and useRelationMetadata (#2559)
Closes #2423
2023-11-17 19:15:15 +01:00
Thaïs b28ff9c97e feat: add Url field preview in settings (#2402)
* feat: add Url field preview in settings

Closes #2326

* feat: add Date field type in settings (#2414)

Closes #2331
2023-11-09 18:51:21 +01:00
Thaïs 0d4949484c feat: add Money field type in settings (#2405)
Closes #2346
2023-11-09 17:13:34 +01:00
Thaïs aa09b5758c feat: add Boolean field preview in settings (#2399)
Closes #2328
2023-11-09 12:20:30 +01:00
Thaïs 28779f0fb8 feat: add Number field preview in settings (#2397)
Closes #2327
2023-11-09 08:30:37 +01:00
Thaïs 1f5492b4a7 feat: add Text field preview in settings (#2389)
Closes #2325
2023-11-09 08:25:46 +01:00
ThaïsandCharles Bochet 377f95c9db feat: add SettingsObjectFieldPreview and SettingsObjectFieldPreviewCard (#2376)
* feat: add SettingsObjectFieldPreview

Closes #2343

* feat: add SettingsObjectFieldPreviewCard

Closes #2349

* Fix ci

* Fix tests

* Fix tests

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-06 23:14:47 +01:00
Thaïs 60b1024efb feat: do not show disabled fields in table (#2319)
Closes #2309
2023-11-03 15:05:04 +01:00
Thaïs e053fba089 fix: fix Modules Storybook tests (#2339)
Fixes #2310
2023-11-03 15:01:42 +01:00
Thaïs 56a5f99108 fix: fix Pages Storybook tests (#2305)
* fix: fix Companies pages tests

* fix: fix People pages tests

* fix: fix Opportunities page tests
2023-11-03 14:25:36 +01:00
Thaïs 7fe569ec6a fix: disable page shortcuts on TextArea focus (#2288)
Fixes #2275
2023-10-30 19:23:12 +01:00
Thaïs 3cdbe4f16e fix: remove blank space below Object Settings cover image (#2285)
Fixes #2280
2023-10-30 19:22:23 +01:00
Thaïs d30ed496e9 fix: display object plural labels in nav items (#2290)
Fixes #2289
2023-10-30 19:20:44 +01:00
Thaïs 328c5cd184 test: add metadata object and field mocks (#2266) 2023-10-30 17:56:56 +01:00
Thaïs 3fc1b74d9c feat: navigate to Object Detail page after custom object creation (#2277)
Closes #2276
2023-10-30 13:33:29 +01:00
ThaïsandLucas Bordeau e488a87ce4 feat: save edited custom field (#2245)
Closes #2161

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 18:06:31 +02:00
ThaïsandLucas Bordeau 40c5f72080 feat: save activated/disabled fields in New Field - Step 1 page (#2226)
* feat: save activated/disabled fields in New Field - Step 1 page

Closes #2170

* fix: fix objectSlug

* Console.log

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 17:59:57 +02:00
Thaïs 9681815cb3 test: fix SettingsObjectDisabledMenuDropDown storybook tests (#2257)
* test: fix SettingsObjectDisabledMenuDropDown storybook tests

* fix: fix BoardOptionsDropdownContent lint error
2023-10-27 17:49:14 +02:00
ThaïsandLucas Bordeau 3c6ce75606 feat: activate standard objects in New Object page (#2232)
* feat: activate standard objects in New Object page

Closes #2010, Closes #2173

* Pagination limit = 1000

* Various fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-10-27 15:46:29 +02:00
Thaïs d7b0c1190a feat: add Object Field Edit page sections (#2243)
Closes #2160, Closes #2163
2023-10-27 12:13:01 +02:00
Thaïs 3d5ee6d7ca feat: remove disabled custom objects (#2247)
Closes #2147
2023-10-27 11:08:02 +02:00
Thaïs b30233d582 fix: generate metadata object and field names in camel case (#2250)
Fixes #2249
2023-10-26 17:27:52 +02:00
Thaïs 00dd046798 feat: create custom object field (#2225)
Closes #2171
2023-10-26 11:34:26 +02:00
Thaïs 2b1945a3e1 feat: create custom object and update edited object names (#2220)
Closes #2155, Closes #2153
2023-10-26 11:04:16 +02:00
ThaïsandCharles Bochet 7a3338b4de feat: save edited custom object (#2204)
Closes #2153

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-10-24 08:33:35 +02:00
ThaïsandCharles Bochet 291feae595 feat: activate, disable and erase fields in Object Detail (#2200)
* feat: activate and disable objects

Closes #2144, Closes #2148, Closes #2154

* feat: activate, disable and erase fields in Object Detail

Closes #2158

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-10-24 08:30:13 +02:00
Thaïs 26e8cd76be feat: activate and disable objects (#2194)
Closes #2144, Closes #2148, Closes #2154
2023-10-24 08:07:00 +02:00
ThaïsandCharles Bochet 34bbbdff41 feat: add New Field Step 2 form (#2138)
Closes #2001

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 13:28:15 +02:00
Thaïs 2f0da64e1b feat: get object metadata from backend in Object Edit (#2125)
Closes #2009
2023-10-19 17:14:29 +02:00
Thaïs f35ea19f4d feat: get object metadata from backend in Object Detail and New Field… (#2122)
* feat: get object metadata from backend in Object Detail and New Field - Step 1

Closes #2008

* refactor: add useLazyLoadIcon hook
2023-10-19 16:58:18 +02:00