branch filtering

This commit is contained in:
James
2025-12-22 18:33:49 -05:00
parent ffcdbf7d75
commit 12a796bcbb
11 changed files with 591 additions and 44 deletions

View File

@@ -1049,12 +1049,79 @@
border-radius: 0 !important;
}
/* Graph Filter Highlight States */
/* Matched node - direct search/filter match */
.graph-node-matched {
box-shadow:
0 0 0 3px var(--brand-500),
0 0 20px 4px var(--brand-500);
border-color: var(--brand-500) !important;
z-index: 10;
}
/* Animated glow for matched nodes */
@keyframes matched-node-glow {
0%,
100% {
box-shadow:
0 0 0 3px var(--brand-500),
0 0 15px 2px var(--brand-500);
}
50% {
box-shadow:
0 0 0 3px var(--brand-500),
0 0 25px 6px var(--brand-500);
}
}
.graph-node-matched {
animation: matched-node-glow 2s ease-in-out infinite;
}
/* Highlighted path node - part of the dependency path */
.graph-node-highlighted {
box-shadow:
0 0 0 2px var(--brand-400),
0 0 12px 2px var(--brand-400);
z-index: 5;
}
/* Dimmed node - not part of filter results */
.graph-node-dimmed {
opacity: 0.25;
filter: grayscale(60%);
transition:
opacity 0.3s ease,
filter 0.3s ease;
}
.graph-node-dimmed:hover {
opacity: 0.4;
filter: grayscale(40%);
}
/* Highlighted edge styles */
.graph-edge-highlighted path {
stroke: var(--brand-500) !important;
stroke-width: 4px !important;
filter: drop-shadow(0 0 6px var(--brand-500));
}
/* Dimmed edge styles */
.graph-edge-dimmed path {
opacity: 0.15;
stroke-width: 1px !important;
filter: none !important;
}
/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
.graph-canvas .animated-edge path,
.graph-canvas .edge-flowing path,
.animate-pulse-subtle,
.animate-progress-indeterminate {
.animate-progress-indeterminate,
.graph-node-matched {
animation: none;
}
}