[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:
MichalKinas
2023-10-04 09:12:52 +02:00
committed by GitHub
parent 33c50bdd68
commit 6edbb57dc4
14 changed files with 268 additions and 58 deletions

View File

@@ -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"
}
}
}
},