feat: Add timeline dependencies feature with visual connectors#9
Open
pqhung3007 wants to merge 1 commit intopreviewfrom
Open
feat: Add timeline dependencies feature with visual connectors#9pqhung3007 wants to merge 1 commit intopreviewfrom
pqhung3007 wants to merge 1 commit intopreviewfrom
Conversation
Implemented comprehensive task dependency management in Timeline layout with: Features: - Visual dependency connectors with SVG lines connecting related tasks - Three dependency types support: * Finish-to-Start (FS): Blocking/Blocked by relations * Start-to-Start (SS): Starts before/after relations * Finish-to-Finish (FF): Finishes before/after relations - Drag-and-drop interface for creating dependencies * Left handle: Creates start-to-start dependencies * Right handle: Creates finish-to-start or finish-to-finish dependencies - Dependency validation with red lines for violated constraints - Interactive dependency dialog showing relationship details on click - Automatic relation type detection based on drag handles Technical Implementation: - Added new relation types: starts_before, starts_after, finishes_before, finishes_after - TimelineDependencyPaths component for rendering dependency lines - TimelineDraggablePath component for drag-to-create functionality - Left/Right dependency draggable handles on timeline blocks - DependencyDialog component for displaying relation information - Integrated with existing relation store and API services - Enabled isDependencyEnabled flag in timeline store Files Modified: - packages/types: Extended TIssueRelationTypes with new dependency types - ce/constants: Added reverse relation mappings - ce/store/timeline: Enabled dependency feature flag - ce/components/gantt-chart/dependency: Implemented all dependency components This feature helps users manage connected tasks with a clear, high-level view of task relationships, optimize resource allocation, track bottlenecks, and prevent delays by visualizing dependencies directly in the timeline.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented comprehensive task dependency management in Timeline layout with:
Features:
Technical Implementation:
Files Modified:
This feature helps users manage connected tasks with a clear, high-level view of task relationships, optimize resource allocation, track bottlenecks, and prevent delays by visualizing dependencies directly in the timeline.
Description
Type of Change
Screenshots and Media (if applicable)
Test Scenarios
References