diff --git a/.editorconfig b/.editorconfig index 040ccd3e..781bea5c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -76,6 +76,7 @@ dotnet_style_readonly_field = true:error # Parameter preferences dotnet_code_quality_unused_parameters = all:suggestion +dotnet_diagnostic.CA1859.severity = none # Strings csharp_style_prefer_string_interpolation = true:suggestion diff --git a/src/Lumina.Domain/Lumina.Domain.csproj b/src/Lumina.Domain/Lumina.Domain.csproj index 3df233dd..63bdd3b1 100644 --- a/src/Lumina.Domain/Lumina.Domain.csproj +++ b/src/Lumina.Domain/Lumina.Domain.csproj @@ -18,7 +18,6 @@ - diff --git a/src/Lumina.Infrastructure/appsettings.shared.json b/src/Lumina.Infrastructure/appsettings.shared.json index 6145e0ae..8343e8e2 100644 --- a/src/Lumina.Infrastructure/appsettings.shared.json +++ b/src/Lumina.Infrastructure/appsettings.shared.json @@ -13,7 +13,7 @@ "MinimumLevel": { "Default": "Information", "Override": { - "Microsoft.EntityFrameworkCore.Database.Command": "Debug" + "Microsoft.EntityFrameworkCore.Database.Command": "Warning" } }, "Enrich": [ diff --git a/src/Lumina.Presentation.Web/Controllers/Library/Management/LibraryManagementController.cs b/src/Lumina.Presentation.Web/Controllers/Library/Management/LibraryManagementController.cs index 2e72d534..e884d370 100644 --- a/src/Lumina.Presentation.Web/Controllers/Library/Management/LibraryManagementController.cs +++ b/src/Lumina.Presentation.Web/Controllers/Library/Management/LibraryManagementController.cs @@ -95,6 +95,7 @@ public class LibraryManagementController : Controller [RequirePermission(AuthorizationPermission.CanCreateLibraries)] public async Task SaveLibrary([FromBody] LibraryModel data, CancellationToken cancellationToken) { + // TODO: 1. this also needs to send the image files themselves to the API, since the server could be remote; for now, it assumes local paths which it can later read, which works only if the server is local too // call different API endpoints based on whether this is a new library or an existing one LibraryModel response = data.Id.HasValue ? await _apiHttpClient.PutAsync($"libraries/{data.Id}", data, cancellationToken).ConfigureAwait(false) diff --git a/src/Lumina.Presentation.Web/wwwroot/css/dialog.css b/src/Lumina.Presentation.Web/wwwroot/css/dialog.css index f9de69a6..1a5fc905 100644 --- a/src/Lumina.Presentation.Web/wwwroot/css/dialog.css +++ b/src/Lumina.Presentation.Web/wwwroot/css/dialog.css @@ -7,12 +7,12 @@ height: 100%; background-color: #000000; opacity: 0.6; - z-index: 1998; + z-index: 998; } .dialog-container { display: none; - position: absolute; + position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); diff --git a/src/Lumina.Presentation.Web/wwwroot/css/site.css b/src/Lumina.Presentation.Web/wwwroot/css/site.css index 7d542613..c1d39e58 100644 --- a/src/Lumina.Presentation.Web/wwwroot/css/site.css +++ b/src/Lumina.Presentation.Web/wwwroot/css/site.css @@ -107,7 +107,7 @@ main { #modal-background-article { display: none; z-index: 998; - position: absolute; + position: fixed; top: 0px; left: 0px; min-width: 100%;