BunnyCDN, Search tab, journeys redesign, and dashboard polish #52

Merged
uz1mani merged 86 commits from staging into main 2026-03-17 10:08:26 +00:00
43 changed files with 3301 additions and 1219 deletions
Showing only changes of commit 2e444849ef - Show all commits

View File

@@ -190,7 +190,6 @@ export default function JourneysPage() {
transitions={transitionsData?.transitions ?? []}
totalSessions={totalSessions}
depth={committedDepth}
onNodeClick={(path) => setEntryPath(path)}
/>
</div>

View File

@@ -10,7 +10,6 @@ interface ColumnJourneyProps {
transitions: PathTransition[]
totalSessions: number
depth: number
onNodeClick?: (path: string) => void
}
interface ColumnPage {
@@ -431,7 +430,6 @@ export default function ColumnJourney({
transitions,
totalSessions,
depth,
onNodeClick,
}: ColumnJourneyProps) {
const [selections, setSelections] = useState<Map<number, string>>(new Map())
const containerRef = useRef<HTMLDivElement>(null)
@@ -455,11 +453,6 @@ export default function ColumnJourney({
const handleSelect = useCallback(
(colIndex: number, path: string) => {
if (colIndex === 0 && onNodeClick) {
onNodeClick(path)
return
}
setSelections((prev) => {
const next = new Map(prev)
if (next.get(colIndex) === path) {
@@ -473,7 +466,7 @@ export default function ColumnJourney({
return next
})
},
[onNodeClick]
[]
)
// ─── Empty state ────────────────────────────────────────────────