Skip to content

Add live projected HF preview beside leverage slider#136

Open
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-3-hf-preview
Open

Add live projected HF preview beside leverage slider#136
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-3-hf-preview

Conversation

@Sikkra
Copy link
Copy Markdown

@Sikkra Sikkra commented May 19, 2026

Summary

  • add a dedicated projected-HF badge directly under the leverage slider
  • update the badge on every leverage preview refresh using the same min-HF thresholds that gate transactions
  • show safe / warning / danger styling and mobile wrapping for the live HF status

Verification

  • npm run build
  • git diff --check
  • Browser check on http://127.0.0.1:5201/: demo mode showed Projected HF 1.600 at 2.0x, then after changing leverage to 4.8x updated live to 1.011 with the warning state; current-page console logs were clean

Closes #3

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.

A1: Real-time HF preview while dragging leverage slider

1 participant