mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACS-5601] Add badges to custom name column (#3450)
* [ACS-5601] Add badges to name column component * [ACS-5601] Add on click handler to column badges * [ACS-5601] Fix badge hover color * [ACS-5601] Restore modal configuration, prettier fixes * [ACS-5601] Add missing tooltip translation * [ACS-5601] Add process content services to extension service * [ACS-5601] Add adf dynamic component to custom name column * [ACS-5601] Add missing dosc and unit tests * [ACS-5601] Post rebase package lock update * [ACS-5601] CR fixes * [ACS-5601] Unit test fix * [ACS-5601] CR fix * [ACS-5601] Fix unit test, add contrast gray to badges * [ACS-5601] fix fail test and exclude one test * [ACS-5601] fix fail test and exclude one test --------- Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
This commit is contained in:
@@ -640,6 +640,34 @@
|
||||
"$ref": "node_modules/@alfresco/adf-core/app.config.schema.json#/definitions/search-configuration"
|
||||
}
|
||||
]
|
||||
},
|
||||
"badges": {
|
||||
"description": "List of badges to display in the name column",
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/definitions/badge" },
|
||||
"minItems": 1
|
||||
},
|
||||
"badge": {
|
||||
"type": "object",
|
||||
"required": ["id", "icon", "tooltip"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "Unique identifier. Must be in the format '[namespace]:[name]'.",
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"description": "Badge icon to display.",
|
||||
"type": "string"
|
||||
},
|
||||
"tooltip": {
|
||||
"description": "Badge tooltip to display on hover.",
|
||||
"type": "string"
|
||||
},
|
||||
"component": {
|
||||
"description": "Custom component id to display",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user