[WEB-3693] chore: cmd-k work item actions improvements#6891
[WEB-3693] chore: cmd-k work item actions improvements#6891
Conversation
|
Pull Request Linked with Plane Work Items Comment Automatically Generated by Plane |
WalkthroughThe changes update several command palette action components to conditionally pass a service type to the Changes
Sequence Diagram(s)sequenceDiagram
participant UI as Component
participant Hook as useIssueDetail Hook
participant Service as Issue Service
UI->>Hook: Call useIssueDetail(issue?.is_epic ? EPICS : ISSUES)
alt Issue is Epic
Note over UI,Hook: Using EPICS service type
else Issue is Work Item
Note over UI,Hook: Using ISSUES service type
end
Hook-->>UI: Return updateIssue function
UI->>Service: Call updateIssue(data)
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Definitions (1)web/core/components/issues/peek-overview/header.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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
CodeRabbit Configuration File (
|
Description
This PR includes improvement for cmd-k work item actions.
Type of Change
References
[WEB-3693]
Summary by CodeRabbit