mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-4708] Implemented user initials (#3184)
* added user initials * modified spec file * changes for config files * class name renamed * implemented the review comments
This commit is contained in:
@@ -46,39 +46,52 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,52 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,66 +46,79 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "settings",
|
||||
"title": "App settings",
|
||||
"description": "Application settings",
|
||||
"icon": "settings",
|
||||
"disabled": true,
|
||||
"order": 10,
|
||||
"actions": {
|
||||
"click": "app.actions.settings"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.navigation.isNotTrashcan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "button",
|
||||
"title": "New Button",
|
||||
"description": "new button description",
|
||||
"icon": "alarm_on",
|
||||
"order": 20,
|
||||
"actions": {
|
||||
"click": "app.actions.settings"
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.navigation.isNotTrashcan"
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "settings",
|
||||
"title": "App settings",
|
||||
"description": "Application settings",
|
||||
"icon": "settings",
|
||||
"disabled": true,
|
||||
"order": 10,
|
||||
"actions": {
|
||||
"click": "app.actions.settings"
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.navigation.isNotTrashcan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "button",
|
||||
"title": "New Button",
|
||||
"description": "new button description",
|
||||
"icon": "alarm_on",
|
||||
"order": 20,
|
||||
"actions": {
|
||||
"click": "app.actions.settings"
|
||||
},
|
||||
"rules": {
|
||||
"visible": "app.navigation.isNotTrashcan"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,52 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,52 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,52 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,52 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.header.notification-center",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
"component": "app.notification-center",
|
||||
"order": 50
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"type": "custom",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"component": "app.user.menu",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
"data": {
|
||||
"items": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "user.separator",
|
||||
"type": "separator",
|
||||
"order": 100
|
||||
},
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
Reference in New Issue
Block a user