enhanced UI

This commit is contained in:
Saifeddine ALOUI 2023-10-20 17:50:08 +02:00
parent 7aa3cc90b4
commit bda3702eb4
6 changed files with 187 additions and 278 deletions

File diff suppressed because one or more lines are too long

177
web/dist/assets/index-b688a8d5.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title> <title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-4d74039d.js"></script> <script type="module" crossorigin src="/assets/index-b688a8d5.js"></script>
<link rel="stylesheet" href="/assets/index-b6985df1.css"> <link rel="stylesheet" href="/assets/index-bfa52e2e.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -43,12 +43,14 @@ export default {
required: true, required: true,
}, },
discussion_id: { discussion_id: {
type: String, type: [String, Number],
required: true, default: "0",
required: false,
}, },
message_id: { message_id: {
type: String, value: "0",
required: true, type: [String, Number],
required: false,
}, },
}, },
components: { components: {

View File

@ -144,7 +144,7 @@
</div> </div>
</div> </div>
<MarkdownRenderer ref="mdRender" v-if="!editMsgMode" :markdown-text="message.content"> <MarkdownRenderer ref="mdRender" v-if="!editMsgMode" :markdown-text="message.content" :message_id="message.id">
</MarkdownRenderer> </MarkdownRenderer>
<div > <div >
<textarea v-if="editMsgMode" ref="mdTextarea" @keydown.tab.prevent="insertTab" <textarea v-if="editMsgMode" ref="mdTextarea" @keydown.tab.prevent="insertTab"