feat: export Webhooks page as a component and consume it in apps/admin#1383
feat: export Webhooks page as a component and consume it in apps/admin#1383paanSinghCoder wants to merge 10 commits intofeat/export-plans-pagefrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull Request Test Coverage Report for Build 22176671941Details
💛 - Coveralls |
web/lib/tsup.config.ts
Outdated
| format: ['cjs', 'esm'], | ||
| external: ['react', 'react-router-dom'], | ||
| external: [ | ||
| 'react', |
There was a problem hiding this comment.
We can import devDependencies from package.json here
…cy across components
…adding JPG loader
…s a peer dependency, and set TypeScript target to ES2020
Move webhooks page to lib and consume in apps/admin
Summary
apps/admin/src/containers/webhookstolib/admin/views/webhooksusinggit mv. Supporting pieces (SheetFooter, CustomField, multiselect, webhook-events) were also moved into lib viagit mv.selectedWebhookId,createOpen,onCloseDetail,onSelectWebhook,onOpenCreate,enableDelete. No<Outlet />; create/update live inside the view./webhooks,/webhooks/create,/webhooks/:webhookId, passing URL (params +useMatch) into WebhooksView.react-dom,zod,sonner). Relative imports in lib fixed for the admin build. CustomField multiselect import path fixed.WebhooksView, and is consumed from the app in the same way as roles and products.