forked from coracle/flotilla
Rename ChannelThread to ChannelConversation
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@
|
||||
|
||||
<div class="col-2">
|
||||
<div class="overflow-auto pt-3">
|
||||
<ChannelMessage {url} {room} {event} thunk={$thunks[event.id]} showPubkey isThread />
|
||||
<ChannelMessage {url} {room} {event} thunk={$thunks[event.id]} showPubkey isHead />
|
||||
{#each sortBy(e => e.created_at, $replies) as reply (reply.id)}
|
||||
<ChannelMessage {url} {room} event={reply} thunk={$thunks[reply.id]} showPubkey />
|
||||
{/each}
|
||||
@@ -13,7 +13,7 @@
|
||||
import ThunkStatus from "@app/components/ThunkStatus.svelte"
|
||||
import ReplySummary from "@app/components/ReplySummary.svelte"
|
||||
import ReactionSummary from "@app/components/ReactionSummary.svelte"
|
||||
import ChannelThread from "@app/components/ChannelThread.svelte"
|
||||
import ChannelConversation from "@app/components/ChannelConversation.svelte"
|
||||
import ChannelMessageEmojiButton from "@app/components/ChannelMessageEmojiButton.svelte"
|
||||
import ChannelMessageMenuButton from "@app/components/ChannelMessageMenuButton.svelte"
|
||||
import ChannelMessageMenuMobile from "@app/components/ChannelMessageMenuMobile.svelte"
|
||||
@@ -25,7 +25,7 @@
|
||||
export let event: TrustedEvent
|
||||
export let thunk: Thunk
|
||||
export let showPubkey = false
|
||||
export let isThread = false
|
||||
export let isHead = false
|
||||
|
||||
const profile = deriveProfile(event.pubkey)
|
||||
const profileDisplay = deriveProfileDisplay(event.pubkey)
|
||||
@@ -43,7 +43,7 @@
|
||||
} else {
|
||||
const root = $rootEvent || event
|
||||
|
||||
pushDrawer(ChannelThread, {url, room, event: root})
|
||||
pushDrawer(ChannelConversation, {url, room, event: root})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-2 ml-12">
|
||||
{#if !isThread}
|
||||
{#if !isHead}
|
||||
<ReplySummary {event} />
|
||||
{/if}
|
||||
<ReactionSummary {event} {onReactionClick} />
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import Icon from "@lib/components/Icon.svelte"
|
||||
import EmojiPicker from "@lib/components/EmojiPicker.svelte"
|
||||
import EventInfo from "@app/components/EventInfo.svelte"
|
||||
import ChannelThread from "@app/components/ChannelThread.svelte"
|
||||
import ChannelConversation from "@app/components/ChannelConversation.svelte"
|
||||
import ConfirmDelete from "@app/components/ConfirmDelete.svelte"
|
||||
import {publishReaction} from "@app/commands"
|
||||
import {pushModal, pushDrawer} from "@app/modal"
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
const showEmojiPicker = () => pushModal(EmojiPicker, {onClick: onEmoji}, {replaceState: true})
|
||||
|
||||
const showConversation = () => pushDrawer(ChannelThread, {url, room, event}, {replaceState: true})
|
||||
const showConversation = () => pushDrawer(ChannelConversation, {url, room, event}, {replaceState: true})
|
||||
|
||||
const showInfo = () => pushModal(EventInfo, {event}, {replaceState: true})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user