Skip to content

feat: Baybayin tag rendering in Butty chat + personality update#40

Merged
JamTheDev merged 4 commits into
mainfrom
feat/baybayin-chat-rendering
May 11, 2026
Merged

feat: Baybayin tag rendering in Butty chat + personality update#40
JamTheDev merged 4 commits into
mainfrom
feat/baybayin-chat-rendering

Conversation

@JamTheDev
Copy link
Copy Markdown
Contributor

Adds native Baybayin script rendering in Butty chat and updates personality to be kind and direct. See commit message for full details.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying kudlit-app with  Cloudflare Pages  Cloudflare Pages

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

View logs

@JamTheDev JamTheDev merged commit 64be2d3 into main May 11, 2026
2 checks passed
- 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>
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