Commit Graph

556 Commits

Author SHA1 Message Date
Thomas Trompette
f099ff90c1
Add fetch more loader for email messages (#3618)
Add fetch more loader

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-25 14:44:54 +01:00
Weiko
6d997edabb
[Messaging] Fix duplicate messageChannelMessage (#3616)
* [Messaging] Fix duplicate channelMessageChannel

* add messageChannelMessage check before querying gmail

* rename messageChannelMessage to messageChannelMessageAssociation
2024-01-25 14:15:57 +01:00
Thomas Trompette
7845e04f6b
Fetch messages with hard coded thread id (#3613)
* Fetch messages with hard coded thread id

* Fix test

* Use first workspace member or person names

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-25 11:13:32 +01:00
Deepak Kumar
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
Jeet Desai
21f342c5ea
Scroll tab list on record show (#3561)
* scroll tab list on record show #3275

* update the style of tab

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-24 18:30:58 +01:00
Charles Bochet
afbb87ae12
Add new Record board shell (#3609)
* Add new Record board shell

* Fix
2024-01-24 17:47:04 +01:00
martmull
8ffd958a3c
Fix twenty-emails build (#3608) 2024-01-24 17:41:38 +01:00
Alexandru Serban
7488a9605e
Allow underscores in PG_DATABASE_URL (#3599)
We are working on a Twenty template for Easypanel.io. We need Twenty to allow underscores in order to be compatible with the generated Postgres database service Easypanel creates.
2024-01-24 16:31:10 +01:00
Charles Bochet
ccbf773fd4
Load empty board if view type is kanban (#3605)
* Load empty board if view type is kanban

* Fix tests

* Revert
2024-01-24 16:17:47 +01:00
Weiko
c811206c47
Fix message table plural name (#3604) 2024-01-24 14:33:08 +01:00
Thomas Trompette
e85f65a195
Build message threads (#3593)
* Adding message thread component

* Add state and mocks

* Rename components and use local state for messages

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-24 14:32:57 +01:00
Charles Bochet
afc36c7329
Introduce new board feature flag (#3602) 2024-01-24 14:24:02 +01:00
martmull
b991790f62
Update clean inactive workspaces (#3600)
* Fix typo

* Add dry-run option in clean inactive workspaces

* Add logs

* Chunk workspace metadata

* Add BCC to clean workspace notification email

* Send workspace to delete ids in one email

* Update example

* Update function naming
2024-01-24 12:51:42 +01:00
Charles Bochet
f48814f6d9
Tag current board as deprecated to make room for the new record board implementation (#3601) 2024-01-24 12:36:42 +01:00
Lucas Bordeau
e54c141484
Use scroll left instead of intersection observer (#3522) 2024-01-24 06:39:04 -03:00
Weiko
c7ad6a0de7
[messaging] Rename body to text (#3595)
* Store HTML message

* remove console log

* [messaging] rename body to text

* use CoreObjectNameSingular
2024-01-23 19:56:42 +01:00
Dev Kraken
c0c2906209
Fixed Max lenght in Label , #3515 (#3558)
* Fixed Max lenght in Label , #3515

* should be 200 if label is displayed, 272 if label is not displayed #3558

* Update packages/twenty-front/src/modules/object-record/components/RecordShowPage.tsx

Fix accoding to review

* Fix

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2024-01-23 19:56:19 +01:00
Afnan A
0100244cbc
Tooltip on icons (#3529)
* Step 3: Set up PostgreSQL Database

* Tooltip on Icons

* Cleaning icon tooltip code

* Fix according to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-23 19:43:14 +01:00
Weiko
d176ba95d3
Store HTML message (#3594)
* Store HTML message

* remove console log

* fix html label/description
2024-01-23 19:40:05 +01:00
Jeet Desai
c9e326f2ae
Broken calendar component (#3525)
* #3520 Fix broken calendar component on filter

* #3520 fix the calender component

* #3520 fix error lint and test issue

* resolved lint error

* Fix according to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-23 19:33:19 +01:00
Irfan K
fd5cae6aae
fixed overflowing text for select on card #3494 (#3504)
* fixed  overflowing text for select on card #3494

* maxWidth of useRelationFeild hook

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-23 19:08:39 +01:00
Joe S
3d6f1f1230
Fix FloatingButton to behave like FloatingIconButton in a group. (#3524)
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-23 18:54:12 +01:00
Charles Bochet
d6dfd0ce05 Use npx for ts-node execution in twenty-server commands 2024-01-23 18:26:48 +01:00
Thaïs
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
Lucas Bordeau
9ebc0deaaf
Leave table focus on show page click (#3521) 2024-01-23 13:57:44 -03:00
Weiko
dc7fccb0a8
Merge messages and threads #1 (#3583)
* Merge messages and threads

* rename messageChannelSync to messageChannelMessage

* add merge logic

* remove deprecated methods

* restore enqueue GmailFullSyncJob after connectedAccount creation
2024-01-23 17:28:14 +01:00
Lucas Bordeau
23a3614b54
Fixed filter dropdown on task page (#3469)
* Fixed filter dropdown on task page

* Fixed ts in test

* Change avatarUrl to nullable in ObjectRecordIdentifier
2024-01-23 12:59:26 -03:00
gitstart-app[bot]
2b6d66f1bc
TWNTY-3549 - Add tests for modules/object-record/field (#3572)
* Add tests for `modules/object-record/field`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Move field definitions to separate file

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>
2024-01-23 14:17:27 +01:00
gitstart-twenty
e0943b15c4
Add missing tests in modules/ui/utilities/recoil-scope (#3581)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2024-01-23 14:16:50 +01:00
gitstart-app[bot]
562cdc563f
TWNTY-3482 - Add tests for modules/ui/utilities/recoil-scope/scopes-internal/hooks (#3582)
Add tests for `modules/ui/utilities/recoil-scope/scopes-internal/hooks`

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
2024-01-23 14:15:41 +01:00
Charles Bochet
3f0743493b
Fix Continuous Deployment script after adding twenty-emails package (#3589)
* Fix cd

* Fix server

* Fix server

* Fix server

* Fix server

* Fix

* Fix docs

* Fix
2024-01-23 12:30:03 +01:00
Suman Sahoo
096f005562
header component added (#3539)
* header component added

* fix css issues and date format issue

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2024-01-23 12:06:21 +01:00
Thomas Trompette
004c23768c
Build message thread empty right drawer (#3585)
* Trigger message thread top bar

* Rename message thread to thread

* Move all components in a directory

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-23 10:56:31 +01:00
Charles Bochet
762a56782c Fix build server 2024-01-23 10:46:36 +01:00
gitstart-twenty
2dae5b0046
Add tests for modules/ui/utilities/pointer-event (#3586)
Add test `modules/ui/utilities/pointer-event`

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2024-01-23 10:45:19 +01:00
Charles Bochet
a7265fa3b4
Remove flag relation select (#3588)
* Remove feature flag on relation and select

* Move packages back to twenty-server to enable smaller build without using nx

* Fix package.json
2024-01-23 09:59:00 +01:00
bosiraphael
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
Jeet Desai
062bbd57a3
drag and drop on files tab (#3432)
* #3345 drag and drop on files tab

* #3432 resolved comments on drag and drop feature
2024-01-22 13:00:18 -03:00
martmull
e358d677f9
Move emails to dedicated package (#3542)
* Add new package

* Add twenty-emails package

* Use generated files from twenty-emails in twenty-server

* Fix deleted file

* Import emails templates properly
2024-01-22 16:21:56 +01:00
martmull
e45a825a3a
Update logging for smtp emails (#3536) 2024-01-22 16:06:10 +01:00
Thomas Trompette
f1b3d1537a
Load views on user load and read in cache (#3552)
* WIP

* Poc

* Use cached root query + remove proloaded views state

* Fix storybook test + fix codegen

* Return default schema if token is absent, unauthenticated if token is invalid

* Use enum instead of bool

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-22 16:00:16 +01:00
Lucas Bordeau
764374f6b8
Deactivated vite-plugin-checker overlay (#3574) 2024-01-22 14:19:22 +01:00
Charles Bochet
894f63a16f
Standard Object prefill updates (#3570) 2024-01-22 11:13:43 +01:00
Charles Bochet
58d4fd43c8 Fix healthcheck command performance 2024-01-19 17:26:33 +01:00
Thomas Trompette
e6f985c681
Update company board card link to opportunity show page (#3557)
Update board link to opportunity show page

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-19 17:01:24 +01:00
Charles Bochet
2cf4bd746a
Improve health check command (#3553)
* Improve health check command

* Fix health check

* Fix health check
2024-01-19 16:54:43 +01:00
Sujith Thirumalaisamy
7607ecaac6
Updated CreateProfile default to System Color Scheme (#3544)
Added the default colorScheme while creating a new profile.
2024-01-19 14:28:31 +01:00
gitstart-twenty
bafc15d2b8
Add tests for modules/ui/layout/tab (#3535)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
2024-01-19 12:38:56 +01:00
gitstart-app[bot]
8d206fd2c8
TWNTY-3480 - Add tests for modules/object-record/relation-picker/hooks (#3547)
Add tests for `modules/object-record/relation-picker/hooks`

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2024-01-19 12:38:21 +01:00
gitstart-twenty
1bb7ff3730
Add tests for modules/auth and modules/command-menu (#3548)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
2024-01-19 12:37:49 +01:00
Thomas Trompette
c868347552
Show page - disable click for workspace member relation (#3464)
* [Draft] Add disable logic + failing test

* Fix test

* Remove hook

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-18 18:22:26 +01:00
gitstart-app[bot]
d8c9a94e14
TWNTY-3381 - Add tests for modules/apollo (#3530)
Add tests for `modules/apollo`

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2024-01-18 11:25:27 +01:00
Charles Bochet
aa8d689e3e Fix demo workspace seed 2024-01-18 10:59:48 +01:00
Charles Bochet
2628ee0f27 Revert blocknote upgrade because it's breakind design 2024-01-18 10:56:39 +01:00
Jeet Desai
74a54da403
replace text input by texterarea (#3473)
* #3472 replace text input by texterarea

* background color change in dark mode

* box shadow and hide overflow

* added tooltip in overflow text

* resolved comment on #3473

* resolved comments in #3473
2024-01-18 09:49:36 +01:00
Irfan K
ceddd211cf
feat: Create a ThreadBottomBar component (#3474)
* feat: Create a ThreadBottomBar component

* capitalised share like  Share in button

* removed ButtonGroup to avoid the border-radius issue
2024-01-18 09:47:01 +01:00
brendanlaschke
f6f4e6c769
Update blocknote (#3517)
* update blocknote, remove feature flag

* Fix backend

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-18 09:40:00 +01:00
gitstart-app[bot]
c8de37860f
TWNTY-3379 - Add tests for modules/favorites and modules/companies (#3528)
* Add tests for `modules/favorites` and `modules/companies`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Fix failing test in `object-metadata/hooks`

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-01-18 09:29:12 +01:00
Thaïs
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
Jérémy M
4b7e42c38e
feat: workspace health relation (#3466)
feat: add check relation health
2024-01-17 17:05:35 +01:00
Weiko
64110c591a
Add performance logs to object metadata query (#3463) 2024-01-17 17:04:16 +01:00
Jeet Desai
409f2b7651
Fix: Increase Fields column width (#3519)
#3516 Increase Fields column width
2024-01-17 17:03:03 +01:00
Jeet Desai
e812878bc3
#3476 round sum total amount in board (#3484)
* #3476 round sum total amount in board

* Fix issues

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-17 16:44:44 +01:00
Lucas Bordeau
bbfe62df9a
Implemented useListenClickOutside V2 (#3507)
* Implemented useListenClickOutside V2

* Removed lock and implemented a toggle instead
2024-01-17 16:22:22 +01:00
gitstart-twenty
808100fdd5
Add tests for modules/navigation and modules/keyboard-shortcut-menu (#3461)
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-01-17 16:00:58 +01:00
Lucas Bordeau
4fa9e18920
Fixed selection reset on loading more (#3500) 2024-01-17 15:59:55 +01:00
gitstart-twenty
adfd1f655d
Add tests for modules/analytics (#3462)
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-01-17 15:58:12 +01:00
gitstart-twenty
6af2513528
Add tests for modules/object-metadata/hooks (#3485)
* Add tests for `modules/object-metadata/hooks`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Refactor according to self review

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>
2024-01-17 15:57:31 +01:00
Irfan K
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
Weiko
f3c9854be3
Add select type to field metadata decorator (#3471)
* Add select type to field metadata decorator

* add option id generation for new field
2024-01-17 15:03:11 +01:00
Irfan K
5d4e226aad
fixed issue Display field name on Kanbans & Shows (#3427)
* fixed issue Display field name on Kanbans & Shows

* Fixes according to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-17 14:00:51 +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
Leo Alfred
8864528d55
Center InternalDatePicker Clear button (#3265)
* Center InternalDatePicker Clear button

* Add back Clear button padding

* Center date picker clear button through props

* Refactor StyledButtonContainer padding

* Refactor StyledButtonContainer to extend MenuItem

* Use custom date picker Clear button implementation

* Undo MenuItem changes

* Refactor new date picker code

* Refactor datepicker solution

* Rename StyledButtonContent to StyledButton

* Remove unnecessary menu-item class
2024-01-17 12:05:16 +01:00
Charles Bochet
4316950cf9
Bump version to 0.2.3 (#3506) 2024-01-17 11:57:13 +01:00
Kanav Arora
5cf0077e3d
UI Fixes for Dark Mode (#3337)
* Forced Scroll BG color fix

* pr requested changes
2024-01-17 11:54:29 +01:00
Jeet Desai
60e9864e52
Fix: z index for the menu (#3497)
fix: z index for the menu
2024-01-17 10:13:51 +01:00
Jeet Desai
161c4f8910
#3489 sidebar label in one line (#3490)
* #3489 sidebar in one line

* remove tooltip from sidebar label
2024-01-16 22:19:14 +01:00
Charles Bochet
f3f20ad974
Improve opportunity behavior (#3487)
* Fix opportunity relation

* Fix

* Fix

* Fix tests

* Fix

* Fix

* Fix opportunities

* Fix Opportunity standard object and apply maxWidth to text ellipsis

* Update packages/twenty-front/src/modules/ui/field/display/components/EllipsisDisplay.tsx

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

* Fix

---------

Co-authored-by: Thaïs <guigon.thais@gmail.com>
2024-01-16 15:43:19 +01:00
martmull
bb91917ff8
Improve webhook (#3459)
* Add trigger record

* Merge triggers

* Merge creates

* Fix libraries

* Fix create merged key

* Rename file

* Remove list Record Ids

* Revert "Rename file"

This reverts commit 2e72e05793.

* Revert "Revert "Rename file""

This reverts commit e2d93fa027.

* Revert "Remove list Record Ids"

This reverts commit 6653fb6ccd.

* Remove namePlural field

* Use name singular for webhooks

* Send webhook metadata

* Extract resource from zapier webhook

* Fix package.json

* Fix package.json

* Update payload

* Fix package.json

* Update payload

* Update payload

* Rename file

* Use wildcard in webhook events

* Fix nameSingular

* Code review returns

* Code review returns
2024-01-16 15:31:09 +01:00
Charles Bochet
fb93bb69fb
Fix opportunity relation (#3478)
* Fix opportunity relation

* Fix

* Fix

* Fix tests

* Fix

* Fix
2024-01-16 14:39:48 +01:00
brendanlaschke
bf67f07291
Fix zindex contextmenu (#3460)
fix zindex contextmenu
2024-01-15 18:23:13 +01:00
Thomas Trompette
4e36c6d584
Update recoil v4 states to getters (#3451)
Update v4 states to getters

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-15 18:18:55 +01:00
bosiraphael
4695e99458
3369 rename messagerecipients table into messageparticipants (#3457)
* renaming

* renaming
2024-01-15 16:55:19 +01:00
bosiraphael
8682f3c0c0
3441 modify message table change date to receivedat (#3452)
* changed date to receivedAt

* update saving messages

* update custom resolver
2024-01-15 14:48:25 +01:00
Weiko
ed6458e833
Fix: check if relation creates existing field name (#3433)
* Fix: check if relation creates existing field name

* fix rebase

* add object name to performance log
2024-01-15 14:13:57 +01:00
Charles Bochet
16a24c5f0c
Rework relations (#3431)
* Rework relations

* Fix tests
2024-01-15 12:07:23 +01:00
GARY
8c96acc2a3
Improved Floating Button Icon style (#3428)
* Improved Floating Button Icon style

* Improve Floating Button Icon style #3420
2024-01-14 15:36:16 +01:00
Charles Bochet
8893cbc05d
Stop switching to a different datasource per workspace (#3425)
* Stop switching to a different datasource per workspace

* Add console

* Remove call to metadata
2024-01-14 00:21:21 +01:00
Thaïs
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
Charles Bochet
a8efc17fff Fix post merge conflict 2024-01-13 12:06:37 +01:00
martmull
49a9a2c2be
2252 build a script to cleanup inactive workspaces (#3307)
* Add cron to message queue interfaces

* Add command to launch cron job

* Add command to stop cron job

* Update clean inactive workspaces job

* Add react-email

* WIP

* Fix import error

* Rename services

* Update logging

* Update email template

* Update email template

* Add Base Email template

* Move to proper place

* Remove test files

* Update logo

* Add email theme

* Revert "Remove test files"

This reverts commit fe062dd051.

* Add email theme 2

* Revert "Revert "Remove test files""

This reverts commit 6c6471273a.

* Revert "Revert "Revert "Remove test files"""

This reverts commit f851333c24.

* Revert "Revert "Revert "Revert "Remove test files""""

This reverts commit 7838e19e88.

* Fix theme

* Reorganize files

* Update clean inactive workspaces job

* Use env variable to define inactive days

* Remove FROM variable

* Use feature flag

* Fix cron command

* Remove useless variable

* Reorganize files

* Refactor some code

* Update email template

* Update email object

* Remove verbose log

* Code review returns

* Code review returns

* Simplify handle

* Code review returns

* Review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-13 12:03:41 +01:00
Charles Bochet
03bf597301 Re-add docker-compose up command 2024-01-13 11:02:00 +01:00
gitstart-twenty
0ef1736188
Add tests for modules/object-record/record-board (#3421)
* Add tests for `modules/object-record/record-board`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Revert unwanted changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2024-01-13 10:05:50 +01:00
Thomas Trompette
c53abf2f5a
Fix chromatic tests + re-enable (#3414)
* Fix chromatic tests + re-enable

* Try to run command manually

* Fix

* Fix

* Fix

* Fix

* Fix

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-12 18:32:00 +01:00
gitstart-twenty
03b5c40e8a
Add tests for modules/object-record/object-filter-dropdown (#3399)
* Add tests for `modules/object-record/object-filter-dropdown`

Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>

* Fix linter

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>

* Revert unwanted changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2024-01-12 18:08:01 +01:00
gitstart-twenty
83c9fedcdf
Add tests for modules/object-record/object-sort-dropdown (#3398)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2024-01-12 18:07:32 +01:00
gitstart-twenty
d05d7ec1d1
Add tests for modules/people, modules/pipeline, modules/search and modules/settings (#3395)
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-01-12 18:05:56 +01:00
Neerajkumar
284fabf17c
docs: resolve broken discord links (#3408)
* refactor: make search case-insensitive

* docs: resolved broken discord links
2024-01-12 17:59:36 +01:00
bosiraphael
5a61e34f4c
3239 create a command to do a partial sync with the gmail api using the historyid (#3405)
* create utils service

* getLastSyncHistoryId

* getHistory

* add historyTypes messageAdded and messageDeleted

* getMessageIdsAndThreadIdsNotInDatabase

* wip

* fix messageThreadId null

* no need to fetch threads anymore

* get messagesAdded in partial sync

* adding errors

* save lastSyncHistoryId

* improve

* renaming

* create partial sync job

* improve partial sync

* adding messages with partial sync is working

* now adding messages with partial sync is working

* deleting messages and empty threads is working

* wip

* wip

* fix bug to delete threads

* update partial sync to cover edge cases

* renaming

* modify ambiguous naming

* renaming
2024-01-12 17:46:55 +01:00
Charles Bochet
4f306f8955
Fix bug hover on table (#3404) 2024-01-12 16:30:32 +01:00
Charles Bochet
6672b04733
Fix docker-compose commands (#3403) 2024-01-12 14:31:47 +01:00
Thomas Trompette
52e0e385a4
Pass object name plural in props + remove unused state (#3401)
* Pass object name plural in props + remove unused state

* Fix test

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-12 14:30:36 +01:00
Jérémy M
3e8f4ec2c5
fix: auth user decorator cannot destruct property of undefined (#3394)
* fix: auth user decorator cannot destruct property of undefined

* fix: change naming
2024-01-12 12:12:33 +01:00
Thaïs
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ïs
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
Jérémy M
d0ed9ee2e0
feat: pagination with total count (#3384)
* feat: add totalCount

* feat: add command for production to fix existing tables
2024-01-12 10:41:38 +01:00
Irfan K
9ecc3bdbf2
fixed Object settings font weight fixes (#3332)
* fixed Object settings font weight fixes

* fixed Object settings font weight fixes
2024-01-12 10:02:20 +01:00
Charles Bochet
10fd67ba32
Fix relation creation bug + enable favorite for custom objects (#3392)
* Fix relation creation bug

* Fix vale CI

* Fix comment bug
2024-01-11 22:46:43 +01:00
Charles Bochet
3ad032cdc1
Fix 3 bugs (#3391)
* Fix Favorites

* Fix opportunities
2024-01-11 21:34:56 +01:00
Thaïs
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
martmull
b3d9bed91d
Enforce email templating (#3355)
* Add react-email

* WIP

* Fix import error

* Rename services

* Update logging

* Update email template

* Update email template

* Add Base Email template

* Move to proper place

* Remove test files

* Update logo

* Add email theme

* Revert "Remove test files"

This reverts commit fe062dd051.

* Add email theme 2

* Revert "Revert "Remove test files""

This reverts commit 6c6471273a.

* Revert "Revert "Revert "Remove test files"""

This reverts commit f851333c24.

* Revert "Revert "Revert "Revert "Remove test files""""

This reverts commit 7838e19e88.

* Fix theme
2024-01-11 20:29:20 +01:00
Lucas Bordeau
e2bdf0ce45
Recursively turn relation connection into records (#3334)
* Use new ObjectRecordConnection

* Use new records without connection in GraphQLView

* Added playwright for storybook tests

* Fixed lint

* Fixed test and tsc

* Fixed storybook tests

* wip tests

* Added useMapConnectionToRecords unit test

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 20:27:59 +01:00
gitstart-twenty
299bed511f
Filter the opportunities "Point of contact" field (#3191)
* Filter the opportunities "Point of contact" field

Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-11 20:26:11 +01:00
Charles Bochet
99247fb689
Fix activity target bug (#3390) 2024-01-11 20:18:54 +01:00
Neerajkumar
2c8c22a979
refactor: make search case-insensitive (#3388) 2024-01-11 20:05:45 +01:00
Weiko
0a77a376fd
Import messages after connected-account creation (#3389) 2024-01-11 20:05:08 +01:00
Charles Bochet
2e571976fb Fix regression on RecordInlineCellContainer 2024-01-11 18:20:06 +01:00
Sagar Jariwala
4b97625f37
fix: fixed overflowing text on record show page (#3372) 2024-01-11 18:08:31 +01:00
Thomas Trompette
6bae6fcdce
Migrate record table to scope map (#3363)
* Migrate record table to scope map

* Update record scope id to record id

* Remove todos and fix edit mode

* Fix perf

* Fix tests

* Fix tests

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 17:44:40 +01:00
Jérémy M
5f0c9f67c9
feat: workspace health (#3344)
* feat: wip workspace health

* feat: split structure and metadata check

* feat: check default value structure health

* feat: check targetColumnMap structure health

* fix: composite types doesn't have default value properly defined

* feat: check default value structure health

* feat: check options structure health

* fix: verbose option not working properly

* fix: word issue

* fix: tests

* fix: remove console.log

* fix: TRUE and FALSE instead of YES and NO

* fix: fieldMetadataType instead of type
2024-01-11 16:41:25 +01:00
Deepak Kumar
c8aec95325
GH-3183 Add sub actions to quick actions in ActionBar (#3339)
* convert quick action into a dropdown

* GH-3183 import icons

* GH-3183 display dummy sub-actions in dropdown

* Migrate to new Dropdown API

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 13:49:36 +01:00
Afnan A
e142e4ec79
Step 3: Set up PostgreSQL Database (#3370) 2024-01-11 13:27:51 +01:00
GARY
afacec6994
Finish Implementing Select/MultiSelect #3166 (#3226)
* Fixed #3166

* refactor: improve generateEmptyFieldValue function

- Optimize handling of MultiSelect and Select cases
- Provide a default value for Select based on FieldSelectValue
- Enhance code readability and maintainability

* Fixed #3166

- Introduce MultiSelect-specific logic with a backend support check
- Implement Select-specific logic with a default value
- Throw an error for unhandled FieldMetadataType

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 12:00:11 +01:00
Arthur EICHELBERGER
c6ae480856
feat(signup): allow to block signup (#3209)
* feat(signup): allow to block signup

* feat(signup): update environment variable documentation

* test: update auth service tests

* feat(signup): prevent user from reaching out the sign up page

* Fix lint

* Fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 11:48:14 +01:00
gitstart-twenty
66a054ac21
Add tests for modules/object-record/object-sort-dropdown (#3366)
Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
2024-01-11 11:23:17 +01:00
gitstart-twenty
93a9eb0e3c
Add tests for modules/object-record/hooks (#3361)
* Add tests for `modules/object-record/hooks`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* Remove temporary changes

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: Charles Bochet <charles@twenty.com>
2024-01-11 10:37:09 +01:00
Jérémy M
1aa0f86724
feat: use apollo playground in debug mode (#3295) 2024-01-11 10:21:51 +01:00
gitstart-twenty
ebe8698910
Increase test coverage for /modules/ui (#3314)
* Increase test coverage for `/modules/ui`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com>

* Fix tests

* Fix tests

* Fix

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: FellipeMTX <fellipefacdir@gmail.com>
Co-authored-by: Fellipe Montes <102544529+FellipeMTX@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-11 08:51:36 +01:00
Jeong Min Cho
a791d1f5ba
Sort Metadata Fields by Custom Status and Creation Date (#3254)
* Added sortFields function and used on active and disabled metadataFields

* Added a sortFieldMetadataItem and used parseDate instead of vanila Date

* Added tests for sortFieldMetadataItem (#3253)

* Applied sortFieldMetadataItem (#3253)
2024-01-10 18:47:19 +01:00
Charles Bochet
49f66fec70
Fix vite build config (#3358)
* Fix vite build config

* Fix vite build config

* Fix vite build config

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2024-01-10 17:42:11 +01:00
Kanav Arora
d1b2ac0a6e
Fix shadow to light (#3359) 2024-01-10 13:17:31 -03:00
Charles Bochet
176e840728
Fix vale ci (#3353)
* Fix vale ci

* try

* try

* try

* try
2024-01-10 17:05:23 +01:00
Weiko
22047fa2bf
Fix metadata exception handler #2 (#3357) 2024-01-10 17:02:54 +01:00
Brendan
4f9ea78258
Fixed I shouldn't be able to remove myself from a workspace #3330 (#3349)
* correct delete workspace member condition

* fix lit error
2024-01-10 15:48:32 +01:00
Thomas Trompette
2713285a0f
Migrate dropdown to scope map (#3338)
* Migrate dropdown to scope map

* Run lintr

* Move Dropdown Scope internally

* Fix

* Fix lint

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-10 15:46:37 +01:00
Lucas Bordeau
fbf7496fab
Added eslint config in vite-plugin-checker (#3321) 2024-01-10 09:43:24 +01:00
Charles Bochet
11bf03bbea Fix Bug Tasks Page not switching tab 2024-01-09 23:06:13 +01:00
Charles Bochet
a9ac14439f Fix phone input bug 2024-01-09 18:48:59 +01:00
Charles Bochet
69b558e03d
Fix bug on relation on custom object (#3336) 2024-01-09 17:49:05 +01:00
Weiko
6c00aa92a4
Fix capture exception for metadata and core (#3335) 2024-01-09 17:46:16 +01:00
Thomas Trompette
ebf7688e3d
Migrate tab list to scope map (#3333)
* Migrate tab list to scope map

* Return state to hook and let client subscribe to state

* Run prettier

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
2024-01-09 17:01:27 +01:00
Charles Bochet
8d2758ee5e Reactivate Select in emptyValue generation 2024-01-09 15:12:59 +01:00
Charles Bochet
47ac97dd25
Fix Select (#3327) 2024-01-09 14:58:14 +01:00
bosiraphael
4ebb487fa1
3236 add syncproviderconfig to connectedaccount model (#3328)
* add Last sync history ID

* add is nullable

* fix errors

* modification
2024-01-09 14:48:10 +01:00
bosiraphael
bdd0a7ed95
3242 all message recipients should be stored (#3320)
* saveMessageRecipients

* update

* workspaceMemberId is working

* merge

* get direction of the message

* fix

* improve code

* modify GmailMessage type
2024-01-09 14:14:32 +01:00
Thaïs
0b505288f2
feat: add Relation field card feature flag (#3311)
Related to #3123
2024-01-09 12:46:03 +01:00
martmull
361446d79c
Add cron mechanism (#3318)
* Add cron to message queue interfaces

* Add command to launch cron job

* Add command to stop cron job

* Update clean inactive workspaces job

* Isolate cron mechanism

* Code review returns

* Remove useless object.assign

* Add MessageQueuCronJobData interface

* Rename cron job utils

* Fix typing
2024-01-09 12:23:45 +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
Lucas Bordeau
dc94d26997
Fixed create task bug (#3308) 2024-01-08 20:56:38 +01:00
Charles Bochet
67b14824a4
Implement select v1 (#3312)
* Implement select v1

* Implement select v1
2024-01-08 20:55:45 +01:00
Weiko
ea2cb8938f
Add fetch connected account job (#3313)
* Add fetch connected account job

* add featureFlag check
2024-01-08 18:24:39 +01:00
Lucas Bordeau
71034849d3
Added vite-plugin-checker to twenty-front (#3289)
* Added vite-plugin-checker to twenty-front

* Installed vite-plugin-checker globally
2024-01-08 12:01:58 +01:00
martmull
d2e8df52cf
Add doc link in env file (#3277) 2024-01-08 10:42:03 +01:00
Charles Bochet
96264e264c
Refactor recoil v4 (#3266)
* Refactor recoil v4

* Fix ci
2024-01-05 19:18:22 +01:00
Kanav Arora
8455e15443
Behaviour Fix on new record addition (#3113)
* Delete record if no company added

* EditMode on First column of new row added

* Fix

* Minor fixes

* Passed scopeId

* Changed FieldInputs to accept onChange handler

* Removed getFieldType

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 18:01:51 +01:00
brendanlaschke
9def3d5b57
Activity editor add File block (#3146)
* - added file block

* fised auth useeffect

* - add cmd v for file block

* remove feature flag for attachment upload in blockeditor

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 17:42:50 +01:00
Suman Sahoo
81a1666946
fixed button padding (#3260) 2024-01-05 16:50:52 +01:00
martmull
ae5558d8b5
Add mail driver (#3205)
* Add node mailer packages

* Init mailer module

* Add logger transport

* Use env variable to get transport

* Revert "Add node mailer packages"

This reverts commit 3fb954f0ca.

* Add nodemailer

* Use driver pattern

* Use logger

* Fix yarn install

* Code review returns

* Add configuration examples for smtp

* Fix merge conflict

* Add missing packages

* Fix ci
2024-01-05 16:08:19 +01:00
rakan makhashin
036c8c0b36
Fixed user exist checking with trimmed email input #3195 (#3251) 2024-01-05 15:13:05 +01:00
Charles Bochet
f7034d6e7d
Embrace nx monorepo structure with root package.json (#3255)
* Upgrade to node 18.17.1 and regroup dependencies in root package.json

* Sort package.json

* Fix lint

* Migrate zapier
2024-01-05 14:59:58 +01:00
martmull
f35b40c428
Fix create trigger called twice (#3243)
* Fix create trigger called twice

* Add Zapier update action

* Add Zapier delete action

* Update description

* Add dropDown for ids
2024-01-05 11:44:47 +01:00
Charles Bochet
618d9678b5 Fix lint issue on record table 2024-01-05 11:35:54 +01:00
Jordan Sussman
f3cbed8fec
3185 / Fix NavigationDrawer Overflow (#3187)
* fix side nav for short viewports

* remove uneeded justify-content in leu of overflow-y addition

* undo last commit to leave justify-content in for submenus

* move overflow-y to StyledContainer

* move overflow-y to items container

* remove problematic overflow to allow scrollable nav sections
2024-01-05 11:25:28 +01:00
Lakshay saini
dc76333b81
feat: add Settings/Accounts/Emails/Inbox Setting Contact auto-creation (#3188)
Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
2024-01-05 07:25:05 -03:00
Suman Sahoo
e50b62df8f
Loading more UI updated (#3198)
* style update

* inlcude box as a table element

* Ui

Loading more fixed

* changes

tbody added with ref
with margin and padding with theme variables

* Remove unused react fragment

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-05 11:07:49 +01:00
Thaïs
db46dd4497
feat: add RecordRelationFieldCardSection (#3176)
Closes #3123

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-05 11:02:02 +01:00
gitstart-twenty
80c1c9aacc
Increase test coverage for /modules/views (#3211)
* Increase test coverage for `/modules/views`

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* fix failing test

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor into smaller tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* fix linter

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Fix unknown

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-05 09:58:19 +01:00
rakan makhashin
db17d46af3
trimming email input in validation #3195 (#3246) 2024-01-05 09:37:06 +01:00
Jeong Min Cho
4552b88435
Added @graphiql/explorer-plugin in twenty docs package (#3244)
* Added plugin-explorer in twenty-docs gql page and updated graphiql version

* Cleaned up graphql file (#3087)

* Added plugin-explorer style and modified useEffect to adapt it (#3087)

* Updated the yarn lock file (#3087)
2024-01-05 09:17:28 +01:00
Lucas Bordeau
b112b74022
Feat/activities custom objects (#3213)
* WIP

* WIP - MultiObjectSearch

* WIP

* WIP

* Finished working version

* Fix

* Fixed and cleaned

* Fix

* Disabled files and emails for custom objects

* Cleaned console.log

* Fixed attachment

* Fixed

* fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-05 09:08:33 +01:00
Charles Bochet
c15e138d72
Fix nx lint setup (#3234)
* Fix nx lint setup

* Fixes

* Fixes

* Add missing metadata

Fixes

Fix

Fixes

* Fix
2024-01-04 16:39:57 +01:00
bosiraphael
52d4f8e466
3233 connect connected accounts settings to backend (#3235)
* connect SettingsAccountsConnectedAccountsSection to backend

* get current user
2024-01-04 15:26:55 +01:00
Weiko
4fddafceed
Fix Event core object (#3232) 2024-01-04 13:40:34 +01:00
bosiraphael
54c1d245ab
3218 make the function fetchworkspacememberthreads idempotent (#3230)
* wip

* fetch only the messages which are not in the db

* fetch only the messages and threads which are not in the db

* fix bugs

* merge

* remove eslint-plugins-twenty

* get saved message thread ids and message ids at the same time
2024-01-04 13:36:37 +01:00
Cao Z.H
f36fa9aa14
feat: improve menuitem btn design (#3152)
feat: add LightIconButtonGroup

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-03 23:15:38 +01:00
Thaïs
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
gitstart-twenty
1924962e8c
OSS Friends list is out of date (#3192)
* OSS Friends list is out of date

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Add icons

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Refactor according to review

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>

* OSS Friends list is out of date

Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: niteshsingh1357 <niteshsingh1357@gmail.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>

---------

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: niteshsingh1357 <niteshsingh1357@gmail.com>
2024-01-03 22:38:25 +01:00
Suman Sahoo
df6ceb7dfe
fixed button size (#3194)
* fixed button size

* Fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-03 21:56:50 +01:00
Aditya Pimpalkar
5413513554
fix: updatedAt parameter (#3208)
* fix: updatedAt param

* lint fix
2024-01-03 19:52:10 +01:00
bosiraphael
b0d3e6d8d3
3157 refactor scoped states to move to v3 (#3180)
* renaming

* renaming

* create getDropdownScopeInjectors

* update useDropdown

* create internal hooks folder

* update record-table states to be scoped states

* update record-table selectors to be scoped selectors

* create utils scope injector

* refactor record-table wip

* refactor record-table wip

* wip

* inject scopeId in selectors

* update intenal hooks

* update intenal hooks

* update intenal hooks

* update intenal hooks

* update intenal hooks

* update intenal hooks

* update internal hooks

* update internal hooks

* update internal hooks

* update internal hooks

* update useTableColumns

* update states and hooks

* refactoring

* refactoring

* refactoring

* refactoring

* refactoring

* refactoring

* refactoring

* refactoring

* refactoring

* fix scopeId not in context

* fix lint errors

* fix error in story

* fix errors: wip

* fix errors

* fix error

* fix jest test

* fix scopeId not defined

* fix jest test

* Bug fixes

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-03 19:45:14 +01:00
martmull
65250839fb
2248 zapier integration implement typeorm eventsubscribers (#3122)
* Add new queue to twenty-server

* Add triggers to zapier

* Rename webhook operation

* Use find one or fail

* Use logger

* Fix typescript templating

* Add dedicated call webhook job

* Update logging

* Fix error handling
2024-01-03 18:09:57 +01:00
bosiraphael
4ebaacc306
3216 request a new access token for the gmail api when it expires (#3224)
* refresh access token

* refresh and save access token

* update module

* refreshing access token before fetching the emails

* remove log
2024-01-03 18:00:31 +01:00
Charles Bochet
90f89e31a6
Render on latest image (#3223)
* Update render setup to use latest images

* Update render setup to use latest images

* Fixes

* Migrate demo seeds to json

* Update plans

* Update plans
2024-01-03 16:17:35 +01:00
Jeong Min Cho
f4405b1b38
Consistent Sorting of Workspace Buttons Across Browsers (#3222)
Fixed inconsistent workspace order in different browers (#3217)
2024-01-03 15:59:20 +01:00
bosiraphael
67fca68480
3202 fetch emails by threads (#3214)
* change fetchAllByBatches and fetchBatch to allow messages and threads to be fetched by batches

* wip

* format threads batches

* command is working

* command is working

* fix typing

* updates
2024-01-03 15:01:22 +01:00
martmull
ea06f04350
3207 fix render self deploy (#3221)
* Fix paths and commands for render deploy

* Remove breaking change

* Use twentycrm postgres image for postgres

* Fix render script

* Specify docker image version

* Fix postgres user

* Update setup command
2024-01-03 14:25:24 +01:00
Lucas Bordeau
6797f013c9
Fix favorites (#3138)
* WIP

* Finished cleaning favorites create, update, delete on record show page

* Fixed context menu favorite

* Fixed relation field bug

* Fix from review

* Review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-01-03 12:30:24 +01:00
Charles Bochet
41f3a74bf4
Build linux pg graphql (#3206)
* Build pg_graphql for linux

* Build for amd

* Fixes
2024-01-03 12:02:06 +01:00
Jérémy M
2dae94dec6
fix: pg_graphql performance (#3204) 2024-01-02 16:06:15 +01:00
Neerajkumar
338267b190
docs: update 'Edit this page' link to fix 404 error (#3203) 2024-01-02 16:05:44 +01:00
Charles Bochet
3d16ad8efd
Fix docker install to have all projects (#3200)
* Fix docker install to have all projects

* Fix

* Fixes
2024-01-02 14:31:21 +01:00
Muralidhar
2204345300
first column of objects table fixed (#3147)
* ui:first column of objects table fixed

* refactor shadow style logic

* Minor renaming fixes

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-01-02 11:37:29 +01:00
Félix Malfait
858c294f14
Website improvements 4 (#3182)
* Add contributor individual page

* Improve mobile menu

* Fix

* Remove yarn.lock from twenty-website

* Add yarn to gitingore

* Fix linter
2023-12-31 10:41:53 +01:00
Atharv Parlikar
97f83b55b0
Added a clear/reset button in InternalDateInput to reset/unschedule events (#3154)
* Added a clear/reset button in InternalDateInput to reset/unschedule events

* Added clearable prop to <InternalDateInput /> and fixed some design mistakes

* Removed unnecessary code that was used during debugging

* Replaced button with <MenuItem /> component

* Fixed null date in ObjectFilterDropdownDateSearchInput

* Moved clear context call from DateInput to DateFieldInput

* Removed useless props

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-29 15:15:08 +01:00
flox_x
fd607789f4
Replace all hardcoded core object name by enum (#3170)
* Replace hardcoded core object name by enum

Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>

* Fix typo

Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>

* Fixed duplicate import

---------

Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-29 15:11:30 +01:00
Félix Malfait
c422045ea6
Marketing improvements 3 (#3175)
* Improve marketing website

* User guide with icons

* Add TOC

* Linter

* Basic GraphQL playground

* Very basic contributors page

* Failed attempt to integrate REST playground

* Yarn

* Begin contributors DB

* Improve contributors page
2023-12-29 11:17:32 +01:00
cristiantiradob
fa8a04743c
Fix: Added autoFocus to Input (#3179) 2023-12-29 09:57:49 +01:00
Afnan A
f827912cb3
Issue#3150 - Esc and click outside is working to close searchbox (#3168)
* Issue#3150 - Esc and clickOutside will close Searchbox

* Font size, margin + 'esc' only

Font size changed to theme specific, have a handsome margin to the top right of search box for text "Esc to cancel". Passing 'esc' only to escape.
2023-12-29 09:54:01 +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
Sourav Pakhira
40d4a0d9c8
docs : added password in yarn setup doc (#3174) 2023-12-28 13:51:58 +01:00
Sahil
d71150eca8
fix: modified the floatingButtonGroup code to have only one focus (#3167) 2023-12-28 10:10:54 +01:00
Félix Malfait
3d5a364e29
Marketing website improvements (#3169)
* Website improvement

* Improve website design

* Start writing script for user guide

* Begin adding user guide
2023-12-27 16:14:42 +01:00
Lakshay saini
c08d8ef838
feat: add email blocklist section with mocked data (#3145)
* feat: add email blocklist section with mocked data

* fix:front lint testcase

* fix: add current date and placeholder update

---------

Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
2023-12-27 14:54:48 +01:00
Praveen Shinde
a4e45d039e
Updated the color theme of icon in Data Model Settings table (#3121)
* Updated the color theme of icon in Data Model Settings table

* add the sm stroke to icon

* add the sm stroke to icon

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-26 18:08:00 +01:00
bosiraphael
526a3d7d9a
3019 timebox add typing and checks in workspacemessagingservices (#3112)
* throw error

* fetchWorkspaceMessages fetches messages and threads

* renaming

* improve typing

* improve typing and error handling

* improve typing and error handling

* improve typing and error handling

* improve fetch-batch

* fix bug

* replace return types

* imporving typing and error handling

* improve typing and error handling

* improve typing and error handling

* improve typing and error handling

* improve typing and error handling

* remove console log
2023-12-26 18:07:40 +01:00
Deepak Kumar
58a62e8d17
GH-3090 Add ability to paste image in activity body editor (#3119) 2023-12-26 17:52:59 +01:00
Deepak Kumar
00ab07ea62
GH-3153 Enrich Sentry logs with user data on frontend (#3158)
GH-3153 identify user in Sentry logs on frontend
2023-12-26 17:48:33 +01:00
Deepak Kumar
b650b1dca3
GH-3106 Ability to multi-note/task with action bar (#3137)
* GH-3106 fix activity drawer opener for selected rows hook

* GH-3106 ability to multi note/task with action bar

* GH-3106 use snapshot to get selected row IDs

* GH-3106 format code & fix linting issues

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2023-12-26 17:44:23 +01:00
Sony AK
3535ef5053
Fix: broken link to server .env.example (#3151)
Correct URL is https://github.com/twentyhq/twenty/blob/main/packages/twenty-server/.env.example
2023-12-26 11:24:00 +01:00
Sahil
52e2a33e62
fix: handled submitting wihtout entering emailid (#3149) 2023-12-26 09:38:55 +01:00
Nimra Ahmed
ca056dfb27
User guide (#3060)
* user guide

* user guide additions

* light mode images added

* minor edits

* Delete packages/twenty-server/.local-storage/attachment/bd373039-67f7-4da3-ac86-3710d0b8c70d.svg

* Optimize image size

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2023-12-26 09:24:00 +01:00
Félix Malfait
5ef5bbdc4d
Marketing website POC (#3139)
First website POC
2023-12-23 10:08:55 +01:00
Charles Bochet
68a6250757 Bump version 2023-12-21 23:52:45 +01:00
Deepak Kumar
46ab88cb9c
GH-2829 Add Sentry on frontend (#3111)
* GH-2829 pass sentry dsn key from backend in ClientConfig

* GH-2829 add Sentry library on frontend

* GH-2829 fetch dsnKey in GQL and add a state

* GH-2829 initialize Sentry on frontend

* GH-2829 fix linting issues

* Update yarn.lock

* GH-2829 update graphql schema for clientConfig

* GH-2829 remove Sentry comments

* GH-2829 rename sentry state

* GH-2829 rename dsnKey to dsn

* GH-2829 refactor to use componentEffect for sentry initialization

* GH-2829 fix linting issues

* GH-2829 update Graphql types

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 23:50:24 +01:00
Charles Bochet
756b30815e
Fix various bugs before 0.2.2 (#3118)
* Fix various bugs before 0.2.2 release

* Additional fixes

* More fixes

* Fixes
2023-12-21 23:48:52 +01:00
Andrey Kud
69ffa0d229
Bug on table first load (#3117)
fix: Bug on table first load
2023-12-21 22:30:54 +01:00
Deepak Kumar
41f45c953b
GH-3105 Fix Object name icon weight is too light (#3116)
GH-3105 make preview object name icon to have regular stroke
2023-12-21 21:44:35 +01:00
Andrey Kud
0ae0bf73fd
fix: On Sign Out > Sign In, States are not loaded properly (#3041)
* fix: On Sign Out > Sign In, States are not loaded properly

* draft: reset on logout

* chore: lint

* chore: lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 21:44:17 +01:00
Andrey Kud
ce6214d6ef
Object name font-weight in Data Model Settings (#3115)
* fix: make name bolder

* chore: fix lint
2023-12-21 21:36:21 +01:00
Deepak Kumar
de3d955040
GH-3110 Update relation icon on data model settings (#3114)
GH-3110 update relation icon on data model settings with IconLayersLinked
2023-12-21 20:14:04 +01:00
Cao Z.H
794cf87b43
feat: record batch deleteMany (#3096)
feat: support record batch deleteMany

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 19:55:40 +01:00
gitstart-twenty
801177531b
Fix and enhance storybook:modules:tests (#3107)
* Fix and enhance storybook:modules:tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Fix and enhance storybook:modules:tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Fix and enhance storybook:modules:tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Remove unnecessary changes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>

* Fix email thread story

* Re-enable storybook:modules

* Fix

---------

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>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 19:45:47 +01:00
Jérémy M
d532f22fbb
feat: migration can be applied on a specific schema & some enhancements (#2998)
* fix: remove old metadata seed files

* feat: wip standard to core relation

* fix: lint

* fix: merge

* fix: remove debug files

* feat: add feature flag for core object metadata

* fix: remove debug

* feat: always disable the standard core relation

* fix: missing feature flag

* fix: remove debug

* fix: feature flag doesn't seems to disable relation

* fix: delete .vscode folder, change this in another PR

* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts

Co-authored-by: Weiko <corentin@twenty.com>

* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts

Co-authored-by: Weiko <corentin@twenty.com>

* Update packages/twenty-server/src/workspace/workspace-sync-metadata/workspace-sync.metadata.service.ts

Co-authored-by: Weiko <corentin@twenty.com>

* fix: remove optional fields from metadata entities

* fix: renamed variable

* fix: put back CursorScalarType

* fix: delete test command

* fix: remove unused workspace standard migration command

* fix: drop core object metadata declaration

* fix: rename variable

* fix: drop creation of core datasource

* fix: remove feature flag

* fix: drop support of standard to core relations

* feat: add user email field on workspace-member standard object

* fix: update seed accordingly

* fix: missing remove command file

* fix: datasource label should remain nullable

* fix: better asserts

* Remove unused code

* Remove unused code

---------

Co-authored-by: Weiko <corentin@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-21 19:15:05 +01:00
Jérémy M
3234134a30
fix: composite type migrations not well formatted (#3088) 2023-12-21 19:00:33 +01:00
bosiraphael
1b7580476d
2929 fetch emails from backend and display them in the UI (#3092)
* sending mock data from the resolver

* add sql raw query to the resolver

* improve query

* fix email component css

* fix query

* css adjustments

* create hard limit for mail display

* fix display name ellipsis

* add service

* fetching email on company page is working

* graphql generate

* move queries into separate files

* add types

* renaming

* add early return

* modified according to comments

* graphql data generate

* fix bug after renaming

* fix issue with mock data
2023-12-21 18:21:07 +01:00
Weiko
7f66eb9459
Filter out system object for relation object destination (#3108)
filter out system object for relation object destination
2023-12-21 16:32:49 +01:00
Weiko
e67f6873d3
Fix missing isNullable for object creation activity target (#3109) 2023-12-21 16:32:04 +01:00
Lucas Bordeau
180aec5ad8
Typed updateRecord hook in generic field logic (#3102)
* Typed updateRecord hook in generic field logic

* Use sanitize instead of additional optimisticInput
2023-12-21 16:27:26 +01:00
Weiko
0d00e3d62d
send pg graphql exception to sentry + fix missing nullable for relations (#3101)
* Send pg_graphql errors to sentry

* Send pg_graphql errors to sentry

* fix

* fix

* fix

* fix relation nullable
2023-12-21 16:07:25 +01:00
Charles Bochet
e9bc13b5fa
Refactor recoil scope states (#3097)
* Refactor recoil scope states

* Complete refactoring

* Fix
2023-12-21 14:25:18 +01:00
brendanlaschke
b416b0f98f
Update new/edit object according to figma (#3093)
* made changes according to figma

* remove click custom in test
2023-12-21 11:33:52 +01:00
brendanlaschke
4918865132
Showpage add more actions button (#3095)
- add more actions button
2023-12-21 09:27:13 +01:00
brendanlaschke
5fc8dbc182
Add border to right drawer (#3094)
add border
2023-12-21 08:28:21 +01:00
Lucas Bordeau
687c9131f4
Feat/record optimistic effect (#3076)
* WIP

* WIP

* POC working on hard coded completedAt field

* Finished isRecordMatchingFilter, mock of pg_graphql filtering mechanism

* Fixed and cleaned

* Unregister unused optimistic effects

* Fix lint

* Fixes from review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-20 20:31:48 +01:00
Thaïs
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
martmull
b1841d0e2f
2114 timebox make sure the zapier integrations supports custom objects (#3091)
* Fix build command

* Add hidden trigger to fetch object names

* Remove useless actions

* Rename createObject to createRecord
2023-12-20 18:41:30 +01:00
gitstart-twenty
984fc76b94
Fix and enhance storybook:pages tests (#3085)
* Fix and enhance storybook:pages tests

Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix and enhance storybook:pages tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* fix SettingsObjectFieldPreview

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix lint

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix jest

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Add more fixes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix App.stories.tsx

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix tests

* Fix according to review

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-20 18:36:58 +01:00
Thaïs
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ïs
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ïs
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
brendanlaschke
c4fecb0a1a
Upload image for use in blocknote editor (#3044)
* - upload image to use in blocknote editor
- fix local-storage not in gitignore

* fix lint

* fix runtime config
add tests for body parsing notes and tasks

* lint
2023-12-20 15:16:19 +01:00
Ruslan
351dc6488c
feat(workspace-resolver): prevent deletion of demo workspaces (#2207) (#3068)
* feat(workspace-resolver): prevent deletion of demo workspaces (#2207)

* ForbiddenException instead of Error

* Optimize user and workspace deletion checks and clarify exception messages (#2207)

- ForbiddenException messages for attempts to delete users and workspaces associated with demo accounts
2023-12-20 14:52:44 +01:00
Lucas Bordeau
d70cb23f30
Added rimraf to yarn build (#3089) 2023-12-20 14:50:10 +01:00
Andrey Kud
dd044e8f66
fix: empty state should not appear during table loading (#3040)
* fix: empty state should not appear during table loading

* feat: add initla load tracking

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-20 14:19:02 +01:00
Jérémy M
d59a37129f
fix: sentry doesn't catch exceptions from flexible backend (#3074)
* fix: sentry doesn't catch exceptions from flexible backend

* fix: send remaining errors to Sentry

* fix: missing debug

* feat: use an util exception handler instead of Nest.JS class
2023-12-20 12:04:59 +01:00
martmull
ed7bd0ba26
2914 graphql api documentation (#3065)
* Remove dead code

* Create playground component

* Remove useless call to action

* Fix graphiql theme

* Fix style

* Split components

* Move headers to headers form

* Fix nodes in open-api components

* Remove useless check

* Clean code

* Fix css differences

* Keep carret when fetching schema
2023-12-20 12:01:55 +01:00
Kanav Arora
d2666dc667
2973-feat: Skeleton Loading Added (#2988)
* 2973-feat: Skeleton Loading Added

* loading from useQuery

* PR suggestions fixed

* Fix accoding to review

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-20 10:07:16 +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