a9f4a66c4f
refactor: validate objectMetadataItem with Zod on creation and update… ( #4270 )
...
* refactor: validate objectMetadataItem with Zod on creation and update & remove logic from useObjectMetadataItemForSettings
* refactor: review
2024-03-05 11:32:30 +01:00
38a0aae030
Update SettingsObjectAboutSection.tsx changed "Disable" CTA to "Deact… ( #4175 )
...
* Update SettingsObjectAboutSection.tsx changed "Disable" CTA to "Deactivate"
* Update SettingsObjects.tsx
Additional changes: Disabled sections to inactive
* Update SettingsObjectAboutSection.tsx
I think you meant changing Disable to Deactivate
* Update and rename SettingsObjectDisabledMenuDropDown.tsx to SettingsObjectInactiveMenuDropDown.tsx
additional changes to #4153
* Update SettingsObjects.tsx
* Update and rename SettingsObjectDisabledMenuDropDown.stories.tsx to SettingsObjectInactiveMenuDropDown.stories.tsx
* fix typescript errors
* respect issue requirements
---------
Co-authored-by: bosiraphael <raphael.bosi@gmail.com >
2024-03-04 14:59:31 +01:00
f990b68f0e
Fix Internal Server Error when removing profile picture ( #4257 ) ( #4278 )
...
* Fix Internal Server Error when removing profile picture (#4257 )
This commit addresses the issue where attempting to remove a profile picture resulted in an Internal Server Error.
The fix involves:
* Adding isNullable property to workspace-member avatar;
* Implementing exception handling to handle errors during avatar removal.
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/standard-objects/workspace-member.object-metadata.ts
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2024-03-04 13:38:20 +01:00
b69fed9023
Fix broken storybook tests on SettingsPreview
2024-03-01 12:55:48 +01:00
fb439e3045
Enable new record board and messaging for all workspaces except demo ( #4243 )
...
* Enable new record board and messaging for all workspaces except demo
* Fix according to PR
2024-02-29 18:22:32 +01:00
6ec0e5e995
feat: adjust navigation drawer design ( #4242 )
...
Closes #3969 , Closes #4240
2024-02-29 16:49:23 +01:00
a892d0f653
feat: add Object Edit Settings section with Object preview ( #4216 )
...
* feat: add Object Edit Settings section with Object preview
Closes #3834
* fix: fix preview card stories
* test: improve getFieldDefaultPreviewValue tests
* test: add getFieldPreviewValueFromRecord tests
* test: add useFieldPreview tests
* refactor: rename and move components
* fix: restore RecordStoreDecorator
2024-02-29 11:23:56 -03: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
8b39e53e49
4026 create storybook tests for blocklist components ( #4185 )
...
* Add SettingsAccountsEmailsBlocklistInput story
* Add SettingsAccountsEmailsBlocklistSection story
* Add SettingsAccountsEmailsBlocklistTable story
* Add SettingsAccountsEmailsBlocklistTableRow story
* wip
* add play
* add play
* add delete from blocklist test
* wip
* wip
* done
2024-02-26 21:54:29 +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
c434d1edb5
TWNTY-3968 - Fix and enhance storybook:pages tests ( #4072 )
...
* Fix and enhance storybook:pages tests
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix and enhance storybook:pages tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Add minor refactors
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Revert temporary changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
* Fix tests
* Fix tests duplicated locale
---------
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 15:06:51 +01:00
3d809d5317
feat: add Display calendar settings ( #4164 )
...
* feat: add Color calendar setting
Closes #4067
* fix: fix wrong imports
* feat: add Display calendar settings
Closes #4068
* feat: add 12h/24h in Format option labels
* fix tests
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 12:50:32 +01:00
a993155fb0
feat: add Color calendar setting ( #4141 )
...
* feat: add Color calendar setting
Closes #4067
* fix: fix wrong imports
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-24 12:34:56 +01:00
ce7be4c48e
feat: add Event Visibility calendar settings ( #4138 )
...
Closes #4064
2024-02-22 14:20:56 -03:00
292e97a045
feat: add Contact Auto-Creation calendar settings ( #4132 )
...
* feat: add Contact Auto-Creation calendar settings
Closes #4065
* fix: fix wrong Section component import
* fix: fix wrong Toggle import
2024-02-22 18:18:05 +01:00
5a692fbaeb
feat: add Accounts List Card to Calendar Settings ( #4129 )
...
Closes #4061
2024-02-22 11:22:49 +01:00
e69c462b70
feat: allow backend to rename field of custom object ( #4097 )
...
* feat: allow backend to rename field of custom object
* feat: allow custom field label edition in Settings
Closes #4080
* fix: avoid renaming standard fields
---------
Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com >
2024-02-21 18:59:51 +01:00
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
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
15510c9fbe
Added beta tag in email ( #4098 )
...
#4040 added beta tag
2024-02-21 17:09:36 +01:00
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
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
6fb0099eb3
3969 Adjusted Sidebar ( #3971 )
...
* Label fix
* changes done
* Revert "Label fix"
This reverts commit 1233b5809993da454bc84286746ef4ef18934e2e.
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-02-19 23:01:17 +01:00
a06b6c9078
3757 update frontend to show correct view count ( #3967 )
...
* Add totalCount to fetch record request
* Add totalCount to object board
* WIP Add totalCount to object table
* Update query total count on update / delete optimistic effects
* Remove console log
* Load fewer data for totalcount
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-16 14:33:51 +01:00
a5ecbf7df5
Integrations: design fixes and remove feature flag ( #4003 )
...
* Integrations: design fixes and remove feature flag
* Fix
2024-02-16 13:35:45 +01:00
0b93a6785b
3815 blocklist connect frontend ( #3930 )
...
* wip
* wip
* move blocklist to connectedAccount
* wip
* format date
* fix styling
* renaming
* fix imports
* fix imports
* Rename BlockListItem.ts to BlocklistItem.ts
* Add IS_BLOCKLIST_ENABLED feature flag and remove IS_MESSAGING_ENABLED gate at model creation
* hide blocklist if feature flag is disabled
2024-02-15 17:18:04 +01:00
94ad0e33ec
3889 activate settingsaccountsemailsinboxsettings ( #3962 )
...
* update email visibility in settings
* improve styling
* Add contact auto creation toggle to inbox settings
* re
move soonpill
* update Icon
* create job
* Add logic to create contacts and companies for message participants without personId and workspaceMemberId
* add listener
* wip
* wip
* refactoring
* improve structure
* Add isContactAutoCreationEnabled method to MessageChannelService
* wip
* wip
* clean
* add job
* fix bug
* contact creation is working
* wip
* working
* improve code
* improve typing
* resolve conflicts
* fix
* create company repository
* move util
* wip
* fix
2024-02-14 17:30:17 +01:00
47d7e19570
Update custom object placeholder ( #3876 )
...
* #3874 update custom object placeholder
* #3876 removed object-edit folder and file
* #3833 update loading image
* remove image file
2024-02-13 23:24:21 +01:00
7b88e5bdaf
3865-Add-Integrations ( #3870 )
...
* initial commit setup
* ui done
* added links
* changed brand logos
* Twenty logo fix
* Windmill logo fix
* Fix typo
* Add feature flag
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-13 23:11:05 +01:00
3cbf958a1c
GH-3652 Add forgot password on sign-in page ( #3789 )
...
* Remove auth guard from password reset email endpoint
* Add arg for GQL mutation and update its usage
* Add forgot password button on sign-in page
* Generate automated graphql queries
* Move utils to dedicated hook
* Remove useless hook function
* Split simple hook methods
* Split workspace hook
* Split signInWithGoogle hook
* Split useSignInUpForm
* Fix error in logs
* Add Link Button UI Component
* Add storybook doc
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-02-09 17:37: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
a8cb4dc2f4
Press enter to add to blocklist ( #3847 )
...
* Press enter to add to blocklist
* Add support for using ts-key-enum in SettingsAccountsEmailsBlocklistInput
* Sort imports
2024-02-09 15:26:18 +01:00
9ceff84bbf
Set opportunity stage as editable ( #3838 )
...
* Set opportunity stage as editable
* Fix comments
* Add command for migration
* Fixes
---------
Co-authored-by: Thomas Trompette <thomast@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-09 14:44:11 +01:00
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
00a46b21dc
3272 add a page to create and edit webhook ( #3859 )
...
* Reorganize files
* Add new webhook form
* Reorganize files
* Add Webhook update
* Fix paths
* Code review returns
2024-02-08 13:02:37 +01:00
6de9d972ec
Change calendar transparency ( #3732 )
...
fix
2024-02-05 11:27:05 +01:00
39f4ec9e7b
Fix storybook tests on Field Preview (Settings) ( #3761 )
2024-02-01 17:44:36 +01:00
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
2f7f6d3241
Fix empty state flashing on SettingsAccountsEmailsSyncSection ( #3698 )
...
fix
2024-01-30 15:40:14 +01:00
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
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
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
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
46f0eb522f
GH-3245 Change password from settings page ( #3538 )
...
* GH-3245 add passwordResetToken and passwordResetTokenExpiresAt column on user entity
* Add password reset token expiry delay env variable
* Add generatePasswordResetToken mutation resolver
* Update .env.sample file on server
* Add password reset token and expiry migration script
* Add validate password reset token query and a dummy password update (WIP) resolver
* Fix bug in password reset token generate
* add update password mutation
* Update name and add email password reset link
* Add change password UI on settings page
* Add reset password route on frontend
* Add reset password form UI
* sign in user on password reset
* format code
* make PASSWORD_RESET_TOKEN_EXPIRES_IN optional
* add email template for password reset
* Improve error message
* Rename methods and DTO to improve naming
* fix formatting of backend code
* Update change password component
* Update password reset via token component
* update graphql files
* spelling fix
* Make password-reset route authless on frontend
* show token generation wait time
* remove constant from .env.example
* Add PASSWORD_RESET_TOKEN_EXPIRES_IN in docs
* refactor emails module in reset password
* update Graphql generated file
* update email template of password reset
* add space between date and text
* update method name
* fix lint issues
* remove unused code, fix indentation, and email link color
* update test file for auth and token service
* Fix ci: build twenty-emails when running tests
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2024-01-25 10:28:48 +01:00
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
6aad59d0be
3434 connect settingsaccountsemails to the backend ( #3584 )
...
* wip
* wip
* update sync settings
* fix key in map
* connect email visibility to backend
* finished
* improve typing
2024-01-22 18:29:14 +01:00
ba038a4a83
fixed issue Refine Settings Layout ( #3429 )
...
* fixed issue Refine Settings Layout
* fixed width and issue
* Fix according to review
* Fix
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-17 15:54:52 +01:00
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
16a24c5f0c
Rework relations ( #3431 )
...
* Rework relations
* Fix tests
2024-01-15 12:07:23 +01:00