Frontend: Removed typing indicator callback
This commit is contained in:
parent
b0e8408776
commit
0a6665ce9c
|
@ -224,14 +224,13 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { inject, watch, nextTick, onMounted, defineAsyncComponent } from "vue";
|
import { defineAsyncComponent, inject, nextTick, onMounted, watch } from "vue";
|
||||||
import * as mfm from "mfm-js";
|
import * as mfm from "mfm-js";
|
||||||
import * as misskey from "calckey-js";
|
import * as misskey from "calckey-js";
|
||||||
import insertTextAtCursor from "insert-text-at-cursor";
|
import insertTextAtCursor from "insert-text-at-cursor";
|
||||||
import { length } from "stringz";
|
import { length } from "stringz";
|
||||||
import { toASCII } from "punycode/";
|
import { toASCII } from "punycode/";
|
||||||
import * as Acct from "calckey-js/built/acct";
|
import * as Acct from "calckey-js/built/acct";
|
||||||
import { throttle } from "throttle-debounce";
|
|
||||||
import XNoteSimple from "@/components/MkNoteSimple.vue";
|
import XNoteSimple from "@/components/MkNoteSimple.vue";
|
||||||
import XNotePreview from "@/components/MkNotePreview.vue";
|
import XNotePreview from "@/components/MkNotePreview.vue";
|
||||||
import XPostFormAttaches from "@/components/MkPostFormAttaches.vue";
|
import XPostFormAttaches from "@/components/MkPostFormAttaches.vue";
|
||||||
|
@ -242,7 +241,6 @@ import { extractMentions } from "@/scripts/extract-mentions";
|
||||||
import { formatTimeString } from "@/scripts/format-time-string";
|
import { formatTimeString } from "@/scripts/format-time-string";
|
||||||
import { Autocomplete } from "@/scripts/autocomplete";
|
import { Autocomplete } from "@/scripts/autocomplete";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { stream } from "@/stream";
|
|
||||||
import { selectFiles } from "@/scripts/select-file";
|
import { selectFiles } from "@/scripts/select-file";
|
||||||
import { defaultStore, notePostInterruptors, postFormActions } from "@/store";
|
import { defaultStore, notePostInterruptors, postFormActions } from "@/store";
|
||||||
import MkInfo from "@/components/MkInfo.vue";
|
import MkInfo from "@/components/MkInfo.vue";
|
||||||
|
@ -669,12 +667,10 @@ function onKeydown(ev: KeyboardEvent) {
|
||||||
)
|
)
|
||||||
post();
|
post();
|
||||||
if (ev.which === 27) emit("esc");
|
if (ev.which === 27) emit("esc");
|
||||||
typing();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onCompositionUpdate(ev: CompositionEvent) {
|
function onCompositionUpdate(ev: CompositionEvent) {
|
||||||
imeText = ev.data;
|
imeText = ev.data;
|
||||||
typing();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onCompositionEnd(ev: CompositionEvent) {
|
function onCompositionEnd(ev: CompositionEvent) {
|
||||||
|
|
Loading…
Reference in New Issue