Repository navigation
fix(frontend): reliable dependency arrows & correct task preview clicks on Roadmaps - #487
Merged
stefan-ernst merged 2 commits intoNov 12, 2026
Conversation
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.
Summary
Two fixes for the roadmap (Gantt chart) view:
There was an event propagation bug when clicking on the task preview window on the roadmap which prevented it from opening the task detail popup.
Also the arrow was misleading, since it was point the blocking task to the blocked task which is wrong! The blocker comes first and the arrow should start from its right end edge of the rectangle and leads to the most right edge of blocked task.
Also there were another case that when you move a blocked task way behind in the timeline(before the blocker task) the arrow would switch the side of the rectangle which changes the whole meaning of the depends on relation. and that fixed too.
It has quite some other problems which ill try to address when i have the time, its important for me because i use Gannt charts alot.
Dependency arrows render reliably — Fixed arrow positioning logic in
CollectionRoadmap.svelteso dependency lines between tasks render correctly across all viewport sizes and scroll positions.Task preview opens on correct click — Fixed
RoadmapItemPreview.svelteto open the task detail preview only when clicking the task bar itself, not when clicking whitespace or dependency arrows.Changes
frontend/src/lib/features/collections/CollectionRoadmap.svelte: Rewrote arrow coordinate calculation to use consistent reference pointsfrontend/src/lib/features/collections/RoadmapItemPreview.svelte: Narrowed click handler to the task bar element onlyTesting