Skip to content

feat(ui): add favicon.ico from Mac app icon - #305

Merged
thewilloftheshadow merged 1 commit into
mainfrom
unknown repository
Jan 6, 2026
Merged

thewilloftheshadow merged 1 commit into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 6, 2026

Copy link
Copy Markdown

Summary

Adds a favicon.ico file to the web UI, generated from the Mac app icon (Clawdbot.icns) at 1024x1024 resolution. The favicon contains multiple sizes (16x16 and 32x32) for proper display across browsers and devices.

Why This Matters

Without a favicon, the browser tab shows a generic icon or a blank space, making it difficult to identify the Clawdbot Control UI among other tabs. This is especially problematic for users who rely on visual identification to quickly navigate between open tabs.

Before

  • Generic browser icon or blank space in tab bar
  • Hard to identify Clawdbot tab at a glance

After

  • Distinctive claw/galaxy icon matching the Mac app
  • Easy to identify Clawdbot Control tab

Changes

  1. Add ui/public/favicon.ico

    • 96KB ICO file with 5 icon variants (16x16 and 32x32)
    • Generated from apps/macos/Sources/Clawdbot/Resources/Clawdbot.icns
    • Uses the same gradient (green to yellow) and orbital/claw design
  2. Configure ui/vite.config.ts

    • Add publicDir configuration to serve static assets
    • Ensures favicon is copied to dist/control-ui/ during build
  3. Update ui/index.html

    • Add <link rel="icon" href="/favicon.ico" sizes="any" /> to head

Testing

  • Built UI: pnpm ui:build
  • Verified favicon is served: curl -I http://localhost:18789/favicon.ico
  • Browser displays the claw icon in tab bar

Files Changed

  • ui/public/favicon.ico (new file, binary)
  • ui/vite.config.ts
  • ui/index.html

🤖 Generated with Claude Code

Adds a favicon.ico file to the web UI, generated from the Mac app icon
(Clawdbot.icns) at 1024x1024 resolution. The favicon contains multiple
sizes (16x16 and 32x32) for proper display across browsers and devices.

Changes:
- Add ui/public/favicon.ico (96KB, 5 icon variants)
- Configure vite.config.ts to use publicDir for static assets
- Update ui/index.html to include favicon link

This allows users to identify the Clawdbot tab in their browser's tab bar
and bookmarks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@thewilloftheshadow
thewilloftheshadow merged commit 848f36b into openclaw:main Jan 6, 2026
dgarson added a commit to dgarson/clawdbot that referenced this pull request Feb 9, 2026
openclaw#305)

Implement telegram/callback-router.ts — the foundational plumbing for
all Phase 2 blocking tools (AskTelegramQuestion, AskTelegramConfirmation, etc.).

Key features:
- TelegramCallbackRouter class with register/deregister/route methods
- One-shot mode: auto-deregisters after first match (questions, confirmations)
- Toggle mode: persists across multiple callbacks (checklists)
- Chat ID scoping: handlers can be confined to specific chats
- Automatic timeout cleanup with configurable duration
- Prefix-based matching for callback_data routing
- Error-resilient: handler exceptions don't break the router
- Singleton access via getCallbackRouter() for production use
- Full stats tracking (registered, routed, timed out, unmatched)

23 tests covering:
- Registration, deregistration, cleanup functions
- One-shot vs toggle callback modes
- Chat ID scoping
- Concurrent pending requests isolation
- Timeout behavior (auto-cleanup, cleanup-after-match, cleanup-after-deregister)
- Stats tracking
- Error handling

Work item: 88df06b7 (Telegram Callback Query Response Router)
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
muneebhashone pushed a commit to muneebhashone/clawdbot that referenced this pull request Aug 25, 2026
zeekay pushed a commit to Dream-AI-4444/bot that referenced this pull request Sep 11, 2026
lhfer pushed a commit to lhfer/openclaw that referenced this pull request Oct 11, 2026
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