feat(ui): org chart page, issue detail tabs, and UX improvements
- Add org chart page with tree visualization and sidebar nav link - Restructure issue detail into tabbed layout (comments/activity/sub-issues) - Persist comment drafts to localStorage with debounce - Add inline assignee picker to issues list with search - Fix assignee clear to reset both agent and user assignee - Fix InlineEditor nesting when rendering markdown content Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -127,8 +127,12 @@ export function InlineEditor({
|
||||
);
|
||||
}
|
||||
|
||||
// Use div instead of Tag when rendering markdown to avoid invalid nesting
|
||||
// (e.g. <p> cannot contain the <div>/<p> elements that markdown produces)
|
||||
const DisplayTag = value && multiline ? "div" : Tag;
|
||||
|
||||
return (
|
||||
<Tag
|
||||
<DisplayTag
|
||||
className={cn(
|
||||
"cursor-pointer rounded hover:bg-accent/50 transition-colors",
|
||||
pad,
|
||||
@@ -142,6 +146,6 @@ export function InlineEditor({
|
||||
) : (
|
||||
value || placeholder
|
||||
)}
|
||||
</Tag>
|
||||
</DisplayTag>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user