Commit Graph

315 Commits

Author SHA1 Message Date
martmull
8636be5e4b
3129 show page relation field add delete menu item (#3975)
* Fix typing error

* Add delete relation button

* Disable delete for workspace members

* Fix lint
2024-02-15 11:31:21 +01:00
bosiraphael
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
Jeet Desai
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
Jeet Desai
2a45aa9e0d
Update loading image (#3929)
#3833 update loading image
2024-02-13 23:18:42 +01:00
Kanav Arora
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
Muralidhar
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
Jeet Desai
b286232ea7
Added the dark mode version of empty states (#3906)
* #3898 added empty states in dark mode version

* resolved eslint issue
2024-02-13 12:31:26 +01:00
Thaïs
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
Jeet Desai
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
Deepak Kumar
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
bosiraphael
917fc5bd4d
3811 add accounts loader (#3829)
* rename exports

* rename exports

* fix css

* done

* updating image
2024-02-09 15:29:11 +01:00
bosiraphael
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
Charles Bochet
66adbb1783 Enfoce high jest code coverage 2024-02-09 15:14:43 +01:00
Lucas Bordeau
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
Thomas Trompette
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
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
martmull
7425223f83
3628 timebox separate user creation from workspace creation (#3737)
* Remove workspace schema creation from signUp

* Set user workspaceMember nullable

* Remove workspace creation

* Handle null workspace in tokens

* Update onboarding status

* Generate types

* Move createWorkspace to workspace resolver

* Create workspace after signup

* Update createWorkspace return type

* Update createWorkspace return type

* Create core.workspace at signup

* WIP

* Fix create workspace

* Fix create workspace

* Clean code

* Remove useless recoil set

* Simplify create workspace request

* Set currentWorkspace at login

* Fix tests

* Create a recoil value for is workspaceSchema created

* Rename createWorkspace to createWorkspaceSchema

* Code review returns

* Use AppPath when possible

* Try without state

* Fix

* Fixes

* Rename createWorkspaceSchema to activateWorkspace

* Remove defaultAvatarUrl from user

* Add defaultAvatarUrl to core user

This reverts commit 1701c30eb1.

* Add defaultAvatarUrl to core user

This reverts commit 1701c30eb1.

* Fix ci

* Fix tests

* Fix storybook

* Fix test

* Remove useless query

* Fix test

* Fix test

* Fix mock data

* Fix test

* Clean Mock Requests

* Fix tentative

* Revert "Clean Mock Requests"

This reverts commit 8aa20a3436.

* Fix

* Revert "Fix"

This reverts commit 2df7e9b656.

* Revert "Revert "Clean Mock Requests""

This reverts commit 3aefef8e96.

* Revert "Fix tentative"

This reverts commit 13e7748d6f.

* Update filename

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-09 12:06:11 +01:00
Thaïs
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
bosiraphael
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
Thomas Trompette
719da29795
Store compact view status (#3850)
* Store compact view status

* Rename to isCompact

* Fixes

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-08 16:33:52 +01:00
Charles Bochet
7eaf56f566
Fix IconPicker broken storybook tests (#3884) 2024-02-08 15:14:22 +01:00
Lucas Bordeau
e2db6a994d
Fixed drawer not closing on task creation on Show Page (#3867)
Fixed close dropdown
2024-02-08 14:12:23 +01:00
martmull
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
Jeet Desai
ddc5165178
Added skeleton loader on page load (#3740)
* #3722 added skeleton loader on page load

* #3740 Resolved comment in loader
2024-02-08 12:52:28 +01:00
bosiraphael
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
Sujith Thirumalaisamy
b119dd8e9c
Added sanitize funtion to normalize the link input (#3543)
* Added sanitize funtion to sanitize the link input of the companies record

* Enabled Eslint

* FIXED: Sanitize www. and query params

Added logic to sanitize both www  and query params in the link input.

* fix: fix useSpreadsheetPersonImport tests

* Refactored sanitizeLink function at packages/twenty-front/src/modules/object-record/utils/sanitizeLinkRecordInput.ts

Co-authored-by: Thaïs <guigon.thais@gmail.com>

---------

Co-authored-by: Thaïs <guigon.thais@gmail.com>
2024-02-07 06:09:25 -03:00
martmull
eb54401afe
Fix bug and remove useless stuff (#3861) 2024-02-06 18:06:15 +01:00
brendanlaschke
7b8fffc3b8
Custom object import csv (#3756)
* poc custom object import csv

* fix fullname

* lint

* add relation Ids, fix label full name, add simple test

* mock missing fields?

* - fix test

* validate uuid, fix key in column dropdown, don't save non set composite fields, allow only import relations where toRelationMetadata
2024-02-06 16:22:39 +01:00
Jérémy M
a802338996
fix: options value can't contain special characters (#3738)
* fix: options value can't contain special characters

* add tests for formatFieldMetadataItemInput util

* fix test

* fix: add emoji test

---------

Co-authored-by: corentin <corentin@twenty.com>
2024-02-05 15:12:08 +01:00
Jeet Desai
d74b8b7fe8
Added placeholder in task list (#3785)
#3769 added placeholder in task list
2024-02-05 15:11:09 +01:00
Jeet Desai
ee7e8b9ab2
Hide default selected icon from search (#3752)
* #3748 hide default selected icon from search

* change the type of icon array

* #3752 resolved comment in icon picker
2024-02-05 15:08:11 +01:00
brendanlaschke
3a9007b2d4
Member card fix email display (#3555)
* member card fix email display

* lint

* on signup save userEmail
2024-02-05 15:02:57 +01:00
brendanlaschke
230e957119
blocknote update 0.11.2 (#3766) 2024-02-05 15:02:33 +01:00
Félix Malfait
a5989a470c
Improve Documentation (#3795)
* Begin docs improvement

* Keep improving documentation

* Upgrade Docusarus

* Fix broken links
2024-02-05 15:01:37 +01:00
Jeet Desai
6748dfebc4
Added loader in sign-in-up button (#3801)
#3375 added loader in sign-in-up button
2024-02-05 14:59:37 +01:00
Lucas Bordeau
33bb48e681
Refactored dependencies from App component (#3763)
* Refactored PageTitle to remove a dependency to location from App component

* Refactored DefaultHomePage and DefaultPageTitle to remove dependencies from App component.
2024-02-05 11:27:51 +01:00
bosiraphael
6de9d972ec
Change calendar transparency (#3732)
fix
2024-02-05 11:27:05 +01:00
Charles Bochet
8692e5d1ca
Release 0.3.0 (#3793) 2024-02-03 09:05:11 +01:00
Charles Bochet
7b084ba46e
Enable Rating Field (#3792) 2024-02-03 08:55:29 +01:00
Lucas Bordeau
44c36e348a
Disabled debug hotkey scope (#3762) 2024-02-02 18:14:10 +01:00
Thomas Trompette
8816b7fb31
Fetch viewable thread from apollo cache (#3783)
Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-02-02 14:41:00 +01:00
Thomas Trompette
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
Deepak Kumar
03f89f483c
GH-3734 Display password reset in auth modal for signed in user as well (#3764)
Add function to check if component should have modal in layout
2024-02-02 11:24:11 +01:00
Charles Bochet
39f4ec9e7b
Fix storybook tests on Field Preview (Settings) (#3761) 2024-02-01 17:44:36 +01:00
Jeet Desai
dda9eaca2a
Place cursor at end when entering cell (#3743)
#3723 #3724 place cursor at end when entering cell
2024-02-01 17:37:32 +01:00
Jeet Desai
d667bc4a90
Changed upload button border to medium (#3744)
#3715 changed upload button border to medium
2024-02-01 17:21:48 +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
Weiko
142affbeea
[messaging] reorder messages desc to asc (#3755) 2024-02-01 15:28:00 +01:00
bosiraphael
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
Charles Bochet
4290db3566
Fix new board bugs (#3730)
* Fix freeze on field visibility change on board

* Fix

* Fix lint
2024-01-31 17:21:17 +01:00