mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 19:00:38 +09:00
feat: show parent task and sub-tasks at bottom of issue properties panel
Move parent-task link out of the 2-column PropertyRow layout and into a dedicated full-width section at the bottom of the panel, separated by a Separator. Sub-tasks are listed in the same section when present. Each item shows a StatusIcon aligned with the first line of wrapped title text (items-start + mt-0.5 on the icon wrapper). Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
e23d148be1
commit
b380d6000f
2 changed files with 50 additions and 14 deletions
|
|
@ -985,7 +985,7 @@ export function IssueDetail() {
|
|||
useEffect(() => {
|
||||
if (issue) {
|
||||
openPanel(
|
||||
<IssueProperties issue={issue} onUpdate={(data) => updateIssue.mutate(data)} />
|
||||
<IssueProperties issue={issue} onUpdate={(data) => updateIssue.mutate(data)} childIssues={childIssues} />
|
||||
);
|
||||
}
|
||||
return () => closePanel();
|
||||
|
|
@ -1699,7 +1699,7 @@ export function IssueDetail() {
|
|||
</SheetHeader>
|
||||
<ScrollArea className="flex-1 overflow-y-auto">
|
||||
<div className="px-4 pb-4">
|
||||
<IssueProperties issue={issue} onUpdate={(data) => updateIssue.mutate(data)} inline />
|
||||
<IssueProperties issue={issue} onUpdate={(data) => updateIssue.mutate(data)} inline childIssues={childIssues} />
|
||||
</div>
|
||||
</ScrollArea>
|
||||
</SheetContent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue