GuestLog - GuestDocument fixes & improvements:

- Use GuestDocument Details page to see details.
- Added GuestDocument stays in details page.

Other minor changes:
- Updated validators to use ValueValidator base class.
- Changed Snackbar settings to show them better.
- Added Empty Debug page to test things. This page wont be updated in git, all test must be local-only.
This commit is contained in:
2026-08-15 21:23:29 +02:00
parent 6dc2d2426b
commit 3e0ef34f66
9 changed files with 127 additions and 74 deletions
+7 -1
View File
@@ -23,7 +23,13 @@ builder.Services.AddDbContextFactory<GuestLogContext>(options =>
builder.Services.AddDatabaseDeveloperPageExceptionFilter();
// Add MudBlazor services
builder.Services.AddMudServices();
builder.Services.AddMudServices(c =>
{
c.SnackbarConfiguration.PositionClass = MudBlazor.Defaults.Classes.Position.TopCenter;
c.SnackbarConfiguration.ShowTransitionDuration = 300;
c.SnackbarConfiguration.HideTransitionDuration = 500;
c.SnackbarConfiguration.VisibleStateDuration = 10000;
});
// Add components services to the container.
builder.Services.AddRazorComponents()