feat(conditions,ui): Add endpoints[].ui.resolve-successful-conditions (#1486)

feat(ui&endpoints): add bolean option for show resolve-successful-conditions
This commit is contained in:
Lorenzo Pereira Piccoli Xavier authored and GitHub committed 2026-01-11 22:36:23 -05:00
1 parent 1095deb3c6
commit 7bb959e072
7 files changed
+68 -23

No files matched your search

+4
View File
@@ -22,6 +22,9 @@ type Config struct {
// DontResolveFailedConditions whether to resolve failed conditions in the Result for display in the UI
DontResolveFailedConditions bool `yaml:"dont-resolve-failed-conditions"`
// ResolveSuccessfulConditions whether to resolve successful conditions in the Result for display in the UI
ResolveSuccessfulConditions bool `yaml:"resolve-successful-conditions"`
// Badge is the configuration for the badges generated
Badge *Badge `yaml:"badge"`
}
@@ -63,6 +66,7 @@ func GetDefaultConfig() *Config {
HidePort: false,
HideErrors: false,
DontResolveFailedConditions: false,
ResolveSuccessfulConditions: false,
HideConditions: false,
Badge: &Badge{
ResponseTime: &ResponseTime{