[WEB-4365]fix: dates display properties toggle#7262
[WEB-4365]fix: dates display properties toggle#7262sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
|
Pull Request Linked with Plane Work Items Comment Automatically Generated by Plane |
WalkthroughThe changes update date input handling in issue property components. They introduce logic to conditionally render either a combined date range picker or separate start and due date pickers, depending on the availability and display settings of those dates. No public API or exported entity signatures are altered. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant IssuePropertiesComponent
participant DateRangeDropdown
participant DateDropdown
User->>IssuePropertiesComponent: Render properties
IssuePropertiesComponent->>IssuePropertiesComponent: Check if both start_date and due_date are enabled
alt Both dates enabled
IssuePropertiesComponent->>DateRangeDropdown: Render merged date range picker
else
IssuePropertiesComponent->>DateDropdown: Render start date picker (if enabled)
IssuePropertiesComponent->>DateDropdown: Render due date picker (if enabled)
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (5)
✨ 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
CodeRabbit Configuration File (
|
Description
This update fixes the date display visibility when one of the dates (Due date / Start date) is enabled in work item layouts.
Type of Change
Summary by CodeRabbit