refactor: enhance GSTIN validation error messages#3770
Conversation
WalkthroughThe pull request enhances GSTIN validation error handling by introducing a shared options object with consistent styling properties (title and indicator) and converting simple string error messages to structured object-based frappe.msgprint calls. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (3)📚 Learning: 2025-09-04T13:11:55.495ZApplied to files:
📚 Learning: 2025-06-24T11:21:06.708ZApplied to files:
📚 Learning: 2025-04-25T11:12:59.799ZApplied to files:
🧬 Code graph analysis (1)india_compliance/public/js/utils.js (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (3)
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 |
…tfix/pr-3770 refactor: enhance GSTIN validation error messages (backport #3770)
Note
Backport to V-15
Summary by CodeRabbit