Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
f43d255e
Commit
f43d255e
authored
Jun 07, 2024
by
Timothy J. Baek
Browse files
refac: wip tooltip
parent
fc3a31e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
21 deletions
+24
-21
src/lib/components/chat/MessageInput/CallOverlay.svelte
src/lib/components/chat/MessageInput/CallOverlay.svelte
+24
-21
No files found.
src/lib/components/chat/MessageInput/CallOverlay.svelte
View file @
f43d255e
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
import { blobToFile, calculateSHA256, extractSentences, findWordIndices } from '$lib/utils';
import { blobToFile, calculateSHA256, extractSentences, findWordIndices } from '$lib/utils';
import { synthesizeOpenAISpeech, transcribeAudio } from '$lib/apis/audio';
import { synthesizeOpenAISpeech, transcribeAudio } from '$lib/apis/audio';
import { toast } from 'svelte-sonner';
import { toast } from 'svelte-sonner';
import Tooltip from '$lib/components/common/Tooltip.svelte';
const i18n = getContext('i18n');
const i18n = getContext('i18n');
...
@@ -373,27 +374,29 @@
...
@@ -373,27 +374,29 @@
<div class="flex justify-between items-center pb-2 w-full">
<div class="flex justify-between items-center pb-2 w-full">
<div>
<div>
<button class=" p-3 rounded-full bg-gray-50 dark:bg-gray-900">
<Tooltip content="WIP 🚧">
<svg
<button class=" p-3 rounded-full bg-gray-50 dark:bg-gray-900">
xmlns="http://www.w3.org/2000/svg"
<svg
fill="none"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke-width="1.5"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="1.5"
class="size-5"
stroke="currentColor"
>
class="size-5"
<path
>
stroke-linecap="round"
<path
stroke-linejoin="round"
stroke-linecap="round"
d="M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z"
stroke-linejoin="round"
/>
d="M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z"
<path
/>
stroke-linecap="round"
<path
stroke-linejoin="round"
stroke-linecap="round"
d="M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z"
stroke-linejoin="round"
/>
d="M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z"
</svg>
/>
</button>
</svg>
</button>
</Tooltip>
</div>
</div>
<div>
<div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment