Skip to content

Comments

feature/issue-172/real-time-response#214

Merged
GerardChabaBristol merged 3 commits intodevfrom
feature/issue-172/real-time-response
Mar 11, 2025
Merged

feature/issue-172/real-time-response#214
GerardChabaBristol merged 3 commits intodevfrom
feature/issue-172/real-time-response

Conversation

@GerardChabaBristol
Copy link
Collaborator

Issue(s):

#172

Type of change:

  • New feature

Description:

Added real-time response printing so that the chatbot doesn't just output the whole answer instantly, but writes word by word, similar to ChatGPT.

Additional context:

Check if the typing speed is good, too slow, or too fast.

Testing instructions:

Run the solution locally and test whether the chatbot responds word by word.

TypingText.vue takes a text prop (the full response) and a speed prop (milliseconds delay between characters), and then gradually displays the text.
- Replace static assistant message rendering with TypingText component.
- Import TypingText.
- Register TypingText in components.
@GerardChabaBristol GerardChabaBristol added Extra functionality Issue relates to extra functionality that can be implemented on top of must-have functionality. Frontend Issue relates to frontend code. Final Issue relates to Final release. labels Mar 11, 2025
@GerardChabaBristol GerardChabaBristol added this to the Final Release milestone Mar 11, 2025
@GerardChabaBristol GerardChabaBristol self-assigned this Mar 11, 2025
@GerardChabaBristol GerardChabaBristol linked an issue Mar 11, 2025 that may be closed by this pull request
1 task
Fixed folder location for import.
Copy link
Contributor

@Siyuan106 Siyuan106 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the speed of printing is good to me.

@GerardChabaBristol GerardChabaBristol requested review from RainBOY-ZZX and removed request for yi23484 March 11, 2025 19:04
Copy link
Contributor

@RainBOY-ZZX RainBOY-ZZX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GerardChabaBristol GerardChabaBristol merged commit 8547770 into dev Mar 11, 2025
2 checks passed
@GerardChabaBristol GerardChabaBristol deleted the feature/issue-172/real-time-response branch March 11, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Extra functionality Issue relates to extra functionality that can be implemented on top of must-have functionality. Final Issue relates to Final release. Frontend Issue relates to frontend code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add real-time response printing

3 participants