-
Notifications
You must be signed in to change notification settings - Fork 172
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
Added new columns in alerts table #2334
Conversation
|
WalkthroughThe recent updates focus on refining various aspects of the workflows-service codebase. Changes include adjustments in imports, validator usage, error handling logic, and variable declarations across different files. These modifications aim to streamline functionality, improve code organization, and enhance error handling within the system. Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
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 (09c87cd) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/columns.tsx
Show resolved
Hide resolved
apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/columns.tsx
Show resolved
Hide resolved
Co-authored-by: Omri Levy <61207713+Omri-Levy@users.noreply.github.com>
User description
Description
Subject Type
andSubject ID
Type
enhancement
Description
subject
schema in alerts to include additional fields likeid
,correlationId
, andtype
.Subject Type
andSubject ID
to the Alerts Table with appropriate rendering logic.Changes walkthrough
TextWithNAFallback.tsx
Add Display Name to TextWithNAFallback Component
apps/backoffice-v2/src/common/components/atoms/TextWithNAFallback/TextWithNAFallback.tsx
TextWithNAFallback
component.fetchers.ts
Extend Subject Schema in Alerts List
apps/backoffice-v2/src/domains/alerts/fetchers.ts
subject
schema to includeid
,correlationId
, andtype
with specific enum values.
AlertsTable.tsx
UI Adjustments in Alerts Table
apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/AlertsTable.tsx
UI consistency.
columns.tsx
Add New Columns to Alerts Table
apps/backoffice-v2/src/pages/TransactionMonitoringAlerts/components/AlertsTable/columns.tsx
Subject Type
andSubject ID
with respectiverendering logic.
useEllipsesWithTitle
hook forSubject ID
to manage textoverflow.
alert.controller.external.ts
Enhance Subject Data Structure in Alert Controller
services/workflows-service/src/alert/alert.controller.external.ts
type
andcorrelationId
in the subject data structure forbusiness and counterparty.
types.ts
Update Type Definitions for Alert Response
services/workflows-service/src/alert/types.ts
correlationId
for business and enduser.
data-migrations
Update Data Migration Commit Reference
services/workflows-service/prisma/data-migrations
Summary by CodeRabbit
fromClassValidator
method in theValidationError
class.IsDate
import withIsDateString
in thetransaction-create.dto.ts
file to address date validation issues.ReviewStatus
andTransactionRecordStatus
in thetransaction.controller.external.intg.test.ts
file.InlineRule
type in thetypes.ts
file within theworkflows-service
.