wip commit, add basic popover for emoji reaction select
This commit is contained in:
parent
d007502629
commit
de945ba3e9
5 changed files with 138 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
import Attachment from '../attachment/attachment.vue'
|
||||
import FavoriteButton from '../favorite_button/favorite_button.vue'
|
||||
import ReactButton from '../react_button/react_button.vue'
|
||||
import RetweetButton from '../retweet_button/retweet_button.vue'
|
||||
import Poll from '../poll/poll.vue'
|
||||
import ExtraButtons from '../extra_buttons/extra_buttons.vue'
|
||||
|
@ -289,6 +290,7 @@ const Status = {
|
|||
components: {
|
||||
Attachment,
|
||||
FavoriteButton,
|
||||
ReactButton,
|
||||
RetweetButton,
|
||||
ExtraButtons,
|
||||
PostStatusForm,
|
||||
|
|
|
@ -356,12 +356,12 @@
|
|||
|
||||
<div class="emoji-reactions">
|
||||
<button
|
||||
class="emoji-reaction btn btn-default"
|
||||
v-for="(users, emoji) in emojiReactions"
|
||||
:key="emoji"
|
||||
class="emoji-reaction btn btn-default"
|
||||
>
|
||||
<span>{{users.length}}</span>
|
||||
<span>{{emoji}}</span>
|
||||
<span>{{ users.length }}</span>
|
||||
<span>{{ emoji }}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -393,6 +393,10 @@
|
|||
:logged-in="loggedIn"
|
||||
:status="status"
|
||||
/>
|
||||
<ReactButton
|
||||
:logged-in="loggedIn"
|
||||
:status="status"
|
||||
/>
|
||||
<extra-buttons
|
||||
:status="status"
|
||||
@onError="showError"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue