feat(tui): animated hog face mascot#684
Draft
lottiecoxon wants to merge 4 commits into
Draft
Conversation
Add a HogFace primitive plus animated variants — idle (blink/wink), snoring with rising z's, and talking (mouth flap) — and a playground tab to preview them. Expressions, arm poses and ear glyphs are transcribed from the ASCII hog designs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Remove the temporary ear-glyph picker from the playground and the unused `ear` prop; the default ⌒ ears are staying. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
Rework TalkingHog into a speech-like rhythm: irregular open/closed mouth flaps interrupted by occasional short pauses (gaps between words) and the odd blink. Talking is arms-free per design. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
DancingHog flaps the arms through out/left/right while cycling the character through the brand shades (orange, red, yellow, purple, teal, blue). Colour holds 2 ticks to stay under ~3 flashes/sec. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
What
Adds an ASCII hog face mascot for the TUI, transcribed from the design team's ASCII hog artwork, plus a playground tab to preview it.
Components (
src/ui/tui/primitives/HogFace.tsx)HogFace— pure primitive rendering one expression. Expressions:neutral,blink,wink(either eye),cheeky,pout,shocked(open mouth). Arm poses:none,out,left,right.AnimatedHogFace— idle loop: mostly neutral with occasional blinks/winks.SnoringHog— sleeping face with little z's that rise and drift.TalkingHog— mouth flaps open/closed to mimic speech (pairs with dialogue text later).Notes
ﻌis a right-to-left character; every glyph is rendered in its own cell so the eyes never flip in bidi-aware terminals (keeps the wink on the correct eye).pnpm try --playground→ Hog face tab.Status
Draft / WIP — still iterating on look and timing with the design team. Not ready for review yet.
Test plan
pnpm typecheck, lint clean