mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 10:57:04 +00:00
Remove info missing rooms
This commit is contained in:
@@ -1,31 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
import Button from "@lib/components/Button.svelte"
|
|
||||||
import Link from "@lib/components/Link.svelte"
|
|
||||||
import ModalHeader from "@lib/components/ModalHeader.svelte"
|
|
||||||
import {PLATFORM_NAME} from "@app/state"
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="column gap-4">
|
|
||||||
<ModalHeader>
|
|
||||||
{#snippet title()}
|
|
||||||
<div>Where did my rooms go?</div>
|
|
||||||
{/snippet}
|
|
||||||
</ModalHeader>
|
|
||||||
<p>
|
|
||||||
You might have noticed that old rooms have disappeared from navigation. {PLATFORM_NAME} is still
|
|
||||||
under heavy development, which means that we occasionally have to make breaking changes. In this
|
|
||||||
case, we've changed how rooms work in {PLATFORM_NAME} to be more fully compatible with other NIP
|
|
||||||
29 clients, like <Link external class="link" href="https://chachi.chat">Chachi</Link> and
|
|
||||||
<Link external class="link" href="https://0xchat.com">0xChat</Link>.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
If you run a relay, please upgrade to a version that supports NIP 29. {PLATFORM_NAME} works best
|
|
||||||
with the latest version of <Link
|
|
||||||
external
|
|
||||||
class="link"
|
|
||||||
href="https://github.com/coracle-social/frith">Frith</Link
|
|
||||||
>, which will automatically migrate your rooms. In the meantime, your messages are all still
|
|
||||||
available under the "Chat" tab (all conversations have been temporarily merged together).
|
|
||||||
</p>
|
|
||||||
<Button class="btn btn-primary" onclick={() => history.back()}>Got it</Button>
|
|
||||||
</div>
|
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
import Alerts from "@app/components/Alerts.svelte"
|
import Alerts from "@app/components/Alerts.svelte"
|
||||||
import RoomCreate from "@app/components/RoomCreate.svelte"
|
import RoomCreate from "@app/components/RoomCreate.svelte"
|
||||||
import MenuSpaceRoomItem from "@app/components/MenuSpaceRoomItem.svelte"
|
import MenuSpaceRoomItem from "@app/components/MenuSpaceRoomItem.svelte"
|
||||||
import InfoMissingRooms from "@app/components/InfoMissingRooms.svelte"
|
|
||||||
import {
|
import {
|
||||||
userRoomsByUrl,
|
userRoomsByUrl,
|
||||||
hasMembershipUrl,
|
hasMembershipUrl,
|
||||||
@@ -49,8 +48,6 @@
|
|||||||
showMenu = !showMenu
|
showMenu = !showMenu
|
||||||
}
|
}
|
||||||
|
|
||||||
const showMissingRooms = () => pushModal(InfoMissingRooms)
|
|
||||||
|
|
||||||
const showMembers = () =>
|
const showMembers = () =>
|
||||||
pushModal(
|
pushModal(
|
||||||
ProfileList,
|
ProfileList,
|
||||||
@@ -177,10 +174,6 @@
|
|||||||
notification={$notifications.has(chatPath)}>
|
notification={$notifications.has(chatPath)}>
|
||||||
<Icon icon="chat-round" /> Chat
|
<Icon icon="chat-round" /> Chat
|
||||||
</SecondaryNavItem>
|
</SecondaryNavItem>
|
||||||
<Button class="link flex items-center gap-2 py-2 pl-4 text-sm" onclick={showMissingRooms}>
|
|
||||||
<Icon icon="info-circle" size={4} />
|
|
||||||
Where did my rooms go?
|
|
||||||
</Button>
|
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</SecondaryNavSection>
|
</SecondaryNavSection>
|
||||||
|
|||||||
Reference in New Issue
Block a user