-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serverless function UI #6388
Serverless function UI #6388
Conversation
fab2b45
to
9e0ce7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This pull request introduces a comprehensive serverless function UI, integrating new routes, components, and GraphQL operations to manage serverless functions within the application.
- New Routes: Added routes in
packages/twenty-front/src/App.tsx
for managing serverless functions. - GraphQL Operations: Updated
packages/twenty-front/src/generated-metadata/gql.ts
andgraphql.ts
to include new operations for serverless functions. - UI Components: Introduced several new components in
packages/twenty-front/src/modules/settings/serverless-functions/components/
for creating, editing, and listing serverless functions. - Custom Hooks: Added custom hooks in
packages/twenty-front/src/modules/settings/serverless-functions/hooks/
for GraphQL mutations and queries related to serverless functions. - Utility Function Refactor: Replaced hardcoded URLs with
getFileAbsoluteURI
in multiple files for better maintainability.
30 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings
return ( | ||
<StyledApisFieldTableRow to={to}> | ||
<StyledNameTableCell>{serverlessFunction.name}</StyledNameTableCell> | ||
<StyledNameTableCell>{serverlessFunction.runtime}</StyledNameTableCell> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style: Potential issue: Reusing StyledNameTableCell
for runtime might cause confusion. Consider renaming or creating a separate styled component.
...nty-front/src/modules/settings/serverless-functions/forms/useServerlessFunctionFormValues.ts
Outdated
Show resolved
Hide resolved
2230397
to
55ccf0f
Compare
818af3e
to
f82e32d
Compare
f82e32d
to
b5ad157
Compare
10e40db
to
57e71c2
Compare
00f6c64
to
a7342e7
Compare
561fdf0
to
29d8348
Compare
29d8348
to
007d928
Compare
https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=36235-120877
Did not do the file manager part. A Function is defined using one unique file at the moment
Feature protected by featureFlag
IS_FUNCTION_SETTINGS_ENABLED
Demo
serverless.mov