Add conversations API (#8832)
* Add conversations API * Add web UI for conversations * Add test for conversations API * Add tests for ConversationAccount * Improve web UI * Rename ConversationAccount to AccountConversation * Remove conversations on block and mute * Change last_status_id to be a denormalization of status_ids * Add optimistic locking
This commit is contained in:
parent
25744d43b0
commit
774ac47373
33 changed files with 816 additions and 44 deletions
|
@ -825,6 +825,7 @@
|
|||
|
||||
&.status-direct {
|
||||
background: lighten($ui-base-color, 8%);
|
||||
border-bottom-color: lighten($ui-base-color, 12%);
|
||||
}
|
||||
|
||||
&.light {
|
||||
|
@ -5496,3 +5497,44 @@ noscript {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.conversation {
|
||||
padding: 14px 10px;
|
||||
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
||||
cursor: pointer;
|
||||
|
||||
&__header {
|
||||
display: flex;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
&__avatars {
|
||||
overflow: hidden;
|
||||
flex: 1 1 auto;
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
flex-wrap: none;
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.account__avatar {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
&__time {
|
||||
flex: 0 0 auto;
|
||||
font-size: 14px;
|
||||
color: $darker-text-color;
|
||||
text-align: right;
|
||||
|
||||
.display-name {
|
||||
color: $secondary-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
.attachment-list.compact {
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue