Commit Graph
173 Commits
Author SHA1 Message Date
SliverKeigo 2328cbd46f # Fix IME input submission issue with Enter key (#158)
## Problem

When using Input Method Editor (IME) for languages like Chinese or Japanese, pressing Enter key triggers two actions simultaneously:
1. Confirms the current IME input
2. Submits the message

This makes it impossible to properly input text using IME.

## Solution

Add IME composition state detection to prevent message submission during IME input:
1. Add `isComposing` state to track IME input status
2. Listen to `compositionstart` and `compositionend` events to update IME state
3. Add IME state check in `handleSend` function

## Files Changed

- `apps/stage-web/src/components/Layouts/InteractiveArea.vue`
- `apps/stage-web/src/components/Layouts/MobileInteractiveArea.vue`

## Testing Steps

1. Use Chinese/Japanese IME to input text
2. Press Enter key while IME candidate window is showing
3. Verify that text is correctly entered into the input field instead of triggering message submission
4. After IME input is complete, verify that pressing Enter key submits the message normally

## Additional Notes

- While mobile devices typically use virtual keyboards, we've added the same handling logic to maintain code consistency and prepare for potential desktop mode in the future
- This change does not affect normal message submission functionality
2025-05-12 15:51:07 +08:00
Neko Ayaka e0229f73ff chore(deps): bump dependencies 2025-05-11 12:20:46 +08:00
Neko Ayaka 9a8a064930 chore(deps): bump dependencies 2025-05-07 17:39:30 +08:00
Neko Ayaka 8433746a6c docs: rename to AIRI 2025-05-07 16:25:44 +08:00
Neko Ayaka 8396ca78e9 fix: lint 2025-05-01 16:55:00 +08:00
Neko Ayaka e819834e42 fix(stage-ui|workspace): lobe-icons not resolved, metadata not accessed correctly 2025-05-01 00:05:14 +08:00
RainbowBird 0a72441039 fix: airi-card style (#150) 2025-04-30 14:43:27 +08:00
RainbowBird aacc857e05 feat(ui): Select component (#149)
* feat(ui): Select component
* chore: tamagotchi
2025-04-30 14:40:16 +08:00
Makito 1aaf231969 refactor(stage-web): remove load models button (#148) 2025-04-30 09:13:35 +08:00
RainbowBird 6961c43f1c chore(gpuu): migrate to @moeru-ai/gpuu (#145)
* chore(gpuu): migrate to @moeru-ai/gpuu
* chore: install gpuu
2025-04-27 15:19:57 +08:00
Neko Ayaka bad32d1171 fix: live2dcubismcore error 2025-04-27 14:55:37 +08:00
Neko Ayaka 168873ef90 chore(deps): bump dependencies 2025-04-27 10:58:56 +08:00
d3cdeca126 refactor: share unocss config across multiple packages (#143)
Co-authored-by: Neko Ayaka <neko@ayaka.moe>
Co-authored-by: Makito <5277268+sumimakito@users.noreply.github.com>
2025-04-27 10:46:34 +08:00
Neko Ayaka 3f9335089d fix: types & import 2025-04-26 16:03:38 +08:00
RainbowBird c0fc0a7db0 feat(package/ui): move stage-ui/Form to ui/Form (#140) 2025-04-26 15:11:34 +08:00
RainbowBird fc61ad5ed8 chore(bump): bump xsai to v0.2.0-beta.5 (#141)
* chore: bump xsai to v0.2.0-beta.5
* chore: lockfile
2025-04-26 14:48:23 +08:00
Neko Ayaka 83926d89bf refactor: improve PageHeader behavior 2025-04-25 14:09:07 +08:00
Neko Ayaka ad1cbccaf9 fix: ui bug fixes 2025-04-25 13:03:48 +08:00
Neko Ayaka 57d9b64eac refactor(provider-transformers): moved to github.com/moeru-ai/xsai-transformers 2025-04-24 17:50:08 +08:00
Neko Ayaka 1307a17a6c chore(deps): bump dependencies 2025-04-24 17:45:17 +08:00
Neko Ayaka 6d548c9c52 chore(deps): bump dependencies 2025-04-22 13:00:09 +08:00
Neko Ayaka d5fc26e2e0 chore(deps): bump dependencies 2025-04-20 15:38:33 +08:00
Neko Ayaka ca508b5f84 feat(stage-ui): new Textarea component
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
2025-04-20 14:26:15 +08:00
Neko Ayaka 4485dff557 refactor: move deps
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
2025-04-19 21:30:44 +08:00
Neko Ayaka d4a1e9f5f6 feat(stage-web|stage-tamagotchi): supports Alibaba Cloud Model Studio & Volcano Engine 2025-04-18 23:45:02 +08:00
Neko Ayaka 1b1685205c style(stage-ui): adjust how the banner works 2025-04-15 10:16:39 +08:00
Rizumu Ayaka 8e4d46e598 feat(ui): add the PageHeader component and use it on the settings page to optimize the display of the page title and subtitle (#134) 2025-04-15 09:52:54 +08:00
RainbowBirdandNeko d33d0dba2c feat(ui): Cursor Floating (#132)
Co-authored-by: Neko <neko@ayaka.moe>
2025-04-14 14:57:12 +08:00
Neko Ayaka 939a5ed208 chore(stage-ui|stage-tamagotchi): icon 2025-04-14 00:11:05 +08:00
Neko Ayaka 625802a4ef fix(stage-ui): microphone selector 2025-04-13 23:15:22 +08:00
Neko Ayaka 6b3ec95d4b fix(stage-web|stage-ui): should not loading (#107) 2025-04-13 22:47:12 +08:00
Neko Ayaka d76c0550ad fix(uno.config): timeout when fetching big web fonts 2025-04-10 19:17:18 +08:00
Neko Ayaka 9d37db96f7 fix(stage-ui|stage-web|stage-tamagotchi): color picker 2025-04-10 02:32:31 +08:00
Neko Ayaka f275b96526 feat(stage-web): new devtools to remove background 2025-04-10 02:06:06 +08:00
Neko Ayaka e2e5adc523 feat(stage-web): debug page for vibrant 2025-04-09 18:47:24 +08:00
Neko Ayaka 785a867d1b feat(stage-ui): input file component 2025-04-09 13:38:46 +08:00
Neko Ayaka db29b73c8d chore(stage-web|stage-tamagotchi): improve animations 2025-04-08 13:18:33 +08:00
RainbowBird 6a692bdfab chore: bump deps (#118) 2025-04-07 18:48:37 +08:00
Neko Ayaka 2f3030f273 style: removes zinc completely 2025-04-06 20:18:16 +08:00
Neko Ayaka 61d3332f42 fix(stage-tamagotchi): build 2025-04-06 16:53:30 +08:00
Neko Ayaka cd8c425cdc fix&style(stage-web|stage-tamagotchi): animation & issue 2025-04-06 16:17:31 +08:00
Neko Ayaka 6acd1315aa fix(stage-web|stage-tamagotchi): i18n 2025-04-06 02:15:28 +08:00
Neko Ayaka 9a11d1b963 fix(stage-web|stage-tamagotchi): duckdb-wasm import url 2025-04-06 01:58:28 +08:00
Neko Ayaka 46331c972a fix(stage-tamagotchi): build error 2025-04-05 18:24:46 +08:00
Neko Ayaka 9a956b2665 fix(stage-web|realtime-audio): type 2025-04-05 18:21:02 +08:00
Makito 00c30fbdbc chore(*): migrate drizzle-duckdb-wasm and duckdb-wasm to proj-airi/duckdb-wasm (#116)
* chore(drizzle-duckdb-wasm|duckdb-wasm): clean up packages
* chore(realtime-audio): remove unused paths from tsconfig
* chore(*): update dependencies
2025-04-05 18:14:15 +08:00
Neko Ayaka 8fcf79cf00 feat(stage-web|stage-tamagotchi|stage-tamagotchi-tauri): support gemini #103 2025-04-05 17:22:01 +08:00
Neko Ayaka cfd0e0e624 feat(stage-web|stage-tamagotchi|stage-tamagotchi-tauri): support featherless.ai #112 2025-04-05 17:02:42 +08:00
Neko Ayaka 73161cc623 refactor: deprecated @proj-airi/elevenlabs 2025-04-05 00:59:02 +08:00
Neko Ayaka 0d080c34c4 refactor: migrate out hfup to @moeru-ai root 2025-04-05 00:53:54 +08:00