Repository navigation
fix(setting-model): keep newly saved instance card expanded after name save - #16904
Conversation
📝 WalkthroughWalkthrough
ChangesSaved instance expansion
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant InstanceCard
participant SaveHook
participant ProviderAPI
participant SettingModelV2
InstanceCard->>SaveHook: save trimmed instance name
SaveHook->>ProviderAPI: add provider instance
ProviderAPI-->>SaveHook: successful response
SaveHook-->>SettingModelV2: onNameSaved(instanceName)
SettingModelV2-->>InstanceCard: expand matching persisted card
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16904 +/- ##
=======================================
Coverage 93.16% 93.16%
=======================================
Files 10 10
Lines 717 717
Branches 118 118
=======================================
Hits 668 668
Misses 29 29
Partials 20 20 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
fix(setting-model): keep newly saved instance card expanded after name save