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
martmull
f8f9bb2b78
Serverless function timeout concerns ( #9689 )
...
closes https://github.com/twentyhq/core-team-issues/issues/242
- unify timeout behavior between local and lambda
- add timeout in serverless entity
- set timeout default to 300s (5min)
2025-01-17 13:49:02 +00:00
martmull
b5c5bee6cf
Fix error message ( #9646 )
...
- fix typo
2025-01-15 16:29:42 +00:00
martmull
c01e3af8ee
Fix race condition on stripe subscription ( #9629 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/191
- remove automatic redirection on payment success page when subscription
status is undefined
- add an effect component to refresh the subscription status on payment
success page
Observation: Locally, I had to delay the stripe webhook subscription
created endpoint by 7s to see race condition issue
https://github.com/user-attachments/assets/463e1816-34fd-4c4f-b590-3994a3a3e91a
2025-01-15 16:08:34 +01:00
martmull
f0287d273d
Add containsAny filter comparators in rest api ( #9595 )
...
- add missing `containsAny` filter comparator to filter multiSelect
fields
- fix app break if object with same name created
- fix flash when clicking on choose plan
### Before
https://github.com/user-attachments/assets/71709912-63e8-40f8-bc52-3ec0a62746bb
### After
https://github.com/user-attachments/assets/93ee02c2-e3d9-4bab-8b6a-62813fd40b2b
2025-01-14 11:40:02 +01:00
martmull
55bae60f69
Fix wrong domainName for redirect url ( #9586 )
...
Closes https://github.com/twentyhq/twenty/issues/9097
Fixes the redirect url of stripe `checkout` and `billingPortal` sessions
## Before
https://github.com/user-attachments/assets/4ccab325-41e1-494e-854a-9d9a72e534f1
## After
https://github.com/user-attachments/assets/740b07f4-84b0-4670-a5b6-2684fde640c8
2025-01-13 17:03:01 +00:00
martmull
330addbc0b
Refech code after code update ( #9577 )
...
- fixes code step update, then close code step, then open code step,
code not up to date
2025-01-13 15:53:56 +01:00
martmull
5783d68d62
Remove serverless functions on version archivation ( #9535 )
...
Fixes https://github.com/twentyhq/core-team-issues/issues/52
- contrary to title, we do not remove serverless functions on workflow
version archivation because serverless fucntion might be used in another
workflow version
- we fix the serverless funciton version displayed in the code step
- we allow test function version in step display right drawer
- we delete serverless function only when serverless function has no
published version
2025-01-13 13:09:57 +00:00
martmull
7b2debf6fb
Add error marker when invalid main function ( #9489 )
...
## Before

## After

2025-01-10 14:29:58 +01:00
martmull
0c75b244ba
Remove serverless functions on soft delete ( #9438 )
...
Delete workflow versions serverless functions when soft delete workflow
2025-01-07 15:51:34 +00:00
martmull
1691fa5065
Remove buggy refetch query ( #9420 )
...
- Fixes flash when writing code in workflow code steps
- Fixes tab selection collusion when switching code steps
https://github.com/user-attachments/assets/45e884a7-6765-4596-b37f-3a22dd78664f
2025-01-07 10:59:19 +01:00
martmull
b22a598d7d
Add Currency form field ( #9389 )
2025-01-06 15:39:48 +00:00
martmull
0d2bfad3c9
Separate date and datetime components ( #9161 )
...
Add a 2 components solution for FormDate and FormDateTime
2024-12-20 10:50:30 +00:00
martmull
2437572a5c
Fix discard draft optimistic rendering ( #9153 )
...
Remove draft workflow version from cached workflow
2024-12-20 11:36:47 +01:00
martmull
94136d953e
8749 invalid openapi schema ( #9156 )
2024-12-20 09:56:22 +01:00
martmull
5586270df4
Remove buggy dependencies ( #9115 )
...
Fixes double download
2024-12-18 17:05:33 +00:00
martmull
e492efb79e
Remove serverless functions from settings ( #9105 )
...
closes https://github.com/twentyhq/twenty/issues/8727
@Bonapara wants to keep the code for now so I ended up by setting the
`isFunctionSettingsEnabled` constants to false in the codebase
2024-12-17 17:57:17 +01:00
martmull
5dfcc413cf
9024 workflow test serverless function follow up ( #9066 )
...
- Fix Tablist style
- Fix dropdown style (wrong grey background)
- Update dropdown variable when no outputSchema is available
https://github.com/user-attachments/assets/56698fe8-8dd3-404a-b2b2-f1eca6f5fa28
2024-12-17 10:35:38 +01:00
martmull
b10d831371
8726 workflow add a test button in workflow code step ( #9016 )
...
- add test button to workflow code step
- add test tab to workflow code step
https://github.com/user-attachments/assets/e180a827-7321-49a2-8026-88490c557da2


2024-12-13 10:16:29 +00:00
martmull
2b3b073570
8725 workflow avoid serverless function autosave errors ( #8916 )
...
See issue #8725
- Build function asynchronously using a job
- prevent useless builds
- run promises simultaneously
Todo:
- fix outputSchema computing
2024-12-06 10:13:12 +00:00
martmull
455e548bea
8839 workflow follow up code step ( #8856 )
...
- add readonly mode
- fix falsy stepOutput computation
2024-12-05 13:26:28 +00:00
martmull
d0ff1ffd5f
8723 workflow add editor in serverless function code step ( #8805 )
...
- create a serverless function when creating a new workflow code step
- add code editor in workflow code step
- move workflowVersion steps management from frontend to backend
- add a custom resolver for workflow-version management
- fix optimistic rendering on frontend
- fix css
- delete serverless function when deleting workflow code step
TODO
- Don't update serverlessFunction if no code change
- Factorize what can be between crud trigger and crud step
- Publish serverless version when activating workflow
- delete serverless functions when deleting workflow or workflowVersion
- fix optimistic rendering for code updates
- Unify CRUD types
<img width="1279" alt="image"
src="https://github.com/user-attachments/assets/3d97ee9f-4b96-4abc-9d36-5c0280058be4 ">
2024-12-03 08:41:13 +00:00
martmull
76be1df66a
Fix array and links display ( #8671 )
...
## Before


## After


2024-11-22 12:06:31 +01:00
martmull
39373b4a28
8643 fix sentry error ( #8644 )
...
- fixes missing data in event payload when adding a new workspaceMember
- add strong typing to database event emitters
2024-11-21 16:09:36 +00:00
martmull
eb66c019f5
Set initial step if only one root step ( #8617 )
2024-11-20 17:38:35 +00:00
martmull
0f7ebd3026
Fix wrong getAll keyValue method ( #8603 )
...
Fixes
https://github.com/twentyhq/twenty/issues/8520#issuecomment-2485913500
- Fix the getAll key-value pairs method, as it returns incorrect
results. The keyVar values were being affected by keyValues from other
workspaces.
- Fix missing Sync Email step for existing users joining existing
workspace
Before, this method returned keyValues that verifies:
- workspaceId = user.defaultWorkspaceId
- userId = user.id
This method now returns:
- userId = null && workspaceId = user.defaultWorkspaceId
- userId = user.id && workspaceId = null
- userId = user.id && workspaceId = user.defaultWorkspaceId
## Result
https://github.com/user-attachments/assets/b7563db6-a6a8-4e09-a0c6-c372d7e2b712
2024-11-20 15:41:42 +00:00
martmull
a744515303
Fix composite subfields format in OpenAPI schema ( #8592 )
...
Fixes https://github.com/twentyhq/twenty/issues/7262
## Before

## After


2024-11-20 10:06:05 +01:00
martmull
1e55010e26
8563 workflow workflow node does not open on step click ( #8582 )
...
- fix multiple node selection
- fix console error
- fix close right drawer no unselect nodes
- fix edges not selectable
- fix sometime node not selected when clicking
## After
https://github.com/user-attachments/assets/ceec847f-5b7d-4452-9685-81a845bbf21e
2024-11-19 14:51:52 +01:00
martmull
e3b327de8e
Add missing Icons ( #8562 )
...
## Before

## After

2024-11-18 16:22:17 +01:00
martmull
9b2853bb01
Fix variable dropdown ( #8521 )
...
- fixed dropdown width
- add icons
- handle composite fields
## After



2024-11-15 18:08:03 +00:00
martmull
4f99b8eea1
8495 workflow display relevant columns in workflow related tables ( #8502 )
...
## After
### Workflows

### WorkflowRuns

### WorkflowVersions

## Change Created By into Executed By in workflowRuns

2024-11-15 10:13:36 +00:00