fix: modal UX improvements + word reveal fix#174
Conversation
Modal fixes: - X button: moved to modal frame with proper SVG icon, consistent position across all modals regardless of padding - Animations: Vue <Transition> with enter (200ms) and leave (150ms) for both modal and backdrop (was CSS-only, no exit animation) - Centering: true viewport centering with inset-0 + flexbox (was offset with top-10) - Countdown: min-height + tabular-nums prevents resize jitter Word detail page fix: - Today's word (/lang/word/N) now checks localStorage for game_over even when SSR provides the word, so users who beat the game see the full word page instead of "Play to reveal" - Falls back to SSR definition when available
|
Warning Rate limit exceeded
⌛ 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 (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 |
Summary
Modal UX
modal-animate(no exit) with Vue<Transition>— 200ms ease-out enter, 150ms ease-in leave for both modal and backdropinset-0+ flexbox (was offset withtop-10)min-h-[60px]+tabular-numsto timer so digits don't resize the modalWord detail page
/{lang}/word/N) now correctly reveals after beating the game — checkslocalStorageforgame_overflag even when SSR provides the word dataTest plan
/en/word/1730— should show word + definition/en/word/1730— should show "Play to reveal"