[Web Import] Fix state restoration when hiding and reopening the plugin#909
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
WalkthroughThis pull request updates the CHANGELOG to document a fix for web import state restoration when hiding and reopening the plugin. Additionally, the initialization logic in StandardIconViewModel is refactored from a guarded when expression to a nested-if structure. The refactoring maintains identical functionality: when StandardState.Success is received with a null fontByteArray, downloadFont() is called; otherwise loadConfig() is executed. The behavioral logic and control flow remain unchanged. 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
📝 Changelog
If this PR introduces user-facing changes, please update the relevant Unreleased section in changelogs: