feat: agreement, legal entity#14
Conversation
|
Caution Review failedAn error occurred during the review process. Please try again later. WalkthroughThe changes introduce new legal entity and agreement data structures for partners, update the database schema and ORM relations accordingly, and extend partner-related frontend components and stores to display and handle this information. The UI is enhanced to show legal and agreement details, including progress bars for agreement durations, with supporting type and configuration updates. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI (Partner Page)
participant Store
participant API/DB
User->>UI (Partner Page): Visit partner page
UI (Partner Page)->>Store: Fetch partner data
Store->>API/DB: Request partner, legal entity, and agreement info
API/DB-->>Store: Return partner, legal entity, agreement data
Store-->>UI (Partner Page): Provide enriched partner data
UI (Partner Page)->>UI (Partner Page): Compute agreement progress
UI (Partner Page)-->>User: Render partner info, legal entity, agreement details, and progress bar
Estimated code review effort4 (~80 minutes) Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|



Summary by CodeRabbit
New Features
Improvements
Chores