Skip to content

feat(web-ui): processing hints in constants with expanded zh/en copy#402

Merged
GCWing merged 1 commit intomainfrom
gcwing/dev
Apr 13, 2026
Merged

feat(web-ui): processing hints in constants with expanded zh/en copy#402
GCWing merged 1 commit intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Apr 13, 2026

Summary

Moves AI processing hint strings out of flow-chat.json into flow_chat/constants/processingHints.ts as separate Chinese and English arrays. ProcessingIndicator picks the list from i18n.language and keeps the existing 1s delay plus 5s rotation behavior.

Motivation

Large hint lists are easier to maintain in a dedicated module than inside locale JSON, and this change expands the variety of light-hearted copy shown while the model is working.

Test plan

  • Open Flow Chat, send a message, confirm processing indicator shows dot matrix and rotating hint after ~1s
  • Switch UI language between zh and en and confirm hints match language

Replace flow-chat.json processingHints with zh/en arrays in processingHints.ts. ProcessingIndicator selects the list by i18n language and rotates hints every 5s after a 1s delay.
@GCWing GCWing merged commit f9def5a into main Apr 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant