Repository navigation
Conversation
…#692) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ck-fixtures test(bots): icon rule fields in test fixtures (pingdotgg#692)
Add resolveBotIcon, a pure evaluator that picks a Bot's timeline image or rule shape from its icon rules, with the next moment the result can change, and botLeftForYouSinceMs for the leftOnDelivered minute 0. Add the start time parser and short formatter for the editor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A thread never visited now counts as read for leftOnDelivered, through the same unread check the Bot list uses. resolveBotIcon no longer takes the Bot's status, since each rule's start time already says whether it applies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed time (pingdotgg#692) A stored rule order can hold fewer than three rules, or none, and the lastCalled shape time can be 0. Pin that only rules in the order are used, an empty order shows the Default Icon, and a 0 time holds at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BotAvatar now resolves a Bot's icon rules wherever it knows the Bot: a timeline image or rule shape replaces the Default Icon in the one slot, re-resolved once at each boundary instead of on a tick. The next timeline image loads ahead, and a stored image stays up until the next one loads. Muted Bots keep their Default Icon, now grayed out. Editors opt out. The roster's workingSince, deliveredAt and erroredAt now reach the client through ScopedBotEntry, and botIconInputs turns them and the Bot thread's shell into each rule's minute 0. The evaluator uses the contract types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(bots): icon rules storage and roster timestamps (pingdotgg#692)
✨ feat(bots): resolve and show Bot icons from their rules (pingdotgg#692)
Draft model for icon rules (BotIconRulesDraft with stable keys and invalid text), rule ownership in the evaluator, draft rules on BotAvatar, the settings footer and Save gate, the picker mount points with stub sections, and the shared rule parts: copy, order list, now badge, time field and the draft resolution hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Count unreadable icon times as a change, so Discard and the close prompt apply. Gate Save only on the mode the draft Default Icon turns on, and send a hidden mode with a problem as saved. Refresh the editor's now badge elapsed time once a minute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✨ feat(bots): icon editor foundation (pingdotgg#692)
Fills BotRuleShapesSection: one optional shape per rule in the shared rule order, a popover with the (Default) off option and the shape grid (Default Icon's shape disabled), the lastCalled "after" time, the now badge and the muted status line. Adds the section's copy to every web catalog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fills the Icon timeline section: three rule cards with image tracks, add, replace and remove by click or drop, start times that re-sort with a short slide, suggested times, invalid and duplicate messages, the full, empty, loading and missing states, and the now badge and ring. readAvatarImage moves unchanged into its own module so the picker and the section share it without an import cycle. StoredBotImage falls back when an image's URL resolves to nothing instead of holding a stale one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(bots): shapes by rule editor section
…t/bot-icon-editor-timeline
✨ feat(bots): edit a Bot's icon timeline in settings (pingdotgg#692)
Author
|
Parked (Lukas, per Frost, 12-01 ~22:00Z): "let's stay in our pin, branch off it, updating to a new custom-nightly is a job on it's own".
|
pingdotgg#692) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🐛 fix(bots): keep missing saved timeline images and center time fields (pingdotgg#692)
This branch has not been deployed
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.
Problem
Issue: timeline icons for Bots (#692). A Bot has one icon. Frost wants it to change while a rule applies: how long the Bot has been working, how long something has been left for you, and how long since its last activity. In image mode that's a timeline of images. In shape mode it's one shape per rule.
Change
Merged into
feat/bot-icon-timeline, each reviewed by Lukas:bots.icon_rules_json, added byALTER TABLEon first start. Existing Bots read it as "no rules".StoredBotImagefallback fix.Scope
Verification
Draft until these land:
custom-nightly. Today it conflicts inBotStore.ts,BotDetailsPanel.browser.test.tsxand the 11 web catalogs, all keep-both (Jhon).vp run typecheck,vp lint,vp run knip:check,node scripts/i18n-check.ts,vp test run,vp run build:desktop, and an Electron run. The outputs get pasted here.Nothing merges here without Frost.
🤖 Generated with Claude Code