Skip to content

Add investment liquidation UI - #152

Merged
sahilsk11 merged 1 commit into
masterfrom
codex/end-investment-ui
Jul 14, 2026
Merged

Add investment liquidation UI#152
sahilsk11 merged 1 commit into
masterfrom
codex/end-investment-ui

Conversation

@sahilsk11

Copy link
Copy Markdown
Owner

Summary

  • add liquidationRequestedAt to the active investments API response and v2 API type
  • add an expanded-card End Investment section with confirmation modal and disabled Liquidation requested state
  • add seeded active/liquidating investment fixtures to cmd/test-api with test auth support for browser verification

Verification

  • npm run typecheck
  • npm run lint
  • npm run build
  • go test ./api ./cmd/test-api ./internal/service ./internal/repository -count=1
  • go test ./integration-tests -run TestInvestmentLiquidationHTTPFlow -count=1
  • browser-verified /investments against cmd/test-api -seed active_investment: expand card, open modal, confirm request, disabled Liquidation requested state on desktop/mobile

Note: broad go test ./... is still not a good verification target after local browser setup because it walks generated local postgres-data/node_modules, and the existing rebalance integration test has a date expectation mismatch against the current clock.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4bb9cd70-a7dc-4b48-ac37-850417697697

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sahilsk11
sahilsk11 merged commit 20d1add into master Jul 14, 2026
3 checks passed
@sahilsk11
sahilsk11 deleted the codex/end-investment-ui branch July 14, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant