kumarabhirup 7cf895a3c7
fix(workspace): recursively search for nested object directories in findObjectDir
findObjectDir only searched the workspace root and one level deep, so objects
nested inside category folders (e.g. marketing/influencer/) were not discovered
by the views API. This caused saved views, active_view, and view_settings to
silently return empty for any object beyond depth 1.

Replace the single-level scan with a depth-limited recursive search (max 4
levels), skipping known heavy directories (node_modules, .git, .next, etc.).

The sidebar tree builder (buildTree in tree/route.ts) already walks recursively,
so this brings findObjectDir in line with the rest of the workspace discovery.
2026-03-06 00:41:26 -08:00
..
2026-03-04 13:23:34 -08:00
2026-02-11 18:35:35 -08:00
2026-02-11 18:35:35 -08:00
2026-02-19 17:46:54 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 13:23:34 -08:00
2026-03-04 13:23:34 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 13:23:34 -08:00