polish(settings): trust-surface visual pass — Connections + Recovery Phrase#766
Conversation
…y Phrase ConnectionsPanel: - Group rows in single rounded-2xl container; drop redundant first:/last: pseudo-classes that doubled with isFirst/isLast props. - Softer badge palette (stone-100 / primary-50), tighter sizing, proper focus-visible ring, group-hover icon opacity. - Re-palette "Privacy & Security" notice from blue-50 to stone-50 to match PrivacyPanel info box (cross-surface trust coherence). RecoveryPhrasePanel: - Pull "can never be recovered if lost" disclaimer out of body paragraph into an amber-50 callout with warning glyph — most trust-critical line on the screen now visually owns its weight. - Body intros: text-stone-400 -> text-stone-600 for readability on white. - Error inline -> coral-50 banner with icon and role="alert". - Confirm checkbox label: opacity-80 -> text-stone-700 (palette token). - Success subtitle / "Words:" label: stone-400 -> stone-500. No copy changes (warning sentence preserved verbatim, only relocated). No backend contracts touched. Avoids files in PRs tinyhumansai#759 and tinyhumansai#760.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 42 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
…ry Phrase ConnectionsPanel.test.tsx (4): - All four options render as buttons - Coming-soon badge present on every row (current product state) - Coming-soon rows are disabled - Trust notice uses stone palette, not the old loud blue RecoveryPhrasePanel.test.tsx (3): - Amber warning callout renders in generate mode - Import-mode intro renders after switching modes - Confirm-checkbox label uses text-stone-700 palette token (no opacity-80 hack)
|
Test commit ( Verified locally before push:
CI will re-run all gates on a clean checkout. |
|
need to pass the typechecks @jwalin-shah |
…Phrase (tinyhumansai#766) Co-authored-by: Jwalin Shah <jshah1331@gmail.com>
Summary
Bounded visual polish on two trust-adjacent settings panels. No copy changes, no backend contracts touched, no collision with PR #759 (Button primitive + privacy surface) or PR #760 (capability-backed PrivacyPanel).
Changes
ConnectionsPanel.tsxfirst:/last:pseudo-classes that doubled withisFirst/isLastprops.bg-stone-100,bg-primary-50), tighter sizing, properfocus-visiblering, group-hover icon opacity transition.blue-50/blue-200to calmstone-50/stone-200to matchPrivacyPanel's info box. Cross-surface trust coherence.RecoveryPhrasePanel.tsxtext-stone-400→text-stone-600for proper readability on white.role="alert". Visible without alarming, accessible.opacity-80→text-stone-700(palette token, not opacity).stone-400→stone-500.Non-goals (deliberate)
Buttonprimitive migration (lands in feat(onboarding,ui): trust-first onboarding + Button primitive + honest privacy surface #759).Test plan
yarn test:unit— render tests follow in next commit.