Skip to content

fix(ui): Configure capital edits and Unsaved changes layout - #397

Open
Allan-Feng wants to merge 1 commit into
Open-Finance-Lab:mainfrom
Allan-Feng:fix/configure-capital-and-dirty-badge
Open

fix(ui): Configure capital edits and Unsaved changes layout#397
Allan-Feng wants to merge 1 commit into
Open-Finance-Lab:mainfrom
Allan-Feng:fix/configure-capital-and-dirty-badge

Conversation

@Allan-Feng

Copy link
Copy Markdown
Collaborator

Summary

  • Allocated Capital now accepts any amount in $0–$3,000 (including 1, 99, 150). The last digit can be deleted and rewritten; only values past two decimal places are rounded.
  • Split the Configure header so Model / Market / Description / Robinhood sit below the toolbar. The Unsaved changes badge no longer narrows those fields.

Test plan

  • Open Configure, focus Backtesting, delete the last digit, type 2000, Save
  • Save 1, 99, 101, 150, 199 on both Paper Trading and Backtesting; values persist after reload
  • Type 150.239, blur or Save; field becomes 150.24
  • Edit any field so Unsaved changes appears; Model / Market / Robinhood do not shift left
  • Save; badge hides and the same fields stay put

Made with Cursor

The $100 step snap blocked clearing the last digit and rewriting values like 2000, and the Unsaved changes badge sat in the same flex row as Model/Market so those fields jumped left when it appeared.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

@Allan-Feng is attempting to deploy a commit to the allan-feng's projects Team on Vercel.

A member of the Team first needs to authorize it.

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