Hotfix progress template selector (final final fix) #1097
Hotfix progress template selector (final final fix) #1097duckduckhero wants to merge 8 commits intomainfrom
Conversation
…ix-progress-template-selector
…ix-progress-template-selector
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe changes update cache invalidation logic in two editor-related components. In Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant FloatingButton
participant QueryClient
User->>FloatingButton: Open template popover / Add template / Open template settings
FloatingButton->>QueryClient: Invalidate "templates" and "llm-connection" cache
QueryClient-->>FloatingButton: Refreshed data on next query
sequenceDiagram
participant User
participant useEnhanceMutation
participant QueryClient
participant connectorCommands
User->>useEnhanceMutation: Trigger enhancement mutation
useEnhanceMutation->>QueryClient: Invalidate "llm-connection" cache
useEnhanceMutation->>connectorCommands: Fetch latest LLM connection type
connectorCommands-->>useEnhanceMutation: Return connection type ("HyprLocal" or other)
useEnhanceMutation->>useEnhanceMutation: Update internal state with current connection type
useEnhanceMutation->>useEnhanceMutation: Proceed with mutation using updated state
Possibly related PRs
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
No description provided.