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
b6e8bb1a6c
Delete auth/file front variables ( #4455 )
2024-03-19 22:19:40 +01:00
52f1b3ac98
Fixed select field input height ( #4493 )
2024-03-15 13:41:32 +01:00
f6d27ce19c
Update add account button style ( #4481 )
...
* update style
* fix gap being there twice
2024-03-15 13:33:35 +01:00
8c0680b918
Setup the foundation for Twenty UI library. ( #4423 )
...
* feat: create a separate package for twenty-ui, extract the pill component with hard-coded theme values into it, and use the component inside twenty-front to complete the setup
* feat: extract the light and the dark theme into twenty-ui and update the AppThemeProvider component inside twenty-front to consume themes from twenty-ui
* fix: create a decorator inside preview.tsx to provide a default theme to storybook development server
* fix: remove redundant type declarations and revert back the naming convention for theme declarations
* fix: introduce a default value for pill label within the story for development server
* fix: introduce the nx script into package.json for twenty-ui and resolve imports for theme type within the package
* fix: remove the pill component from the twenty-front package along with the story for it
* fix: revert the package versions to those before running the nx cli command for storybook init
* feat: update readme to include details for building the ui library and starting the storybook development server
* fix: include details about twenty-ui inside jest.config for twenty-front to complete front-jest job
* - Added preview head for font
- Added theme addon for light/dark switch
- Added ComponentDecorator
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-03-13 14:21:18 +01:00
62d414ee66
40 remove self billing feature flag ( #4379 )
...
* Define quantity at checkout
* Remove billing submenu when not isBillingEnabled
* Remove feature flag
* Log warning when missing subscription active workspace add or remove member
* Display subscribe cta for free usage of twenty
* Authorize all settings when subscription canceled or unpaid
* Display subscribe cta for workspace with canceled subscription
* Replace OneToOne by OneToMany
* Add a currentBillingSubscriptionField
* Handle multiple subscriptions by workspace
* Fix redirection
* Fix test
* Fix billingState
2024-03-12 18:10:27 +01:00
60598bf235
[ESLint rule] prevent useRecoilCallback without a dependency array ( #4411 )
...
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com >
Co-authored-by: Matheus <matheus_benini@hotmail.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
2024-03-12 15:12:17 +01:00
4704ef829e
fix: Standardize labels casing ( #4388 )
...
Standardize labels casing
2024-03-11 17:15:22 +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
86c0f311f5
Introduce ComponentState ( #4386 )
...
* Proof of concept ComponentState
* Migrate to createState and createFamilyState
* Refactor
* Fix
* Fix tests
* Fix lint
* Fix tests
* Re-enable coverage
2024-03-09 11:31:00 +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
40bea0d95e
feat: add Settings Object Edit identifiers form ( #4300 )
...
* feat: add Settings Object Edit identifiers form
Closes #3836
* fix: fix wrong imports after renaming directories
2024-03-08 21:55:30 +01:00
0b889ef089
43 add billing portal link ( #4318 )
...
* Add create billing portal session endpoint
* Rename checkout to checkoutSession
* Add billig portal query in twenty-front
* Add billing menu item
* WIP: add menu page
* Code review returns
* Rename request files
* Unwip: add menu page
* Add billing cover image
* Fix icon imports
* Rename parameter
* Add feature flag soon pill
2024-03-05 17:40:58 +01:00
1f00af286b
feat: remove Color setting from Calendars Settings ( #4310 )
...
Closes #4291
2024-03-05 12:37:11 +01:00
91e5e7598b
refactor: use react-hook-form in Settings Data Model Object pages ( #4271 )
...
Related issue: #3836
2024-03-05 07:52:19 -03:00
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