fix: default depth 10, bar rounding, exit row height, connection line reach

This commit is contained in:
Usman Baig
2026-03-15 13:39:41 +01:00
parent 342bf46946
commit e7907d68bf
2 changed files with 8 additions and 8 deletions

View File

@@ -37,8 +37,8 @@ export default function JourneysPage() {
const [period, setPeriod] = useState('30')
const [dateRange, setDateRange] = useState(() => getDateRange(30))
const [isDatePickerOpen, setIsDatePickerOpen] = useState(false)
const [depth, setDepth] = useState(3)
const [displayDepth, setDisplayDepth] = useState(3)
const [depth, setDepth] = useState(10)
const [displayDepth, setDisplayDepth] = useState(10)
const [entryPath, setEntryPath] = useState('')
const sliderIndex = DEPTH_STEPS.indexOf(displayDepth)
@@ -160,9 +160,9 @@ export default function JourneysPage() {
onChange={(value) => setEntryPath(value)}
options={entryPointOptions}
/>
{(depth !== 3 || entryPath) && (
{(depth !== 10 || entryPath) && (
<button
onClick={() => { setDepth(3); setDisplayDepth(3); setEntryPath('') }}
onClick={() => { setDepth(10); setDisplayDepth(10); setEntryPath('') }}
className="text-sm text-neutral-500 hover:text-neutral-900 dark:hover:text-white transition-colors whitespace-nowrap"
>
Reset