Skip to content

Status column for condition display ILLDEV-342#9

Merged
skomorokh merged 2 commits into
mainfrom
cond-status-illdev-342
May 9, 2026
Merged

Status column for condition display ILLDEV-342#9
skomorokh merged 2 commits into
mainfrom
cond-status-illdev-342

Conversation

@skomorokh

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 8, 2026 23:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for displaying (and counting) condition “receipt” outcomes by introducing a Status column for loan conditions and aligning chat notification “read/unread” logic to treat ACCEPTED/REJECTED as read.

Changes:

  • Added a new translation string for the “Rejected” condition status.
  • Added a status column to the loan-conditions MultiColumnList, derived from the condition notification receipt.
  • Centralized “read” detection via isNotificationRead and updated unseen counting + chat message normalization accordingly.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
translations/ui-rs/en.json Adds the “Rejected” label for condition status display.
src/components/Flow/FlowViewComponents/LoanConditions.js Introduces a Status column and receipt→status message-id mapping for condition notifications.
src/components/chat/useNotifications.js Adds isNotificationRead and updates unseen-count logic to treat ACCEPTED/REJECTED as read.
src/components/chat/ChatPane.js Uses isNotificationRead when normalizing notifications into chat message props.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread translations/ui-rs/en.json
@skomorokh skomorokh merged commit ff4a6c9 into main May 9, 2026
1 check passed
@skomorokh skomorokh deleted the cond-status-illdev-342 branch May 9, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants