Feature: Typing Indicator on widget and dashboard (#811)

* Adds typing indicator for widget
* typing indicator for agents in dashboard

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Nithin David Thomas
2020-05-04 23:07:56 +05:30
committed by GitHub
parent fabc3170b7
commit 5bc8219db5
36 changed files with 663 additions and 78 deletions

View File

@@ -1,5 +1,5 @@
@mixin bubble-with-types {
@include padding($space-one $space-normal);
@include padding($space-small $space-normal);
@include margin($zero);
background: $color-woot;
border-radius: $space-one;
@@ -204,12 +204,14 @@
height: 100%;
margin-bottom: $space-small;
overflow-y: auto;
position: relative;
}
.conversation-panel>li {
@include flex;
@include flex-shrink;
@include margin($zero $zero $space-micro);
position: relative;
&:first-child {
margin-top: auto;
@@ -393,3 +395,34 @@
}
}
}
.conversation-footer {
display: flex;
flex-direction: column;
position: relative;
}
.typing-indicator-wrap {
align-items: center;
display: flex;
height: 0;
position: absolute;
top: -$space-large;
width: 100%;
.typing-indicator {
@include elegant-card;
@include round-corner;
background: $color-white;
color: $color-light-gray;
font-size: $font-size-mini;
font-weight: $font-weight-bold;
margin: $space-one auto;
padding: $space-small $space-normal $space-small $space-two;
.gif {
margin-left: $space-small;
width: $space-medium;
}
}
}