Pascal Precht
|
8ef2d0ee47
|
refactor: make chat component enum variants match protocol values
Closes #183
|
2021-06-24 16:02:17 +02:00 |
|
Pascal Precht
|
454e73a838
|
feat(Components): introduce StatusChatInfoToolBar component
Usage:
```qml
import StatusQ.Components 0.1
StatusChatInfoToolBar {
chatInfoButton.title: "Cryptokitties"
chatInfoButton.subTitle: "128 Members"
chatInfoButton.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
chatInfoButton.icon.color: Theme.palette.miscColor6
popupMenu: StatusPopupMenu {
StatusMenuItem {
text: "Create channel"
icon.name: "channel"
}
StatusMenuItem {
text: "Create category"
icon.name: "channel-category"
}
StatusMenuSeparator {}
StatusMenuItem {
text: "Invite people"
icon.name: "share-ios"
}
}
}
```
Closes #141
|
2021-06-16 11:01:22 +02:00 |
|
Pascal Precht
|
a0fae6ab70
|
fix: introduce tiny icon versions and make use of them where needed
Closes #128
|
2021-06-09 14:54:53 +02:00 |
|
Pascal Precht
|
b1cbcd256d
|
refactor: make use of StatusRoundImage 's built-in loading indicator
Closes #89
|
2021-06-01 10:42:21 +02:00 |
|
Pascal Precht
|
8a79918284
|
feat(Controls): introduce StatusChatInfoButton
Usage:
```qml
StatusChatInfoButton {
title: "Iuri Matias"
subTitle: "Contact"
icon.color: Theme.palette.miscColor7 // identicon used as fallback when image source isn't available
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
type: StatusChatInfoButton.Type.OneToOneChat // PublicChat | GroupChat | CommunityChat
muted: true // default `false`
pinnedMessagesCount: 1 // default `0`
}
```
Closes: #79
|
2021-05-28 11:54:50 +02:00 |
|