-
Notifications
You must be signed in to change notification settings - Fork 198
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
Demo environment #2384
Demo environment #2384
Conversation
|
WalkthroughThe recent changes encompass a variety of updates across components and services, focusing on UI adjustments, dependency management, logging enhancements, type additions, and logic refinements. Noteworthy changes include padding adjustments in a React component, introduction of new types and dependencies, logging functionality improvements, and enhancements in conditional checks within mutations. These modifications aim to enhance both the user interface and backend functionality of the project. Changes
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 (
|
PR Description updated to latest commit (6381307) |
PR Review 🔍
Code feedback:
|
apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/NoAlerts/NoAlerts.tsx
Show resolved
Hide resolved
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: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!pnpm-lock.yaml
Files selected for processing (5)
- apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/NoAlerts/NoAlerts.tsx (1 hunks)
- services/workflows-service/package.json (2 hunks)
- services/workflows-service/src/common/utils/winston-logger/winston-logger.ts (2 hunks)
- services/workflows-service/src/types.ts (1 hunks)
- services/workflows-service/src/workflow/hook-callback-handler.service.ts (1 hunks)
Files skipped from review due to trivial changes (3)
- apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/NoAlerts/NoAlerts.tsx
- services/workflows-service/src/types.ts
- services/workflows-service/src/workflow/hook-callback-handler.service.ts
Additional comments not posted (2)
services/workflows-service/package.json (2)
119-119
: Added@types/jmespath
dependency for TypeScript type definitions.
144-144
: Addedjmespath
dependency for querying JSON data.
services/workflows-service/src/common/utils/winston-logger/winston-logger.ts
Outdated
Show resolved
Hide resolved
PR Code Suggestions ✨
|
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)
- services/workflows-service/prisma/data-migrations (1 hunks)
- services/workflows-service/src/common/utils/winston-logger/winston-logger.ts (1 hunks)
Files skipped from review due to trivial changes (1)
- services/workflows-service/prisma/data-migrations
Files skipped from review as they are similar to previous changes (1)
- services/workflows-service/src/common/utils/winston-logger/winston-logger.ts
...ns/workflows/hooks/mutations/useUpdateDocumentByIdMutation/useUpdateDocumentByIdMutation.tsx
Show resolved
Hide resolved
.../src/lib/blocks/variants/DefaultBlocks/hooks/useCaseBlocksLogic/utils/get-tabs-block-map.tsx
Show resolved
Hide resolved
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: 1
Out of diff range and nitpick comments (2)
apps/backoffice-v2/src/domains/workflows/hooks/mutations/useUpdateDocumentByIdMutation/useUpdateDocumentByIdMutation.tsx (1)
Line range hint
47-58
: Consider adding type safety foroldWorkflow.context.documents
.To improve type safety and maintainability, consider adding type annotations for
oldWorkflow.context.documents
.documents: oldWorkflow.context.documents.map((doc: { id: string } & Record<string, unknown>) => { if (doc.id === documentId) { return { ...doc, ...document }; } return doc; }),apps/backoffice-v2/src/lib/blocks/variants/DefaultBlocks/hooks/useCaseBlocksLogic/utils/get-tabs-block-map.tsx (1)
Line range hint
34-34
: Fix the typo in the import path.There is a typo in the import path for
createAssociatedCompanyDocumentBlocks
.- import { createAssociatedCompanyDocumentBlocks } from '@/lib/blocks/variants/DefaultBlocks/hooks/useCaseBlocksLogic/utils/create-assosiacted-company-document-blocks'; + import { createAssociatedCompanyDocumentBlocks } from '@/lib/blocks/variants/DefaultBlocks/hooks/useCaseBlocksLogic/utils/create-associated-company-document-blocks';
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- apps/backoffice-v2/src/domains/workflows/hooks/mutations/useUpdateDocumentByIdMutation/useUpdateDocumentByIdMutation.tsx (2 hunks)
- apps/backoffice-v2/src/lib/blocks/variants/DefaultBlocks/hooks/useCaseBlocksLogic/utils/get-tabs-block-map.tsx (1 hunks)
- services/workflows-service/prisma/data-migrations (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- services/workflows-service/prisma/data-migrations
Additional comments not posted (6)
apps/backoffice-v2/src/domains/workflows/hooks/mutations/useUpdateDocumentByIdMutation/useUpdateDocumentByIdMutation.tsx (2)
Line range hint
1-1
: Ensure proper import of dependencies.Verify that all imported modules are correctly installed and used in the project.
56-56
: Ensure the updated document retains all necessary properties.Verify that the updated document retains all necessary properties from the original document to avoid data loss.
apps/backoffice-v2/src/lib/blocks/variants/DefaultBlocks/hooks/useCaseBlocksLogic/utils/get-tabs-block-map.tsx (4)
Line range hint
1-1
: Ensure proper import of dependencies.Verify that all imported modules are correctly installed and used in the project.
Line range hint
64-64
: EnsureprocessTrackerBlock
is correctly handled.Verify that
processTrackerBlock
is correctly handled whenworkflow?.workflowDefinition?.config?.isCaseOverviewEnabled
isfalse
.
Line range hint
84-84
: EnsurecreateAssociatedCompanyDocumentBlocks
handlesworkflow
andblocksCreationParams
correctly.Verify that
createAssociatedCompanyDocumentBlocks
correctly handles theworkflow
andblocksCreationParams
parameters.
Line range hint
94-94
: EnsurecreateKycBlocks
handlesworkflow
correctly.Verify that
createKycBlocks
correctly handles theworkflow
parameter.
...ns/workflows/hooks/mutations/useUpdateDocumentByIdMutation/useUpdateDocumentByIdMutation.tsx
Show resolved
Hide resolved
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 (1)
pnpm-lock.yaml
is excluded by!pnpm-lock.yaml
Files selected for processing (1)
- services/workflows-service/prisma/data-migrations (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- services/workflows-service/prisma/data-migrations
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 (1)
- services/workflows-service/src/common/utils/winston-logger/winston-logger.ts (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- services/workflows-service/src/common/utils/winston-logger/winston-logger.ts
User description
Description
Elaborate on the subject, motivation, and context.
Related issues
Breaking changes
How these changes were tested
Examples and references
Checklist
PR Type
enhancement, bug_fix
Description
pnpm-lock.yaml
andpackage.json
to include new packages and adjust TypeScript versions.Changes walkthrough 📝
NoAlerts.tsx
Adjust bottom padding in NoAlerts component
apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/NoAlerts/NoAlerts.tsx
winston-logger.ts
Enhance error logging with payload support
services/workflows-service/src/common/utils/winston-logger/winston-logger.ts
types.ts
Define new Prisma transaction types
services/workflows-service/src/types.ts
pnpm-lock.yaml
Update dependencies and TypeScript version in lock file
pnpm-lock.yaml
package.json
Add new package dependencies
services/workflows-service/package.json
hook-callback-handler.service.ts
Fix typo in TypeScript comment
services/workflows-service/src/workflow/hook-callback-handler.service.ts
Summary by CodeRabbit
Bug Fixes
New Features
@types/jmespath
andjmespath
for enhanced functionality.Improvements
Code Cleanup