ssb: Move reply and react to the message % menu.
This commit is contained in:
parent
7f252e79b6
commit
6f565c0f0a
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&r6gBoGYTO1yQXHLBPut0+iNd3NNFKPO/LXNV+F5+46M=.sha256"
|
"previous": "&YZCzXrfB6j+y0sXF4KspAibwjLsSCaMoB5rdO3mQl+Q=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -431,6 +431,14 @@ class TfMessageElement extends LitElement {
|
|||||||
>
|
>
|
||||||
Copy ID
|
Copy ID
|
||||||
</button>
|
</button>
|
||||||
|
${this.drafts[this.message?.id] === undefined ? html`
|
||||||
|
<button class="w3-button w3-bar-item" @click=${this.show_reply}>
|
||||||
|
⮢ Reply
|
||||||
|
</button>
|
||||||
|
` : undefined}
|
||||||
|
<button class="w3-button w3-bar-item w3-border-bottom" @click=${this.react}>
|
||||||
|
👍 React
|
||||||
|
</button>
|
||||||
${formats.map(
|
${formats.map(
|
||||||
([format, name]) => html`
|
([format, name]) => html`
|
||||||
<button
|
<button
|
||||||
@ -530,17 +538,10 @@ class TfMessageElement extends LitElement {
|
|||||||
author=${this.message.author}
|
author=${this.message.author}
|
||||||
></tf-compose>
|
></tf-compose>
|
||||||
`
|
`
|
||||||
: html`
|
: undefined;
|
||||||
<button class="w3-button w3-theme-d1" @click=${this.show_reply}>
|
|
||||||
Reply
|
|
||||||
</button>
|
|
||||||
`;
|
|
||||||
return html`
|
return html`
|
||||||
<div class="w3-section w3-container">
|
<div class="w3-section w3-container">
|
||||||
${reply}
|
${reply}
|
||||||
<button class="w3-button w3-theme-d1" @click=${this.react}>
|
|
||||||
React
|
|
||||||
</button>
|
|
||||||
${this.render_children()}
|
${this.render_children()}
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user