martmull
2f7d8c76af
22 branches 2 ( #13051 )
...
This PR is purely technical, it does produces any functional change to
the user
- add Lock mecanism to run steps concurrently
- update `workflow-executor.workspace-service.ts` to handle multi branch
workflow execution
- stop passing `context` through steps, it causes race condition issue
- refactor a little bit
- simplify `workflow-run.workspace-service.ts` to prepare `output` and
`context` removal
- move workflowRun status computing from `run-workflow.job.ts` to
`workflow-executor.workspace-service.ts`
## NOTA BENE
When a code step depends of 2 parents like in this config (see image
below)
If the form is submitted before the "Code - 2s" step succeed, the branch
merge "Form" step is launched twice.
- once because form is submission Succeed resumes the workflow in an
asynchronous job
- the second time is when the asynchronous job is launched when "Code -
2s" is succeeded
- the merge "Form" step makes the workflow waiting for response to
trigger the resume in another job
- during that time, the first resume job is launched, running the merge
"Form" step again
This issue only occurs with branch workflows. It will be solved by
checking if the currentStepToExecute is already in a SUCCESS state or
not
<img width="505" alt="image"
src="https://github.com/user-attachments/assets/b73839a1-16fe-45e1-a0d9-3efa26ab4f8b "
/>
2025-07-07 22:50:34 +02:00
martmull
92576aec0f
Fix update context and stepOutput when step running ( #13030 )
...
add a function to only set stepStatus, and not context or output. Useful
when setting step state to RUNNING
2025-07-04 10:09:54 +02:00
martmull
51cb35a27a
22 branches data migration ( #13006 )
...
This PR does not produce any functional change
First step of the workflow branch feature
- add gather `workflowRun.output` and `workflowRun.context` into one
column `workflowRun.runContext`
- add a command to fill `runContext` from `output` and `context` in
existing records
- maintain `runContext` up to date during workflow runs
2025-07-03 10:18:33 +02:00
martmull
9256a7f234
Add empty option to select form field ( #12898 )
...
## Before
New option selected, but not taken into account
<img width="744" alt="image"
src="https://github.com/user-attachments/assets/880421e2-5582-40f3-809a-ef443517b510 "
/>
## After
<img width="750" alt="image"
src="https://github.com/user-attachments/assets/d5114712-a08a-4867-a93c-da5240f81472 "
/>
2025-06-26 14:31:51 +02:00
martmull
f86b9b12b3
Add placeholder to generate fake form respose ( #12871 )
2025-06-25 17:21:17 +02:00
martmull
ce55b20faa
Use main dataSource to query CRON jobs ( #12830 )
...
As title
2025-06-24 13:29:00 +00:00
martmull
6e4dc16f2b
12660 bugapi create one person post api request example is returning 400 in playground ( #12787 )
...
Use faker to provide simple working examples for REST API create one,
create many, update one and find duplicates
Eg:
<img width="1505" alt="image"
src="https://github.com/user-attachments/assets/99be990f-efd6-4ad7-8c29-f9dcecac112f "
/>
2025-06-23 18:24:42 +02:00
martmull
28466ecbf3
Add icon select to manual trigger ( #12724 )
...
## After
<img width="1220" alt="image"
src="https://github.com/user-attachments/assets/98a73aae-80d7-4e92-93d3-be13210da88b "
/>
<img width="1131" alt="image"
src="https://github.com/user-attachments/assets/9919e415-4355-4995-8979-9055b821f1e9 "
/>
<img width="1300" alt="image"
src="https://github.com/user-attachments/assets/27f11cb3-d72c-468a-a641-8414172b9b54 "
/>
<img width="1353" alt="image"
src="https://github.com/user-attachments/assets/2f0037f2-fe17-48b6-b7e6-c7528687a5fd "
/>
2025-06-19 16:32:42 +00:00
martmull
b778b6ebad
Remove url checking in workflow run ( #12743 )
...
## Before
<img width="1064" alt="image"
src="https://github.com/user-attachments/assets/4f9081d7-1e2d-438b-b7ac-8537c1f3a676 "
/>
## After
<img width="1062" alt="image"
src="https://github.com/user-attachments/assets/2463f21c-f0e9-4c8c-b91e-55181bad8799 "
/>
2025-06-19 18:01:37 +02:00
martmull
c16b625752
Fix Canvas display above banner follow up ( #12707 )
2025-06-19 09:54:24 +02:00
martmull
d284fd1d71
Fix authUser decorator usage ( #12697 )
...
Solving issue: we don't have `user.firstName` and `user.lastName` set
when signin with e-mail/password. CreateBy, invitation emails and
validation domain email need those info
## Before
## ExecutedBy
<img width="511" alt="image"
src="https://github.com/user-attachments/assets/b85bbda5-f26b-4137-a875-0ef926a1eec4 "
/>
## Invitation email
<img width="764" alt="image"
src="https://github.com/user-attachments/assets/107c71bf-a6b2-4291-a31b-6ce48b11dd77 "
/>
### Validate domain email
<img width="829" alt="image"
src="https://github.com/user-attachments/assets/213ff7c5-f86d-476f-8f4d-74299d7eb13d "
/>
## After
## ExecutedBy
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/b4125e84-b355-4280-8611-b4e36e6033c7 "
/>
## Invitation email
<img width="754" alt="image"
src="https://github.com/user-attachments/assets/952fe5bf-f4da-4fef-b765-fc220255dedf "
/>
### Validate domain email
<img width="709" alt="image"
src="https://github.com/user-attachments/assets/6950097c-51ae-469b-a7cf-f561650ee86e "
/>
2025-06-18 13:57:55 +00:00
martmull
657b87fd0c
Fix banner z-index ( #12683 )
...
## Before

## After
<img width="1338" alt="image"
src="https://github.com/user-attachments/assets/d44da1b7-0d82-4b04-91b4-cbaa404e9da2 "
/>
2025-06-18 11:46:23 +02:00
martmull
27e661d76f
Deactivate workflow when deleted ( #12677 )
...
## Done
Update manually (without status update job) workflow and
workflowVersions statuses when workflow is deleted
## Not Done
Status optimistic rendering on workflow index deleted page. This page is
already buggy, this will be fix by
https://discord.com/channels/1130383047699738754/1384177035244732487
2025-06-17 15:33:06 +02:00
martmull
54090a0340
Fix icon button group design ( #12656 )
...
- remove not expected animation
- move border to iconButtonGroup ui component
2025-06-17 11:16:53 +02:00
martmull
ccd16fb27f
Display + edge icon on hover ( #12635 )
2025-06-17 10:17:58 +02:00
martmull
878e1dbfd9
Remove actions when record deleted ( #12633 )
...
## All Objects
Remove from deleted records view for all object:
- NoSelectionRecordActionKeys.CREATE_NEW_RECORD
- NoSelectionRecordActionKeys.IMPORT_RECORDS
- SingleRecordActionKeys.ADD_TO_FAVORITES
- SingleRecordActionKeys.REMOVE_FROM_FAVORITES
Remove from index view for deleted record:
- DELETE
- ADD_TO_FAVORITES
- REMOVE_FROM_FAVORITES
## Workflows
Remove from deleted workflows view:
- NoSelectionWorkflowRecordActionKeys.GO_TO_RUNS
- SingleRecordActionKeys.EXPORT
Remove from index view for deleted workflow:
- ACTIVATE
- DEACTIVATE
- DISCARD_DRAFT
- SEE_ACTIVE_VERSION
- SEE_RUNS
- SEE_VERSIONS
- TEST
2025-06-16 17:20:13 +02:00
martmull
e0cb53af48
1031 workflows menu fixes ( #12618 )
...
## Before (not exhaustive)
<img width="520" alt="image"
src="https://github.com/user-attachments/assets/642365c5-f359-4ad3-8ba3-d7bb9c7d91e4 "
/>
<img width="522" alt="image"
src="https://github.com/user-attachments/assets/0819717f-84c6-436c-b9f4-20a1964cd565 "
/>
<img width="528" alt="image"
src="https://github.com/user-attachments/assets/240bf181-ec37-4e25-9fdb-c264a680abcc "
/>
<img width="525" alt="image"
src="https://github.com/user-attachments/assets/0dfd55c1-dfbd-47ee-8741-977b5e57fa0a "
/>
## After (not exhaustive)
<img width="511" alt="image"
src="https://github.com/user-attachments/assets/199b6e6e-be1d-4b75-8df6-d65ff05bee58 "
/>
<img width="512" alt="image"
src="https://github.com/user-attachments/assets/a92f67a8-ed58-4c4f-b401-07765158030f "
/>
<img width="522" alt="image"
src="https://github.com/user-attachments/assets/ba3ae73a-4650-4f7f-a62a-980e6a2d21d1 "
/>
<img width="518" alt="image"
src="https://github.com/user-attachments/assets/97946870-4fba-4898-8381-9087df0b9ac4 "
/>
2025-06-16 11:40:27 +00:00
martmull
dde3ca4549
803 timebox improve the ux when creating a new step ( #12599 )
2025-06-13 17:22:49 +02:00
martmull
194549b77e
Fix flaky test ( #12579 )
...
as title, add missing awaits
2025-06-13 12:33:56 +00:00
martmull
4f307a24b0
Add workflow seed ( #12572 )
...
Add "Quick Lead" workflow Manually triggered on no record selected
- form -> first name / last Name / email / job title / company name /
company domainName
- create company
- create person

<img width="1512" alt="Capture d’écran 2025-06-12 à 16 31 26"
src="https://github.com/user-attachments/assets/3c598370-12b1-4bf1-8a09-13926948ffbd "
/>
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/37db685a-ab59-46da-8086-c53cd4a2bac4 "
/>
2025-06-12 18:04:46 +02:00
martmull
3ba701812b
Add display flex on pagePanel ( #12568 )
...
## Before
https://github.com/user-attachments/assets/06a4d6e9-7674-4748-937a-ee3bbe5ccc5a
## After
https://github.com/user-attachments/assets/6c2a903b-7720-4fcd-acb9-f106cb05f37b
https://github.com/user-attachments/assets/87b1f7dc-457f-48c6-8622-cb49c2ad3c28
2025-06-12 16:48:01 +02:00
martmull
cf01faf276
965 flow control arrow menu 1/3 add insert step button ( #12519 )
...
Add insert step button to workflow edges
https://github.com/user-attachments/assets/7144f722-f1c7-450f-a8eb-c902071986a1
Also fixes `iconButtonGroup` UI component
## Before
https://github.com/user-attachments/assets/7b5f0245-d0e8-48af-9aa5-a29388a1caea
## After
https://github.com/user-attachments/assets/1820874f-aa99-41ae-8254-c76c275ee3ae
2025-06-12 12:14:21 +00:00
martmull and Charles Bochet
b2c57c5dcc
Update billing page ctas ( #12459 )
...
## Before

## After
<img width="1056" alt="image"
src="https://github.com/user-attachments/assets/4a51b7c7-898b-485f-95e8-97911292f2b1 "
/>
<img width="1299" alt="image"
src="https://github.com/user-attachments/assets/44e5e545-a660-455a-91be-3b139ccb9f30 "
/>
<img width="1180" alt="image"
src="https://github.com/user-attachments/assets/0ca765a7-1d9a-473a-b7d2-c6f9b1a72417 "
/>
<img width="963" alt="image"
src="https://github.com/user-attachments/assets/b620fd8a-61c9-4dd3-a3b1-e4ba940371e4 "
/>
<img width="863" alt="image"
src="https://github.com/user-attachments/assets/a0d2dcb5-19e5-4f83-80d4-ad5a715f1e5f "
/>
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2025-06-05 20:56:55 +02:00
martmull
e227c0443a
Fix workflow diagram success edges ( #12439 )
...
## Before
<img width="492" alt="image"
src="https://github.com/user-attachments/assets/6c85baea-3b58-4196-87ab-dcc7bcb4e5ca "
/>
## After
<img width="477" alt="image"
src="https://github.com/user-attachments/assets/0428f1f0-ef73-4fa1-b778-d1536a8b84e6 "
/>
2025-06-03 16:51:04 +02:00
martmull
0e68602030
Fix function input computation in workflow code step ( #12440 )
...
As title
Fix consist by awaiting for getFunctionInputFromSourceCode response
2025-06-03 16:50:46 +02:00
martmull
cb010d90fe
998 workflow restore ( #12417 )
...
Add a post hook to restore workflow sub-entities
2025-06-03 15:28:43 +02:00
martmull
f48145c01b
Fix edge x position ( #12410 )
...
## Before
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/59014e1f-8cf1-4a38-8cf7-675104fc8f3d "
/>
## After
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/93da4dbb-d0ed-417c-86f7-970a4e9858a4 "
/>
2025-06-02 14:59:06 +02:00
martmull
9eeb50cb14
Add relations in workflow action fields ( #12359 )
2025-05-28 18:32:24 +02:00
martmull
69831b17ff
Signed file follow up ( #12347 )
2025-05-28 13:02:27 +02:00
martmull
196d8c97a4
Add relations in database event trigger output data ( #11820 )
...
## Done
- add relations in dropdown variables
- add relations in worklfow run inputs
- use objectMetadataMaps in workflow folder
## To do
- does not work with rest api calls, will be fixed after
https://github.com/twentyhq/twenty/pull/11349 is merged
- waiting for crud action relation fields
https://github.com/twentyhq/core-team-issues/issues/509
2025-05-27 20:46:15 +02:00
martmull
aa58259019
11744 emails broken image in emails ( #12265 )
...
- refactor file tokens
- update file token management
- generate one token per file per workspaceId
- move token from query params to url path
2025-05-26 22:05:21 +02:00
martmull
f9afa589f4
Fix wrong email logo url ( #12256 )
...
Fix wrong twenty logo url
It does not fix all the https://github.com/twentyhq/twenty/issues/11744
issue, but this is a small step. The other step is pretty big so I split
the ticket in 2 PRs
2025-05-23 17:28:49 +02:00
martmull
88b967dfb8
Cast typeorm QueryFailedError to BadRequestException for the rest api ( #12217 )
2025-05-23 17:00:45 +02:00
martmull
578f07374b
922 remove todos from 11809 after release ( #12183 )
...
- remove todos
- remove workflow-event-listener.workspace-entity.ts
2025-05-21 16:15:48 +02:00
martmull
a5b212369b
Set findOneServerlessFunction result nullable ( #12179 )
...
solves https://github.com/twentyhq/twenty/issues/11819
remove fetch query when deleting code step
2025-05-21 13:59:20 +00:00
martmull
8e2d0139ed
Emit proper event on createOrUpdate csv import operation ( #12163 )
...
- use proper event emitter when upserting records with csv import
- After:
https://github.com/user-attachments/assets/8303da38-2e35-4f4c-bb13-8a7a222971b7
2025-05-21 11:59:50 +02:00
martmull
b52ef76376
971 rest api bug sentry on filter parameters ( #12088 )
...
- fix missing createBy injection in api createOne and createMany
endpoints
- add a command to fix null default value for createdBySource in
production entities
- tested on `1747159401197/` dump extract of production db without issue
2025-05-19 12:46:03 +02:00
martmull
08ce2f831e
Fix missing exception catch ( #12069 )
...
add a check about uuid in rest api findOne handler
2025-05-15 15:01:57 +00:00
martmull
81cc5da982
[Rest Api] Fix find duplicates endpoint ( #12044 )
...
- fix endpoint
- migrate to new rest api v2 service
- add integration test
2025-05-14 20:03:59 +00:00
martmull
a4c56bd7fb
960 api rest batch create not working ( #12028 )
...
- fix batch endpoint
- migrate batch endpoint to the rest api v2
- add new integration test for batch endpoints
2025-05-14 14:44:04 +02:00
martmull
4d2e431277
959 api rest startingafter and endingbefore not working properly with orderby ( #12012 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/959
2025-05-14 10:41:56 +02:00
martmull
650f8f5963
Revert "Revert "[4/n]: migrate the RESTAPI GET /rest/* to use TwentyORM direc…" ( #11349 )
2025-05-12 08:32:04 +00:00
martmull
849a35955a
866 refactor cron trigger only one cron each minutes triggers all cron triggers ( #11809 )
...
<img width="1123" alt="image"
src="https://github.com/user-attachments/assets/75447922-81dd-4cfc-805d-f511f73cc778 "
/>
2025-04-30 17:08:47 +02:00
martmull
4d7dbb1991
Fix missing on delete cascade for relation ( #11725 )
...
Follow up from https://github.com/twentyhq/twenty/pull/10217
Adding onDelete action on Many_to_one sides
2025-04-24 18:32:14 +02:00
martmull
b6e8103df7
Mime encode names in email headers ( #11691 )
...
# Before
<img width="618" alt="image"
src="https://github.com/user-attachments/assets/e6d7c0ac-10f8-4d2e-abe4-05bf86a2ea9e "
/>
# After
<img width="504" alt="image"
src="https://github.com/user-attachments/assets/db147cb9-be19-4d08-b357-cb554dc2a4ae "
/>
Fixes also Emojis encoding in Subject ->
<img width="540" alt="image"
src="https://github.com/user-attachments/assets/8c27743f-3a50-46eb-b0f3-492219bbd646 "
/>
Works with microsoft accounts
<img width="360" alt="image"
src="https://github.com/user-attachments/assets/d924440f-c107-4c1c-ad4d-b4b27016f102 "
/>
Fixes https://github.com/twentyhq/twenty/issues/9194
2025-04-23 11:37:40 +02:00
martmull
fba4192d4b
Fix rest api integration tests ( #11645 )
...
as title
2025-04-18 15:23:36 +02:00
martmull
e4150ff3cb
Fix logs in integration tests ( #11632 )
...
## Before
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/3e8be2e0-ac16-4735-8783-69c800bf0aaf "
/>
## After
<img width="1512" alt="image"
src="https://github.com/user-attachments/assets/1a83e7ce-d70a-43c4-a6cd-89dd456d80c1 "
/>
2025-04-17 15:05:10 +00:00
martmull and prastoin
42e060ac74
Ws poc ( #11293 )
...
related to https://github.com/twentyhq/core-team-issues/issues/601
## Done
- add a `onDbEvent` `Subscription` graphql endpoint to listen to
database_event using what we have done with webhooks:
- you can subscribe to any `action` (created, updated, ...) for any
`objectNameSingular` or a specific `recordId`. Parameters are nullable
and treated as wildcards when null.
- returns events with following shape
```typescript
@Field(() => String)
eventId: string;
@Field()
emittedAt: string;
@Field(() => DatabaseEventAction)
action: DatabaseEventAction;
@Field(() => String)
objectNameSingular: string;
@Field(() => GraphQLJSON)
record: ObjectRecord;
@Field(() => [String], { nullable: true })
updatedFields?: string[];
```
- front provide a componentEffect `<ListenRecordUpdatesEffect />` that
listen for an `objectNameSingular`, a `recordId` and a list of
`listenedFields`. It subscribes to record updates and updates its apollo
cached value for specified `listenedFields`
- subscription is protected with credentials
## Result
Here is an application with `workflowRun`
https://github.com/user-attachments/assets/c964d857-3b54-495f-bf14-587ba26c5a8c
---------
Co-authored-by: prastoin <paul@twenty.com >
2025-04-17 16:03:51 +02:00
martmull
0469aba90b
Improve from in send email action ( #11581 )
...
## Before
<img width="701" alt="image"
src="https://github.com/user-attachments/assets/77184775-5b06-4777-9276-1338cc457070 "
/>
## After
<img width="705" alt="image"
src="https://github.com/user-attachments/assets/9528eb0e-54c3-452c-8297-27796ccc75a1 "
/>
2025-04-17 11:34:55 +02:00
martmull
82fa71c2cd
Update canary package versions ( #11543 )
...
as title
2025-04-11 16:48:41 +02:00
martmull
1794b3a611
Remove build lambda at creation ( #11531 )
...
Remove useless build call (done at first execution)
2025-04-11 14:40:00 +02:00
martmull
b8406820ee
Fix wrong filter for get requests ( #11512 )
...
- remove wrong exception filter for GET api requests
- remove messageThreadId requirements on messages for requests done with
API key (no user, only workspace)
- doing the same for calendarEvents
2025-04-10 17:29:53 +02:00
martmull
4e4c0ddd3c
Add command to update serverless layer ( #11500 )
...
New command to add packages to serverless -> Run into your terminal
`npx nx run twenty-server:command serverless:add-packages -p
stripe@17.0.0,@slack/web-api,@slack/oauth`
Will create a new layer folder, add packages in it and update the new
last_layer_version
<img width="1468" alt="image"
src="https://github.com/user-attachments/assets/da8ee77f-e512-4ceb-95bc-cfa979f3439c "
/>
Before
<img width="877" alt="image"
src="https://github.com/user-attachments/assets/35f6bb6c-2ebf-46fe-bd15-4e6352901fc8 "
/>
After
<img width="938" alt="image"
src="https://github.com/user-attachments/assets/785af132-5e8c-4a9a-bc57-dffdcaaeec02 "
/>
2025-04-10 14:53:59 +02:00
martmull
f121c94d4a
701 workflow improve webhook triggers ( #11455 )
...
as title
Nota bene: I did not filter execution by http method. A POST webhook
trigger can be triggered by a GET request for more flexibility. Tell me
if you think it is a mistake
https://github.com/user-attachments/assets/1833cbea-51a8-4772-bcd8-088d6a087e79
2025-04-08 19:01:22 +00:00
martmull
55eadf1ab4
11312 rest api cant filter enum type columns by null value ( #11343 )
...
- Fixes https://github.com/twentyhq/twenty/issues/11312
- Fixes record undefined on webhook deleted events
- Emit destroy event when deleting record via the rest api
2025-04-02 15:07:53 +02:00
martmull
c6afb0d1ba
Revert "[4/n]: migrate the RESTAPI GET /rest/* to use TwentyORM direc… ( #11344 )
...
…tly (#10372 )"
This reverts commit a26b3f54d6 .
2025-04-02 13:39:28 +02:00
martmull
6e92b19e01
11311 object create webhook should be triggered when object is created via rest api ( #11336 )
...
Fixes https://github.com/twentyhq/twenty/issues/11311
2025-04-02 10:22:22 +02:00
martmull
8e6b175f34
700 fix rest api issues ( #11326 )
...
fixes issues listed here
https://github.com/twentyhq/core-team-issues/issues/700
2025-04-01 17:22:24 +02:00
martmull and Raphaël Bosi
3e20134676
Add command to update createdBySource enum values ( #11280 )
...
Fixes webhook create workflowRun by WEBHOOK error
Co-authored-by: Raphaël Bosi <71827178+bosiraphael@users.noreply.github.com >
2025-03-28 16:53:14 +00:00
martmull
45b8a330c6
Fix lambda iam ( #11163 )
...
As title, fix lambda driver for serverless functions
2025-03-25 15:57:04 +01:00
martmull
463a2995a9
Fix wrong totalCount in groupBy view ( #11094 )
...
Add filters by visibleRecordGroup to compute totalCount
## Before
see https://github.com/twentyhq/twenty/issues/11067
## After

- After hiding `New` and `Meeting` columns:
<img width="1280" alt="image"
src="https://github.com/user-attachments/assets/a2ae1728-ea11-4e2d-86e5-02778b3c42c0 "
/>
- With filtering
<img width="1275" alt="image"
src="https://github.com/user-attachments/assets/263d8865-9cba-4b46-84a0-e9270b29109b "
/>
- Works also in groupBy view
<img width="1280" alt="image"
src="https://github.com/user-attachments/assets/c1ec171f-6eec-45db-aafc-2bd2d1de8841 "
/>
2025-03-21 16:22:24 +01:00
martmull
6a412a531f
Remove useless skelettonLoader ( #11096 )
...
## After

<img width="825" alt="Capture d’écran 2025-03-21 à 15 43 14"
src="https://github.com/user-attachments/assets/87818683-9cb0-4264-a6c3-f0420b0ae34d "
/>
2025-03-21 16:19:45 +01:00
martmull
6d8cf442a7
Give worker access to server volume ( #11065 )
2025-03-20 16:43:38 +01:00
martmull
d99f027e8d
400 workflows webhooks trigger ( #11041 )
...
https://github.com/user-attachments/assets/dc0ece22-4d87-417f-b9e1-a11c3fd52ce8
2025-03-20 10:12:52 +00:00
martmull
7921ee5216
Stop emitting update event if before===after ( #11004 )
...
as title
2025-03-19 10:49:21 +01:00
martmull
1bd3000b5d
Investigate workflow user error ( #10952 )
...
Investigation related to https://github.com/twentyhq/twenty/issues/10868
- throw an error when computedVersion is undefined
2025-03-18 14:24:21 +01:00
martmull
37599af882
Fix unknown labe ( #10934 )
...
## Before

## After

2025-03-17 11:25:13 +01:00
martmull
d951a5a099
Fix Each child in a list should have a unique key prop. ( #10881 )
...
As title
2025-03-14 12:00:03 +01:00
martmull
b1322beac3
Fix console errors ( #10859 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/276
## Before


## After

2025-03-13 16:50:35 +01:00
martmull
3f7315c2dc
Fix test data disapear ( #10846 )
...
As title. Init input from source code only once.
2025-03-13 12:08:29 +01:00
martmull
7e291f3cff
Fix close right drawer error ( #10841 )
...
fixes
https://discord.com/channels/1130383047699738754/1349485390871924796
2025-03-13 10:02:59 +00:00
martmull
638fbe2014
Fix flash when creating draft ( #10814 )
...
Always set `serverlessWorkflowVersion = 'draft'` in code steps
2025-03-13 10:16:47 +01:00
martmull
1b0413bf8b
Add days schedule trigger ( #10800 )
...
<img width="1470" alt="image"
src="https://github.com/user-attachments/assets/660d79ba-60c7-4874-aa82-80a7575366ba "
/>
2025-03-12 15:25:07 +00:00
martmull
8d1a4672de
Add console logs to code step ( #10796 )
...
code review return -> move console interceptor to dedicated utils
2025-03-12 10:59:41 +01:00
martmull
4036933c84
Add console logs to code step ( #10786 )
...
Works for local and lambda drivers
## After


2025-03-12 10:40:59 +01:00
martmull
0eb829dcb5
Remove system email address from cleaning emails ( #10774 )
...
as title, to avoid polluting the technical email address
2025-03-11 13:44:33 +01:00
martmull
f79165ff28
450 merge first second tab on side panel ( #10757 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/450
## Before
https://github.com/user-attachments/assets/9b3b8fe7-0cf6-49b7-9f1b-d263b8f65dde
## After
https://github.com/user-attachments/assets/b8e48cae-0661-4fc2-912b-bf091d94bde6
2025-03-10 17:40:27 +01:00
martmull
927b8c717e
Poc lambda deployment duration ( #10340 )
...
closes https://github.com/twentyhq/core-team-issues/issues/436
## Acheivements
Improve aws lambda deployment time from ~10/15 secs to less that 1 sec
## Done
- migrate with the new code executor architecture for local and lambda
drivers
- support old and new executor architecture to avoid breaking changes
- first run is long, next runs are quick even if code step is updated
## Demo using `lambda` driver
### Before
https://github.com/user-attachments/assets/7f7664b4-658f-4689-8949-ea2c31131252
### After
https://github.com/user-attachments/assets/d486c8e2-f8f8-4dbd-a801-c9901e440b29
2025-02-20 10:49:57 +01:00
martmull
f2da915b20
Poc lambda subhosting ( #10192 )
...
Add `SERVERLESS_LAMBDA_SUBHOSTING_ROLE` to allow hosting lambdas in
separate aws account
Tested with old configuration and new configuration
2025-02-14 09:18:49 +01:00
martmull
b66289c44c
replace log by throw ( #10167 )
...
as title
2025-02-12 16:31:41 +00:00
martmull
39e7a0b61c
Remove log to fix serverless function ( #10166 )
...
as title
2025-02-12 15:39:00 +00:00
martmull
c30f416912
Add log ( #10162 )
...
add log to fix issue in staging
2025-02-12 15:01:34 +00:00
martmull
83bf2d1739
Webhook follow up ( #10124 )
...
- fix webhook creation
- fix pointer
2025-02-11 16:30:11 +00:00
martmull
c07f43fcb1
Simplify webhook creation flow ( #10107 )
...
## Before
https://github.com/user-attachments/assets/6bc61970-f0e2-4826-bf95-2b0c9fff5113
## After
- no new webhook form anymore
- autosave on update
https://github.com/user-attachments/assets/c7a304ec-76f5-4c2b-ac5e-7a846bd7f23b
@Bonapara ok for you?
2025-02-10 16:48:51 +01:00
martmull
c908a687fb
Fix doc ( #10102 )
...
## Why
Lots of sefl-hosted Help thread require to check if the worker is
running
This PR adds a new section to document **How to check the worker is
running?**

2025-02-10 11:22:47 +01:00
martmull
ead626c2ec
360 workflow implement workflow cron triggers frontend 2 ( #10051 )
...
as title, closes https://github.com/twentyhq/core-team-issues/issues/360
## Cron Setting behavior
https://github.com/user-attachments/assets/0de3a8b9-d899-4455-a945-20c7541c3053
## Cron running behavior
https://github.com/user-attachments/assets/4c33f167-857c-4fcb-9dbe-0f9b661c9e61
2025-02-07 17:15:03 +01:00
martmull
736b845c98
335 workflow implement workflow cron triggers backend ( #9988 )
...
[Backend side] Add cron triggers to workflow
Closes https://github.com/twentyhq/core-team-issues/issues/335
2025-02-05 11:02:49 +00:00
martmull
ae62789159
Serverless function follow up ( #9924 )
...
- remove asynchronous serverless function build
- build serverless function synchronously instead on activate workflow
or execute
- add a loader on workflow code step test tab test button
- add a new `ServerlessFunctionSyncStatus` `BUILDING`
- add a new route to build a serverless function draft version
- delay artificially execution to avoid UI flashing
https://github.com/user-attachments/assets/8d958d9a-ef41-4261-999e-6ea374191e33
2025-01-31 17:12:42 +01:00
martmull
5329dd0c63
Disable variable picker when no available variables ( #9894 )
...
- Disable variable picker when no available variables
(https://discord.com/channels/1130383047699738754/1331236819227906049 )
<img width="496" alt="image"
src="https://github.com/user-attachments/assets/e4cb97c8-648c-4bdf-b230-49687113c9e6 "
/>
2025-01-28 18:53:26 +01:00
martmull
7362558e30
Reset selectedStep with proper step ( #9867 )
...
as title
fixes
https://discord.com/channels/1130383047699738754/1331215762840485908
2025-01-27 15:35:29 +01:00
martmull
687b61849a
Fix rightDrawer padding ( #9869 )
...
Fixes
https://discord.com/channels/1130383047699738754/1331236153713627157
## Before

## After

2025-01-27 14:31:47 +00:00
martmull
68c4f9cb0d
Fix design to match figma ( #9864 )
...
As title
Fixes
https://discord.com/channels/1130383047699738754/1331212573902770228
## Before

## After

2025-01-27 15:23:28 +01:00
martmull
c1e84a746c
Fix design for select action ( #9857 )
...
as title
fixes
https://discord.com/channels/1130383047699738754/1330945172489371771
2025-01-27 13:29:04 +01:00
martmull
fb0b342374
Fix background color in code step right drawer ( #9856 )
...
Fixes
https://discord.com/channels/1130383047699738754/1331211019430924380
as title
2025-01-27 12:16:21 +01:00
martmull
03197226f4
Fix Cmd enter to test code step ( #9841 )
2025-01-24 16:46:56 +00:00
martmull
1a42483aa9
Fix wrong label formatting ( #9830 )
...
Fixes
https://discord.com/channels/1130383047699738754/1324785862830985266
## Before
<img width="451" alt="image"
src="https://github.com/user-attachments/assets/53ae96f9-4bbd-40e3-beaa-a5702f2adee4 "
/>
## After
<img width="388" alt="image"
src="https://github.com/user-attachments/assets/e36da162-bc60-4596-823b-ffb6ddfed98d "
/>
2025-01-24 15:11:30 +01:00
martmull
daa8ff1299
148 cant access note without title from kanban board ( #9817 )
...
closes https://github.com/twentyhq/core-team-issues/issues/148
- fixes not openable kanban card when identifier empty
- update card behavior (onClick open recordPage)
- fixes right click actionDropdown position
## Before
https://github.com/user-attachments/assets/696194b8-d7fa-4fc1-a6f9-b46241a262e5

## After
https://github.com/user-attachments/assets/41e296e5-ae16-47f8-b174-7dd21d74188d

2025-01-23 17:05:35 +00:00
martmull
3ab193f298
Remove isServerlessFunctionSettingsEnabled feature flag ( #9797 )
...
Removes `isFunctionSettingsEnabled` feature flag
We consider this featureFlag as false for everyone. We decided to keep
the code in the code base for now
2025-01-22 22:39:52 +01:00
martmull
80c9ebfd4e
Remove isGmailSendEmailScopeEnabled featureFlag ( #9787 )
...
as title
2025-01-22 15:53:40 +01:00
martmull
ed7c48e12a
Fix use as draft ( #9718 )
...
- remove delete serverless function when archiving workflow version
- update copy serverless function to reset serverless function to old
version
- remove createNewWorkflowVersion and use createDraftFromWorkflowVersion
- fix step update issue and optimistic rendering when generate draft
from active version
2025-01-21 15:44:52 +01:00