fix: show one automatic modal per startup#150
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📜 Recent review details🧰 Additional context used📓 Path-based instructions (6)test/**/*.{test,spec}.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{vue,ts,tsx,js,jsx,json,css,scss}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx,vue}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,vue}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
app/**/*.{vue,ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (1)📚 Learning: 2026-06-22T07:50:54.935ZApplied to files:
🔇 Additional comments (5)
📝 WalkthroughWalkthroughChangesThe dialog manager now tracks whether an automatic dialog was consumed, gives premium dialogs precedence, and restores unconsumed automatic dialogs after premium closes. Tests cover helper selection and lifecycle state transitions. Dialog resolution state
Sequence Diagram(s)sequenceDiagram
participant useDialogManagerState
participant usePremiumDialog
participant AutomaticDialogState
useDialogManagerState->>usePremiumDialog: read premium open state
useDialogManagerState->>AutomaticDialogState: read automatic dialog and consumed state
useDialogManagerState->>useDialogManagerState: resolve pending dialog
useDialogManagerState->>AutomaticDialogState: mark automatic dialog consumed on close
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
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
Verification
pnpm format:checkpnpm lintpnpm typecheckpnpm test(148 passed, 2 todo)Summary by CodeRabbit
Bug Fixes
Tests