-
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
Webhook wip #6371
Webhook wip #6371
Conversation
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 new section for filtering webhook events and reorganizes import statements in a specific file.
- Reorganized Imports:
packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldTypeSelect.tsx
- Reordered import statements, no functional changes. - Webhook Event Filtering:
packages/twenty-front/src/pages/settings/developers/webhooks/SettingsDevelopersWebhookDetail.tsx
- Added aSelect
component for filtering webhook events. - New Hook Integration:
packages/twenty-front/src/pages/settings/developers/webhooks/SettingsDevelopersWebhookDetail.tsx
- IntroduceduseUpdateOneRecord
hook to update webhook operations based on selected filters. - Potential Pitfalls: Ensure
updateOneRecord
function works correctly andobjectMetadataItems
are properly fetched and mapped. Thorough testing is recommended.
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
@@ -4,7 +4,6 @@ import { Link } from 'react-router-dom'; | |||
|
|||
const StyledUndecoratedLink = styled(Link)` | |||
text-decoration: none; | |||
width: 100%; |
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.
regression introduced in a recent PR
@@ -89,7 +89,7 @@ export class WorkspaceMigrationRunnerService { | |||
|
|||
await queryRunner.commitTransaction(); | |||
} catch (error) { | |||
this.logger.error('Error executing migration', error); | |||
console.error('Error executing migration', error); |
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.
logger swallow the errors too much which is a problem to troubleshoot in prod
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.
Interesting
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.
What happens if an object is deleted? Should we delete associated webhooks? Should we add a "isDeactivated" bool on the webhook and invalidate it until the user update it? Otherwise LGTM! @charlesBochet
FYI @FelixMalfait |
This PR introduces the following changes: