Hide parameters in dashboard in a persistent way #10967
vandenbergjp
started this conversation in
General
Replies: 1 comment 1 reply
-
Add this to your app model, and it'll hide them. builder.Eventing.Subscribe<BeforeStartEvent>(async (e, ct) =>
{
var rns = e.Services.GetRequiredService<ResourceNotificationService>();
foreach (var p in e.Model.Resources.OfType<ParameterResource>())
{
await rns.PublishUpdateAsync(p, s => s with
{
IsHidden = true
});
}
});
We need a simpler way to hide resources. I'll file an issue for this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm feeling like such a 'customer' for asking, so I apologize in advance ;)
Since version 9.4, parameters are shown in the dashboard. There are probably good reasons for this, but personally I don't really like that they are visible by default. Usually I'm not interested in them and they make it harder to spot the things I'm actually interested in (like the applications or the database). I know in the right-top corner there is the option to filter on resource types, and this works, but this setting is not persisted.
Is there a way for me to revert to the 'old' behavior. I can think of a couple of options that would work for me:
Beta Was this translation helpful? Give feedback.
All reactions