can you help with pylon support request 1917
Kind
Dispatch
Status
Completed
Created
Apr 14, 2026 19:30
Duration
8m 38s
Ports
:3904 / :5924
Description
can you help with pylon support request 1917
Source
slack
Title
can you help with pylon support request 1917
Resolved play
investigate
Agent
Apr 14, 19:38
I have everything I need. Here's the summary:
1. **Scroll issue** — already fixed in PR #3313 (merged but may not be deployed yet).
2. **404 error** — real bug. The "Add custom fields" button in the widget uses `useLoadingRouter` which auto-prepends the book slug to all paths. So it navigates to `/{bookSlug}/settings/data-customizations/custom-fields` instead of `/settings/data-customizations/custom-fields`. Same bug also affects the Files widget's "Connect your storage" button.
---
Two issues from Taylor at Demars Financial about the new overview layout editor. The scroll problem on the widget picker panel is already fixed and should go out in the next deploy. The 404 when clicking "Add custom fields" inside the custom fields widget is a real bug — drafted a ticket below. Taylor probably needs a quick reply letting them know both are being addressed.
```linear
Title: 404 when navigating to settings from bento widget empty states
Description:
## Problem
When a user is on a household overview page in edit-layout mode and clicks "Add custom fields" inside an empty Custom Fields widget (or "Connect your storage" in an empty Files widget), they get a 404 page instead of being taken to the settings page.
## Reproduction
1. Log in as a user whose company has no custom fields defined (e.g., taylor@demarsfinancial.com)
2. Go to any household overview page (e.g., /kVZYNVT1LQ/clients/oyDW8KOATt)
3. Enter edit layout mode
4. Add a "Custom fields" widget to the grid
5. In the widget's empty state, click "+ Add custom fields"
6. **Expected:** navigate to /settings/data-customizations/custom-fields
7. **Actual:** navigates to /kVZYNVT1LQ/settings/data-customizations/custom-fields → 404
## Suspected root cause
Both widgets use `useLoadingRouter` from `frontend/hooks/use-loading-router.ts` to navigate. This hook auto-prepends the current bookId to every path (line 16: `` `/${bookId}${href}` ``). Settings pages live at the top-level `/settings/...` route, not under `[bookId]`, so the generated URL doesn't match any route.
Affected files:
- `frontend/components/household/overview-tab/bento/widgets/custom-fields-widget.tsx:166` — `router.push("/settings/data-customizations/custom-fields")`
- `frontend/components/household/overview-tab/bento/widgets/files-widget.tsx:55` — `router.push("/settings/file-storage")`
## Affected users / scope
Any user who has no custom fields (or no storage integration) and tries to set one up from the widget empty state. Reported by Taylor Demars at Demars Financial.
## Suggested fix direction
Use Next.js `useRouter` from `next/navigation` directly (instead of `useLoadingRouter`) for these two navigation calls, since the target is a top-level route, not a book-scoped one. Alternatively, navigate with `window.location.href` or a `<Link>` component pointed at the absolute `/settings/...` path.
```
Outcome: ENGINEERING_HANDOFF