From abd8d323bc8a954effb68cab76eca65e2254dbea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Fri, 30 Aug 2024 19:06:47 +0200 Subject: [PATCH] add dev settings and feature flags for posts --- src/web/Jordnaer/Pages/Shared/TopBar.razor | 20 +++++++++++------- src/web/Jordnaer/appsettings.Development.json | 21 +++++++++++++++++++ src/web/Jordnaer/appsettings.json | 4 ++-- 3 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 src/web/Jordnaer/appsettings.Development.json diff --git a/src/web/Jordnaer/Pages/Shared/TopBar.razor b/src/web/Jordnaer/Pages/Shared/TopBar.razor index 0976f8e1..87a091a5 100644 --- a/src/web/Jordnaer/Pages/Shared/TopBar.razor +++ b/src/web/Jordnaer/Pages/Shared/TopBar.razor @@ -3,14 +3,20 @@ - + + + + + + + + + + + + + - - - - - - @* TODO: This doesn't look great as is. Rethink it and add it back? diff --git a/src/web/Jordnaer/appsettings.Development.json b/src/web/Jordnaer/appsettings.Development.json new file mode 100644 index 00000000..f61d97c5 --- /dev/null +++ b/src/web/Jordnaer/appsettings.Development.json @@ -0,0 +1,21 @@ +{ + "FeatureManagement": { + "Contacts": false, + "Events": false, + "Posts": true, + "AccountSettings": false, + "NotificationSettings": false + }, + "Serilog": { + "MinimumLevel": { + "Default": "Debug", + "Override": { + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information", + "System.Net.Http": "Warning", + "Polly": "Warning", + "MudBlazor": "Information" + } + } + } +} \ No newline at end of file diff --git a/src/web/Jordnaer/appsettings.json b/src/web/Jordnaer/appsettings.json index 47e5ae97..ce80a23a 100644 --- a/src/web/Jordnaer/appsettings.json +++ b/src/web/Jordnaer/appsettings.json @@ -12,13 +12,13 @@ }, "Serilog": { "MinimumLevel": { - "Default": "Debug", + "Default": "Information", "Override": { "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information", "System.Net.Http": "Warning", "Polly": "Warning", - "MudBlazor": "Information" + "MudBlazor": "Warning" } } }