[ACS-8694] Re-introduce visibility rules cleanup (#4516)

* [ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)

* [ACS-9369] Resolved issues where visibility rules with a single element array would log errors (#4416)

* [ACS-9369] Resolved issues where visibility rules with a single element array would log errors

* [ACS-9369] Improved rule array filtering logic

* [ACS-9369] Added type to variable

(cherry picked from commit 4e33f1126d)

* [ACS-8694] Removed unneeded test cases

* [ACS-8694] Fixed 'Favorite' option showing up in toolbar when opening search page
This commit is contained in:
swapnil-verma-gl
2025-05-15 14:14:00 +05:30
committed by GitHub
parent 744ba8db68
commit 4357fe9c08
18 changed files with 935 additions and 1181 deletions

View File

@@ -168,8 +168,19 @@
"type": "string"
},
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
"description": "Rule/Set of rules to evaluate the visibility state",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minLength": 1
}
]
}
}
}
@@ -250,8 +261,19 @@
"type": "object",
"properties": {
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
"description": "Rule/Set of rules to evaluate the visibility state",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minLength": 1
}
]
}
}
}
@@ -294,8 +316,19 @@
"type": "object",
"properties": {
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
"description": "Rule/Set of rules to evaluate the visibility state",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minLength": 1
}
]
}
}
}
@@ -334,8 +367,19 @@
"type": "object",
"properties": {
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
"description": "Rule/Set of rules to evaluate the visibility state",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minLength": 1
}
]
}
}
}
@@ -649,8 +693,19 @@
"type": "object",
"properties": {
"visible": {
"description": "Rule to evaluate the visibility state",
"type": "string"
"description": "Rule/Set of rules to evaluate the visibility state",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"minLength": 1
}
]
}
}
}