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
martmull
090f612c4b
Fix open api specs for MULTI_SELECT ( #8494 )
...
## Before

## After

2024-11-14 12:07:31 +01:00
martmull
9ac949dec8
[Workflow] Add search in variable dropdown ( #8479 )
...
- fix Icon variable Plus
- add search input
- fix dropdown height
## Before

## After

2024-11-14 11:40:06 +01:00
martmull
ba79a1d324
Fix style ( #8475 )
...
## Before

## After

2024-11-13 13:32:40 +00:00
martmull
269eaf4422
Update zapier trigger payload ( #8464 )
...
- fixes zapier tests
2024-11-12 17:58:36 +01:00
martmull
aadcb49dcb
Fix missing timeline activity events ( #8459 )
...
Fixes bug introduced in https://github.com/twentyhq/twenty/pull/8193
Taking into account linked event name `linked-{eventName}` as before
issue
## Before
`linked-created` and `linked-updated` activity targets were not created
in `timelineActivity` table
## After
`linked-created` and `linked-updated` activity targets are created in
`timelineActivity` table
2024-11-12 12:04:58 +01:00
martmull
354ee86cb9
8311 serverless function functions can be executed with any input ( #8380 )
...
- remove ts-morph
- update inputSchema shape

https://github.com/user-attachments/assets/913cd305-9e7c-48da-b20f-c974a8ac7cea
## TODO
- have inputTypes to match the inputSchema type (string, number,
boolean, etc...), only string for now
- handle required/optional inputs
- handle case when inputSchema changes, fix data reset when switching
function
2024-11-08 16:15:27 +00:00
martmull
f3a38679ae
Add try catch to command ( #8381 )
...
fixes 0-32 command
2024-11-07 11:27:33 +01:00
martmull
695991881f
6071 return only updated fields of records in zapier update trigger ( #8193 )
...
- move webhook triggers into `entity-events-to-db.listener.ts`
- refactor event management
- add a `@OnDatabaseEvent` decorator to manage database events
- add updatedFields in updated events
- update openApi webhooks docs
- update zapier integration
2024-11-04 17:44:36 +01:00
martmull
7f90ac2df8
Handle case where fieldValue is null ( #8210 )
...
Allow null values when updating relation to fix detach action
2024-10-30 16:53:02 +01:00
martmull
7b467822f1
Fix tinybird Ci ( #8211 )
...
Ignore ci job if no change in tinybird
2024-10-30 15:36:47 +00:00
martmull
8bb07c4a4f
8130 creating a new company in twenty doesnt activate on zapier ( #8166 )
...
- fix webhook.operation format change from august 2024 not spread in
twenty-zapier
- added a comment so it does not happen again
- add a fix for the new webhook.operations column that would produce
another issue
2024-10-29 13:56:01 +01:00
martmull
94f2e1067b
Revert "fix: dropdowns should have a max-height & padding from screen" ( #8165 )
...
Reverts twentyhq/twenty#8055
2024-10-29 08:54:16 +00:00
martmull
1aa961dedf
101 featch available variables from previous steps ( #8062 )
...
- add outputSchema in workflow step settings
- use outputSchemas to compute step available variables
https://github.com/user-attachments/assets/6b851d8e-625c-49ff-b29c-074cd86cbfee
2024-10-28 11:25:29 +00:00
martmull
e767f16dbe
7415 serverless functions update environment variables in a dedicated tab in settings functions not a env file ( #7939 )
...




2024-10-22 14:51:03 +02:00
martmull
9c8eeeea9d
Start twenty-server:worker when npx nx start ( #7820 )
...
- start the worker service when launching `npx nx start`
- update documentation
2024-10-18 16:13:12 +02:00
martmull
0c24001e23
Fix update event webhook triggering ( #7814 )
2024-10-18 10:20:21 +02:00
martmull
ddbfabfc99
Precise wording for api example ( #7783 )
...
Enhance composite type filter example in open-api
2024-10-17 14:41:38 +02:00
martmull
c6a676e1d5
Fix zapier tests ( #7568 )
...
See title
2024-10-10 16:34:34 +02:00
martmull
6998eb1e65
Update zapier integration version ( #7564 )
...
Update zapier version to deploy into production
2024-10-10 15:35:36 +02:00
martmull
29bd74feea
7203 support emails links phones in zapier inputs 2 ( #7562 )
...
## Done
- add `EMAILS`, `PHONES`, `LINKS`, `RICH_TEXT`, `POSITION`, and `ARRAY`
field support in Twenty zapier integration
- fix `twenty-zapier` package tests and requirements
## Emails
<img width="791" alt="image"
src="https://github.com/user-attachments/assets/7987a1a2-6076-4715-9221-d4a1898b7634 ">
## Links
<img width="797" alt="image"
src="https://github.com/user-attachments/assets/b94ce972-fae2-4953-b9e8-79c0478f5f60 ">
## Phones
<img width="789" alt="image"
src="https://github.com/user-attachments/assets/7234eaaf-40b8-4772-8880-c58ba47618c5 ">
## Array
<img width="834" alt="image"
src="https://github.com/user-attachments/assets/99cb6795-e428-40ea-9c3a-d52561c2c6e1 ">
2024-10-10 15:32:06 +02:00
martmull
9b9e03fbf6
Fix Storybook Build running out of memory ( #7520 )
...
Increases the node process memory to avoid `FATAL ERROR: Reached heap
limit Allocation failed - JavaScript heap out of memory` errors
2024-10-09 11:08:53 +02:00
martmull
f138a1cf6e
7417 workflows i can send emails using the email account ( #7431 )
...
- update `send-email.workflow-action.ts` so it send email via the google
sdk
- remove useless `workflow-action.email.ts`
- add `send` authorization to google api scopes
- update the front workflow email step form to provide a
`connectedAccountId` from the available connected accounts
- update the permissions of connected accounts: ask users to reconnect
when selecting missing send permission

2024-10-08 23:29:09 +02:00
martmull
62fe1d0e88
6653 serverless functions store and use environment variables in serverless function scripts ( #7390 )
...


2024-10-03 13:56:17 +02:00
martmull
3190f4a87b
6658 workflows add a first twenty piece email sender ( #6965 )
2024-09-12 11:00:25 +02:00
martmull
85f2e58f0c
Fix lint ( #6922 )
2024-09-06 14:39:33 +02:00
martmull
c55dfbde6e
Fix unauthorized error handling ( #6835 )
...
from @BOHEUS comments in #6640
- fix bad 500 error when authentication invalid
- remove "id", "createdAt", "updatedAt", etc from creation and update
paths schema
- improve error message
- remove "id" from test body
- improve secondaryLink schema description
- improve depth parameter description
- remove required from response body
- improve examples
- improve error message formatting
- fix filter by position
- answered to negative float position @BOHEUS comment
Also:
- fix secondary field openapi field description
- remove schema display in playground
Screenshots


2024-09-04 17:25:59 +02:00
martmull
7e03419c16
Serverless function improvements ( #6769 )
...
- add layer for lambda execution
- add layer for local execution
- add package resolve for the monaco editor
- add route to get installed package for serverless functions
- add layer versioning
2024-09-02 15:25:20 +02:00
martmull
873a4c1bd1
Fix serverless save when name empty ( #6720 )
...
- fix serverless function error on save when name empty
- remove useless unique constraint on serverless function names
2024-08-23 17:34:31 +02:00
martmull
f9af25b57e
Fix sentry issue ( #6719 )
...
https://twenty-v7.sentry.io/issues/5677123076/?environment=prod&project=4507072499810304&query=is%3Aunresolved+issue.priority%3A%5Bhigh%2C+medium%5D&referrer=issue-stream&statsPeriod=7d&stream_index=12
Removes billing section when is_free_access_enabled
2024-08-23 16:01:40 +02:00
martmull
6f9aa1e870
6654 serverless functions add a deploy button disable deploy when autosave ( #6715 )
...
- improvements on serverless function behavior (autosave performances,
deploy on execution only)
- add versioning to serverless functions
- add a publish endpoint to create a new version of a serverless
function
- add deploy and reset to lastVersion button in the settings section:
<img width="736" alt="image"
src="https://github.com/user-attachments/assets/2001f8d2-07a4-4f79-84dd-ec74b6f301d3 ">
2024-08-23 12:06:03 +02:00
martmull
10817c5388
Fix onboarding status refacto ( #6533 )
...
see comments in
https://github.com/twentyhq/twenty/pull/6531#pullrequestreview-2217807413
- rename method
- add check before setting create profile pending user var
2024-08-07 17:09:11 +02:00
martmull and Charles Bochet
7cd5427589
Fix onboarding status performance issues ( #6512 )
...
Updated the onboardingStatus computation to improve performances
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-08-04 00:33:33 +02:00
martmull
ae423f5e75
Improve typing definition ( #6481 )
...
- added typing for workflow-runner results
- fix workflow typing
- add a `workflow-action-runner` submodule that contains factories for
action runners
- added code-action-runner
- simplified code
2024-08-01 11:38:31 +02:00
martmull
424225943c
Add missing break ( #6474 )
2024-07-31 14:01:18 +02:00
martmull
6b4c79ff0d
Add workflow runner ( #6458 )
...
- add workflow runner module
- add an endpoint to trigger a workflow via api
- improve error handling for serverless functions
## Testing
- create 2 serverless functions
- create a workflow
- create this workflow Version
```
{
"type": "MANUAL",
"input": {"b": "bb"},
"nextAction": {
"name": "step_1",
"displayName": "Code",
"type": "CODE",
"valid": true,
"settings": {
"serverlessFunctionId": "Serverless function 1 Id",
"errorHandlingOptions": {
"retryOnFailure": {
"value": false
},
"continueOnFailure": {
"value": false
}
}
},
"nextAction": {
"name": "step_1",
"displayName": "Code",
"type": "CODE",
"valid": true,
"settings": {
"serverlessFunctionId": "Serverless function 1 Id",
"errorHandlingOptions": {
"retryOnFailure": {
"value": false
},
"continueOnFailure": {
"value": false
}
}
},
"nextAction": {
"name": "step_1",
"displayName": "Code",
"type": "CODE",
"valid": true,
"settings": {
"serverlessFunctionId": "Serverless function 2 Id",
"errorHandlingOptions": {
"retryOnFailure": {
"value": false
},
"continueOnFailure": {
"value": false
}
}
}
}
}
}
}
`
``
- call
```
mutation Trigger {
triggerWorkflow(workflowVersionId: "WORKFLOW_VERSION_ID") {
result
}
}
```
- try when errors are injected in serverless function
2024-07-31 12:48:33 +02:00
martmull
fb0fd99a38
Fix error handling in serverless service ( #6442 )
...
- narrowing error handling in aws sdk usage
- updating dto to authorize null descriptions
2024-07-29 18:51:57 +02:00