-
Notifications
You must be signed in to change notification settings - Fork 195
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
Dynamic integrations catalog #444
Conversation
mit-27
commented
May 20, 2024
- Closes feat: Dynamic Integrations Catalog #432
|
@mit-27 is attempting to deploy a commit to the Panora Team on Vercel. A member of the Team first needs to authorize it. |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is protestware?This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function. Consider that consuming this package my come along with functionality unrelated to its primary purpose. What is an install script?Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
WalkthroughThe changes introduce dynamic integration capabilities to the catalog system. Users can now select and manage integration options through a new React component, Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (2)
apps/embedded-catalog/react/yarn.lock
is excluded by!**/*.lock
,!**/*.lock
packages/api/swagger/swagger-spec.json
is excluded by!**/*.json
Files selected for processing (10)
- apps/embedded-catalog/react/src/components/PanoraDynamicCatalog.tsx (1 hunks)
- apps/embedded-catalog/react/src/components/PanoraIntegrationCard.tsx (1 hunks)
- apps/embedded-catalog/react/src/index.tsx (3 hunks)
- packages/api/prisma/schema.prisma (2 hunks)
- packages/api/scripts/init.sql (2 hunks)
- packages/api/src/@core/catalog-options/catalog-options.controller.ts (1 hunks)
- packages/api/src/@core/catalog-options/catalog-options.module.ts (1 hunks)
- packages/api/src/@core/catalog-options/catalog-options.service.ts (1 hunks)
- packages/api/src/@core/catalog-options/dto/catalog-options.dto.ts (1 hunks)
- packages/api/src/@core/core.module.ts (3 hunks)
Files not reviewed due to errors (3)
- packages/api/src/@core/catalog-options/catalog-options.service.ts (no review received)
- apps/embedded-catalog/react/src/components/PanoraIntegrationCard.tsx (no review received)
- apps/embedded-catalog/react/src/components/PanoraDynamicCatalog.tsx (no review received)
Additional Context Used
GitHub Check Runs (1)
Build and Test (18.x) success (15)
packages/api/src/@core/catalog-options/catalog-options.controller.ts: [warning] 8-8:
'Request' is defined but never used
Additional comments not posted (7)
packages/api/src/@core/catalog-options/dto/catalog-options.dto.ts (1)
1-8
: The DTO structure is well-defined and aligns with the requirements for dynamic catalog options.packages/api/src/@core/catalog-options/catalog-options.module.ts (1)
1-11
: The module setup is correct and includes all necessary providers and controllers for the catalog options functionality.apps/embedded-catalog/react/src/index.tsx (1)
Line range hint
2-45
: Ensure that all necessary properties in the interfaces are uncommented and used if they are required for the components to function correctly.#!/bin/bash # Description: Verify that the commented properties in interfaces are not used elsewhere in the project. # Test: Search for usage of commented properties. Expect: No occurrences. rg --type typescript $'name|vertical'packages/api/src/@core/core.module.ts (1)
Line range hint
1-53
: The integration ofCatalogOptionsModule
into the core module is correctly implemented, enhancing the backend's functionality as intended.packages/api/src/@core/catalog-options/catalog-options.controller.ts (1)
1-69
: Remove the unused importRequest
to clean up the code.- import { Request } from '@nestjs/common';
Also, ensure that the public API methods (
getLinkedUser
) do not require authentication, as intended.#!/bin/bash # Description: Verify that the `getLinkedUser` method does not require authentication. # Test: Search for usage of `UseGuards` in relation to `getLinkedUser`. Expect: No occurrences. rg --type typescript $'getLinkedUser' -A 10 | rg 'UseGuards'packages/api/scripts/init.sql (1)
95-102
: The SQL for creating thecatalog_options
table and its constraints is correctly implemented.packages/api/prisma/schema.prisma (1)
644-649
: Thecatalog_options
model is well-defined and aligns with the PR objectives to enable dynamic integrations catalog.
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- apps/embedded-catalog/react/src/components/PanoraDynamicCatalog.tsx (1 hunks)
- apps/embedded-catalog/react/src/global.css (1 hunks)
Files skipped from review due to trivial changes (1)
- apps/embedded-catalog/react/src/global.css
Files skipped from review as they are similar to previous changes (1)
- apps/embedded-catalog/react/src/components/PanoraDynamicCatalog.tsx