rowboat/apps/rowboat/app/projects/layout.tsx
arkml aa95b590e2
move data-source ops to a modal inside build view (#186)
* added data source modal to build view

* fixed scrape url and upload files showing up in the data modal in the build view

* autoupdate data source status

* keep focus in build view on deleting a data source

* removed the rag tab and allow multiple file uploads

* show scrapred urls and uploaded files

* show text in the text data source

* fixed status refreshes when using the detail view of data source

* fix status refresh in the data panel

* cleanup

* fixed review comments on backend changes

* moved the input text field in text data source to the new ui element

* Fix PR review: Replace router.push with data sources modal in agent config

- Add onOpenDataSourcesModal prop to AgentConfig component
- Update 'Go to Data Sources' button to open modal instead of navigating
- Change button text to 'Add Data Source' for clarity
- Use forwardRef and useImperativeHandle to expose modal control
- Remove router dependency from agent_config.tsx

Addresses reviewer comment about using modal instead of route change.

* fixed build issue

* fixed nit comments

* fixed line break
2025-07-29 14:29:22 +05:30

16 lines
No EOL
387 B
TypeScript

import { USE_AUTH, USE_BILLING } from "../lib/feature_flags";
import AppLayout from './layout/components/app-layout';
export const dynamic = 'force-dynamic';
export default function Layout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<AppLayout useAuth={USE_AUTH} useBilling={USE_BILLING}>
{children}
</AppLayout>
);
}