feat(client): Implement Update Notifications and Fix IME Input - #4
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances the
clientapplication by introducing a manual update notification system and fixing a critical bug in the chat input related to IME (Input Method Editor) handling.Changes
✨ Features
useUpdateCheckperiodically checks the GitHub Releases API for new versions.docs/design/client-update-check.md) has been added to explain the rationale behind this manual approach and outline the future migration path to full in-app auto-updates.🐛 Bug Fixes
useImeEnterGuardhook to correctly handle theEnterkey during IME composition. This prevents the chat message from being sent accidentally while the user is typing in languages like Chinese, Japanese, or Korean.housekeeping
@tauri-apps/plugin-updaterpackage, as the new implementation provides a temporary, more suitable solution for the current alpha stage.tauri.conf.jsonfrom0.1.0to0.0.1.How to Test
clientapplication.