Skip to content

fix: Resolve frontend responsive design and data accuracy issues - #297

Merged
Junirezz merged 1 commit into
Junirezz:mainfrom
trinnode:issues-resolved-trinnode-batch2
Apr 24, 2026
Merged

fix: Resolve frontend responsive design and data accuracy issues#297
Junirezz merged 1 commit into
Junirezz:mainfrom
trinnode:issues-resolved-trinnode-batch2

Conversation

@trinnode

Copy link
Copy Markdown
Contributor

Description

This PR resolves three frontend issues related to responsive design and data accuracy.

Changes

Issue #291: WalletConnect tooltip overflow on small viewports

  • Changed tooltip text wrapping from whiteSpace: "nowrap" to whiteSpace: "normal"
  • Added maxWidth constraint and responsive CSS for mobile viewports
  • Tooltip now respects viewport boundaries and wraps long error messages gracefully
  • Added .wallet-tooltip class with responsive styling

Issue #289: Portfolio summary cards show hardcoded trend strings

  • Replaced hardcoded trend strings with dynamically computed values:
    • totalNetValueTrend: Computed from actual portfolio gain percentage
    • cumulativeYieldTrend: Derived from realized gains in USDC
    • weightedApyTrend: Based on number of active positions
  • All trend values now reflect real portfolio data

Issue #293: Settings locale grid collapses on mobile

  • Moved .settings-locale-grid CSS from 768px media query to 480px media query
  • Ensures single-column layout on viewports at or below 480px
  • Improves touch interaction on mobile devices

Testing

  • Verified at 375px, 480px, 768px, and 1280px viewports
  • Tooltip wrapping tested with long error messages
  • Portfolio trends verified with sample data
  • Settings locale grid tested on mobile emulation

Acceptance Criteria

✅ Tooltip does not overflow the horizontal viewport boundary
✅ Long error messages wrap or are truncated gracefully
✅ Tested at 375px, 768px, and 1280px viewports
✅ Trend values are dynamically derived from real data
✅ No hardcoded percentage strings remain in production code
✅ Settings locale grid renders as single column at 480px
✅ Two-column layout retained on wider viewports

Closes #291
Closes #289
Closes #293

- Fix Junirezz#291: WalletConnect tooltip overflow on small viewports
  - Changed whiteSpace from 'nowrap' to 'normal' to allow text wrapping
  - Added maxWidth constraint and responsive CSS for mobile viewports
  - Tooltip now respects viewport boundaries and wraps long error messages

- Fix Junirezz#289: Portfolio summary cards show hardcoded trend strings
  - Compute totalNetValueTrend based on actual portfolio gain percentage
  - Compute cumulativeYieldTrend from realized gains
  - Compute weightedApyTrend from number of active positions
  - Replace all hardcoded trend strings with dynamic values

- Fix Junirezz#293: Settings locale grid collapses on mobile
  - Move settings-locale-grid CSS from 768px to 480px media query
  - Ensures single-column layout on viewports at or below 480px
  - Improves touch interaction on mobile devices

Closes Junirezz#291
Closes Junirezz#289
Closes Junirezz#293
@drips-wave

drips-wave Bot commented Apr 24, 2026

Copy link
Copy Markdown

@trinnode Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Junirezz
Junirezz merged commit 68bec5a into Junirezz:main Apr 24, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants