[WEB-3827] refactor: work item widget components#6902
Conversation
WalkthroughThis pull request updates multiple components by enforcing the explicit provision of the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant W as IssueDetailWidgets
participant AB as ActionButtons
participant C as Collapsibles
participant M as Modals
U->>W: Render with { issueServiceType, hideWidgets }
W->>AB: Pass props for action buttons
W->>C: Pass props for collapsible sections
W->>M: Pass props for modals
AB->>U: Conditionally render buttons based on hideWidgets
C->>U: Render collapsible sections accordingly
M->>U: Display modals with issueServiceType
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (19)
🧰 Additional context used🧬 Code Graph Analysis (16)web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx (1)
web/core/components/issues/issue-detail-widgets/links/content.tsx (1)
web/core/components/issues/issue-detail-widgets/action-buttons.tsx (2)
web/core/components/issues/issue-detail-widgets/issue-detail-widget-modals.tsx (1)
web/core/components/issues/issue-detail-widgets/relations/root.tsx (1)
web/core/components/issues/issue-detail/links/link-list.tsx (1)
web/core/components/issues/issue-detail-widgets/links/root.tsx (1)
web/core/components/issues/issue-detail-widgets/root.tsx (3)
web/core/components/issues/issue-detail/links/create-update-link-modal.tsx (1)
web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx (1)
web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx (1)
web/core/components/issues/issue-detail-widgets/attachments/root.tsx (1)
web/core/components/issues/issue-detail-widgets/links/title.tsx (1)
web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx (6)
web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx (1)
web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (47)
✨ 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:
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 (
|
|
Pull Request Linked with Plane Work Items
Comment Automatically Generated by Plane |
Description
This PR refactors the work item widget components in the following ways-
issueServiceTypefrom the root level to add support for widgets in different places.hideWIdgetsprops for the ability to show only selected widgets.Type of Change
Summary by CodeRabbit