feat: custom thinking animation with multi-file management[多文件管理的思考动画设置,头像大小可调]#1120
Open
Andy365-365 wants to merge 7 commits into
Open
feat: custom thinking animation with multi-file management[多文件管理的思考动画设置,头像大小可调]#1120Andy365-365 wants to merge 7 commits into
Andy365-365 wants to merge 7 commits into
Conversation
afa471b to
e6ed82c
Compare
Contributor
Author
|
Contributor
Author
|
e32a39e to
f67effa
Compare
Andy365-365
added a commit
to Andy365-365/hermes-web-ui
that referenced
this pull request
Jun 12, 2026
…thinking animation + avatar size)
Add ability for users to customize the thinking animation displayed during agent processing, supporting multiple animation files per profile. Frontend: - Add thinking animation modal in profile settings with preview pane - Support uploading multiple files (up to 5) as GIF, WebP, MP4, WebM - Multi-file selector: left preview + right thumbnail list layout - Individual delete per item, select-to-switch active animation - Disable thinking animation via toggle (hides indicator entirely) - Add i18n keys for zh and en locales Backend: - Add PUT/DELETE /api/hermes/profiles/:name/thinking-animation routes - Persist animation metadata as thinking-animation.json per profile - Backward compatible: auto-migrate legacy single-url format to items array - Read thinking animation alongside avatar in profile list/detail endpoints - Increase body parser limit to 50MB to support large Base64-encoded GIFs Chat: - Replace hardcoded thinking GIF with profile-level custom animation - Respect enableThinking toggle to show/hide the streaming indicator API: - New ProfileThinkingAnimation type with items[] and activeIndex fields - New API methods: updateProfileThinkingAnimation, deleteProfileThinkingAnimation - Store exposes updateThinkingAnimation and deleteThinkingAnimation
Add a slider in Display Settings to adjust the size of profile avatars shown in chat messages (range: 24–80px, default: 40px). - DisplayConfig: add optional avatar_size field - DisplaySettings: add NSlider control with live preview - MessageItem: bind avatar :size to settingsStore.display.avatar_size - i18n: add avatarSize/avatarSizeHint for en and zh
This reverts commit b92945c.
…thinking animation + avatar size)
…ems) for all locales
8bd8def to
2788b68
Compare
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
Allow users to customize the thinking animation shown during agent processing, with support for multiple animation files per profile.
Changes
Frontend
Backend
Chat
API Types
Backward Compatibility
Testing