mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
feat: Implement association tree for LSP-based code relationship discovery
- Add `association_tree` module with components for building and processing call association trees using LSP call hierarchy capabilities. - Introduce `AssociationTreeBuilder` for constructing call trees from seed locations with depth-first expansion. - Create data structures: `TreeNode`, `CallTree`, and `UniqueNode` for representing nodes and relationships in the call tree. - Implement `ResultDeduplicator` to extract unique nodes from call trees and assign relevance scores based on depth, frequency, and kind. - Add unit tests for `AssociationTreeBuilder` and `ResultDeduplicator` to ensure functionality and correctness.
This commit is contained in:
@@ -130,27 +130,62 @@
|
||||
|
||||
/* Archived Issue Card */
|
||||
.issue-card.archived {
|
||||
opacity: 0.85;
|
||||
background: hsl(var(--muted) / 0.3);
|
||||
opacity: 0.9;
|
||||
background: linear-gradient(135deg, hsl(var(--muted) / 0.2), hsl(var(--muted) / 0.4));
|
||||
border-style: dashed;
|
||||
border-color: hsl(var(--border) / 0.7);
|
||||
}
|
||||
|
||||
.issue-card.archived:hover {
|
||||
opacity: 1;
|
||||
border-color: hsl(var(--primary) / 0.5);
|
||||
}
|
||||
|
||||
.issue-card.archived .issue-title {
|
||||
color: hsl(var(--muted-foreground));
|
||||
}
|
||||
|
||||
.issue-archived-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.125rem 0.375rem;
|
||||
background: hsl(var(--muted));
|
||||
color: hsl(var(--muted-foreground));
|
||||
gap: 0.25rem;
|
||||
padding: 0.125rem 0.5rem;
|
||||
background: hsl(210 40% 96%);
|
||||
color: hsl(215 16% 47%);
|
||||
font-size: 0.625rem;
|
||||
font-weight: 500;
|
||||
border-radius: 0.25rem;
|
||||
font-weight: 600;
|
||||
border-radius: 9999px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
|
||||
.issue-archived-badge i {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Dark mode archived badge */
|
||||
:root[data-theme="dark"] .issue-archived-badge,
|
||||
.dark .issue-archived-badge {
|
||||
background: hsl(217 33% 17%);
|
||||
color: hsl(215 20% 65%);
|
||||
}
|
||||
|
||||
/* Archived footer with timestamp */
|
||||
.issue-archived-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
margin-top: 0.75rem;
|
||||
padding-top: 0.625rem;
|
||||
border-top: 1px dashed hsl(var(--border) / 0.5);
|
||||
font-size: 0.6875rem;
|
||||
color: hsl(var(--muted-foreground));
|
||||
}
|
||||
|
||||
.issue-archived-footer i {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.issue-card-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user