start object view layout

This commit is contained in:
marlon-erler
2024-07-11 17:07:06 +02:00
parent 4cc9201bc5
commit fec04b6d2d
8 changed files with 176 additions and 125 deletions
+3 -3
View File
@@ -2,8 +2,8 @@ import * as React from "bloatless-react";
import { closeChatView, isShowingChatTools, selectedChat, toggleChatTools } from "../Model/model";
import { ChatObjectView } from "../Views/Objects/chatObjectView";
import { ChatOptionModal } from "../Views/Chat/chatOptionModal";
import { ChatToolView } from "../Views/Objects/objectListView";
import { MessageComposer } from "../Views/Chat/messageComposer";
import { ThreadView } from "../Views/Chat/threadView";
import { translation } from "../translations";
@@ -35,7 +35,7 @@ export function MessageTab() {
</span>
<span>
<button
aria-label={translation.toggleChatTools}
aria-label={translation.showObjects}
on:click={toggleChatTools}
toggle:selected={isShowingChatTools}
>
@@ -50,7 +50,7 @@ export function MessageTab() {
</span>
</header>,
ChatToolView(chat),
ChatObjectView(chat),
ThreadView(chat),
<footer>{MessageComposer(chat)}</footer>,