feat(kanban): link related assets to their file or folder (#453)

Related assets in the task edit dialog were plain rows with no way to
open them. Add an opt-in `linkable` prop to TaskRelatedAssets that turns
each row's thumbnail and name into a router Link to the asset in its
project (files -> /projects/$projectId/files/$fileId, folders ->
/projects/$projectId/folders/$folderId), falling back to the task's
project when the asset has none. The edit dialog opts in; the create
dialog does not, so a click cannot discard an unsaved draft.

Co-authored-by: Frederic De Decker <hello@trinity.video>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
FredericTrinity
2026-10-07 20:14:36 +08:00
committed by GitHub
co-authored by Frederic De Decker Claude Opus 5.5
parent f8beb195dd
commit 4b1b64fe2b
4 changed files with 119 additions and 27 deletions
+2
View File
@@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Added
* **kanban**: Related assets on a task are now clickable, taking you directly to that file or folder in its project
### Fixed
### Changed