feat: Baybayin tag rendering in Butty chat + personality update#40
Merged
Conversation
Deploying kudlit-app with
|
| Latest commit: |
39f33ea
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8337f507.kudlit-app.pages.dev |
| Branch Preview URL: | https://feat-baybayin-chat-rendering.kudlit-app.pages.dev |
- Add BaybayinChatRenderer widget: splits bubble text on <baybayin>…</baybayin> tags, runs content through baybayifyWord(), renders with 'Baybayin Simple TAWBID' font at 1.4× base size - Update ButtyBubble to use BaybayinChatRenderer; slim _BubbleContent.build() from ~53 lines to ~20 by delegating markdown style to the renderer - Update Butty system prompts (assistantMode, coachMode, teacherMode): remove sassy/exclamatory tone, replace with kind and direct personality; add <baybayin> tag instruction to assistantMode - Add comment in safe_ai_output.dart confirming <baybayin> tags survive cleaning - Add 9 widget tests covering tag parsing, font application, baybayifyWord encoding, case-insensitive matching, mixed content, and font sizing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Adds native Baybayin script rendering in Butty chat and updates personality to be kind and direct. See commit message for full details.