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
This commit is contained in:
arkml 2025-07-29 14:29:22 +05:30 committed by GitHub
parent 6fd897e569
commit aa95b590e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 1387 additions and 71 deletions

View file

@ -6,7 +6,7 @@ export default function Layout({
children: React.ReactNode;
}>) {
return (
<AppLayout useRag={false} useAuth={true} useBilling={true}>
<AppLayout useAuth={true} useBilling={true}>
{children}
</AppLayout>
);