Fix notification delta truncation and normalize Nightscout URL#41
Fix notification delta truncation and normalize Nightscout URL#41
Conversation
Code reviewFound 1 issue:
🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
- Change collapsed notification text overlay to match_parent width so delta, IOB, and crossing text use the full notification width instead of wrapping to the BG value width. - Normalize Nightscout URL on save: add https:// if no scheme, strip trailing slash, trim whitespace — matching SugarField behavior. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CLAUDE.md previously stated all endpoints use .json suffix, but the actual Nightscout convention (and our implementation) only uses .json on GET endpoints. POST endpoints use the bare path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6a30d18 to
93d25cf
Compare
Summary
-0,2 · IOB 1.2U) being truncated — parent layout waswrap_contentinstead ofmatch_parenthttps://if no scheme, strips trailing slash, trims whitespace — matching SugarField'snormalizeUrlbehaviorTest plan
springa.vercel.app) → confirm it saves ashttps://springa.vercel.apphttp://→ confirm scheme is preserved🤖 Generated with Claude Code