feature: messages one to one

This commit is contained in:
gaelle morin
2021-01-12 18:10:31 +01:00
parent acc331b202
commit d597bd6d4a
4 changed files with 29 additions and 23 deletions

View File

@ -1,25 +1,27 @@
.content-box.flex.full-width
div.segment.lg-full.padding-top-small.padding-right-large.padding-bottom-small.padding-left-large.border-bottom.border-color-grey
solid-display.labelled-avatar.small(
bind-resources
fields='segment1(account.picture), segment2(name, hyphen, at, username)'
value-hyphen=" - "
value-at="@"
div.content-box__header
solid-display(
bind-resources
fields='avatar-container(account.picture), text(name, hyphen, at, username)'
value-hyphen=" - "
value-at="@"
class-segment1='segment'
class-account.picture='avatar small'
class-segment2='segment margin-left-xsmall text-xxlarge'
class-name='text-color-heading text-uppercase text-semibold'
class-hypen=''
class-at=''
class-username=''
widget-account.picture='hubl-user-avatar'
class-text="avatar-text"
class-avatar-container="avatar-container"
class-account.picture='avatar'
class-name='h1-like'
class-hypen='h1-like'
)
widget-account.picture='hubl-user-avatar'
)
.chat-view
solid-xmpp-chat(
data-authentication='login',
data-auto-login='true',
data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`,
data-i18n='en',
bind-resources
)
.chat-view.segment.lg-full.whitespace-normal
solid-xmpp-chat(
data-authentication='login',
data-auto-login='true',
data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`,
data-i18n='en',
bind-resources
)