mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
be3f0dbf09
- Changed `app.css` path in `App.razor`. - Refactored `Documents.razor` to improve form handling: - Removed `VectorSearchService` injection; added `IServiceProvider` and `IJSRuntime`. - Updated header from `<h2>` to `<h4>`. - Introduced `uploadDocumentRequest` for form state management. - Modified document ID input for optional GUID with validation. - Disabled upload button when no file is selected. - Enhanced document loading logic with scoped service provider. - Updated deletion logic to handle multiple document IDs. - Added method in `DocumentService.cs` for bulk document deletion. - Restructured `app.css` for improved styling and new validation/error message styles.
15 lines
595 B
Plaintext
15 lines
595 B
Plaintext
@using System.ComponentModel.DataAnnotations
|
|
@using System.Net.Http
|
|
@using System.Net.Http.Json
|
|
@using Microsoft.AspNetCore.Components.Forms
|
|
@using Microsoft.AspNetCore.Components.Routing
|
|
@using Microsoft.AspNetCore.Components.Web
|
|
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
|
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
|
@using Microsoft.JSInterop
|
|
@using SqlDatabaseVectorSearch
|
|
@using SqlDatabaseVectorSearch.Components
|
|
@using SqlDatabaseVectorSearch.Extensions
|
|
@using SqlDatabaseVectorSearch.Models
|
|
@using SqlDatabaseVectorSearch.Services
|
|
@using BlazorBootstrap |