ssb: Move reply and react to the message % menu.

This commit is contained in:
Cory McWilliams 2025-04-09 19:02:02 -04:00
parent 7f252e79b6
commit 6f565c0f0a
2 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&r6gBoGYTO1yQXHLBPut0+iNd3NNFKPO/LXNV+F5+46M=.sha256" "previous": "&YZCzXrfB6j+y0sXF4KspAibwjLsSCaMoB5rdO3mQl+Q=.sha256"
} }

View File

@ -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>
`; `;