Redesign Select bot grid with per-bot colors and icons#28
Merged
Conversation
- Give each bot a stable identity: color and icon derived from a hash of its name (kid-friendly palette of 7 colors, 6 existing IconSymbol mappings) - Restyle tiles: consistent 2-column grid, white icon centered in a translucent circle chip, bot name centered below on a single line with ellipsis, rounded corners, softer shadow - Selected state keeps the bot's color and adds a white border instead of replacing the background with grey - Friendlier header: larger centered 'Select bot' title with a 'Who do you want to learn with today?' subtitle Selection behavior (AsyncStorage, setBotSelected, haptics, skipAutoSelect) is unchanged.
…ndard-navigation ESM error
tpaulshippy
added a commit
that referenced
this pull request
Jul 23, 2026
Add nullable color/icon fields to Bot (API + migration) and a BotAppearancePicker in the simple and advanced bot editors. Select bot grid and parent bots list use the configured values, falling back to the name-hash identity from #28 when unset.
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.
Summary
Redesigns the "Select bot" grid — the screen kids see to pick a tutor bot.
Before: a 2-column grid of oversized cyan tiles where every bot had the same generic chip icon, names were bottom-anchored and wrapped inconsistently ("Science Explorer" wrapped to 2 lines), and the header was plain small text.
After:
IconSymbolMAPPING:cpu,wand.and.sparkles,sparkles,star,mountain.2,text.bubble). No new icon mappings added.numberOfLines={1}ellipsis for long names), rounded corners, softer shadow. Name is white with a subtle text shadow for contrast.Selection behavior is unchanged: AsyncStorage
selectedBot,setBotSelectedcallback, haptics, andskipAutoSelectall work exactly as before. Onlyfront/app/selectBot.tsxwas modified.Screenshots
Select bot — light
Select bot — dark
Embedded in chat (home) — light
Embedded in chat (home) — dark
Screenshots committed to this branch under docs/screenshots/ for review; drop them before merging if undesired.