feature: left-menu - classes added to messages

This commit is contained in:
gaelle morin 2021-01-12 15:54:00 +01:00
parent df59033e06
commit acc331b202
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
3 changed files with 17 additions and 12 deletions

14
package-lock.json generated
View File

@ -8,7 +8,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@startinblox/hubl-styling-framework": "^1.0.27", "@startinblox/hubl-styling-framework": "^1.0.30",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"parcel-bundler": "^1.12.4", "parcel-bundler": "^1.12.4",
@ -1442,9 +1442,9 @@
} }
}, },
"node_modules/@startinblox/hubl-styling-framework": { "node_modules/@startinblox/hubl-styling-framework": {
"version": "1.0.27", "version": "1.0.30",
"resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.0.27.tgz", "resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.0.30.tgz",
"integrity": "sha512-5lnGDuYPK6q8eXgo6xwWP9VS9ZDYZDiRAGXM1ZcS7M0vW9/aIhmCtKDTi8LYRp9BflgLky6+mInzWsDolS9cXw==" "integrity": "sha512-VgAy7Y2GK3jZnaiE5F29IuBVk85tQvGPhEz1wpAz/yBPutU/cefXwvLE3JLgX0VAZLtJifoetfzbshMdc9OR0w=="
}, },
"node_modules/@types/q": { "node_modules/@types/q": {
"version": "1.5.4", "version": "1.5.4",
@ -10603,9 +10603,9 @@
} }
}, },
"@startinblox/hubl-styling-framework": { "@startinblox/hubl-styling-framework": {
"version": "1.0.27", "version": "1.0.30",
"resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.0.27.tgz", "resolved": "https://registry.npmjs.org/@startinblox/hubl-styling-framework/-/hubl-styling-framework-1.0.30.tgz",
"integrity": "sha512-5lnGDuYPK6q8eXgo6xwWP9VS9ZDYZDiRAGXM1ZcS7M0vW9/aIhmCtKDTi8LYRp9BflgLky6+mInzWsDolS9cXw==" "integrity": "sha512-VgAy7Y2GK3jZnaiE5F29IuBVk85tQvGPhEz1wpAz/yBPutU/cefXwvLE3JLgX0VAZLtJifoetfzbshMdc9OR0w=="
}, },
"@types/q": { "@types/q": {
"version": "1.5.4", "version": "1.5.4",

View File

@ -45,7 +45,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"@startinblox/hubl-styling-framework": "^1.0.27", "@startinblox/hubl-styling-framework": "^1.0.30",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"parcel-bundler": "^1.12.4", "parcel-bundler": "^1.12.4",

View File

@ -35,10 +35,15 @@ solid-widget(name='hubl-create')
solid-widget(name='hubl-menu-fix-url-contact') solid-widget(name='hubl-menu-fix-url-contact')
template template
solid-link(data-src="${value}" next="messages") solid-link.segment.lg-full(data-src="${value}" next="messages")
solid-display( solid-display.segment.lg-full.text-color-white.heading-active.bg-color-heading.hover.active(
data-src='${value}' data-src='${value}'
fields='name, chatProfile.jabberID, badge' fields='segment(message(name, chatProfile.jabberID), badge)'
class-segment="segment lg-full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium"
class-message='segment lg-three-quarter sub-menu-name'
class-badge='segment badge'
value-badge='${value}' value-badge='${value}'
widget-badge='hubl-counter' widget-badge='hubl-counter'
widget-chatProfile.jabberID='hubl-menu-jabberid' widget-chatProfile.jabberID='hubl-menu-jabberid'
@ -209,7 +214,7 @@ solid-router#navbar-router(default-route='dashboard')
//- search-label-contact.name="" //- search-label-contact.name=""
//- data-trans="search-label-contact.name=menuLeft.search" //- data-trans="search-label-contact.name=menuLeft.search"
//- search-widget-contact.name="hubl-search-users" //- search-widget-contact.name="hubl-search-users"
solid-display.message-tab.segment.lg-full( solid-display.segment.lg-full.whitespace-normal(
bind-user bind-user
nested-field='contacts' nested-field='contacts'
fields='contact' fields='contact'