Skip to content

Change float button icon from mic to AudioLines#67

Merged
LEVI-RIVKIN merged 2 commits into
mainfrom
claude/float-button-audio-icon-wqaqjd
Jul 8, 2026
Merged

Change float button icon from mic to AudioLines#67
LEVI-RIVKIN merged 2 commits into
mainfrom
claude/float-button-audio-icon-wqaqjd

Conversation

@LEVI-RIVKIN

Copy link
Copy Markdown
Contributor

Summary

Replaces the float bubble launcher's microphone icon with lucide's AudioLines icon.

Changes

  • packages/sdk/src/styles.ts: Added AUDIO_ICON (lucide AudioLines SVG) and kept the previous MIC_ICON SVG as a comment for reference. Removed the unused, non-exported CHAT_ICON deprecated alias.
  • packages/sdk/src/float.ts: The default launcher icon for the voice and voice+text channels now uses AUDIO_ICON.

Behavior

The icon renders on the float bubble launcher button. Channel-dependent icon selection is unchanged:

Channel Icon
TEXT only MESSAGES_ICON (unchanged)
VOICE only AUDIO_ICON (new)
VOICE + TEXT AUDIO_ICON (new)

Custom svg/url/avatar launcher icons still override the default, and the open-state CLOSE_ICON is unaffected. The React useFloatBubble/FloatBubble wrappers inherit the new default automatically.

🤖 Generated with Claude Code


Generated by Claude Code

Replace the microphone launcher icon with lucide's AudioLines icon for
voice and voice+text channels. The previous mic SVG is retained as a
comment for reference, and the unused deprecated CHAT_ICON alias is removed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYXBLjyVPJ24y2StkoeSCo

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the SDK’s floating bubble launcher to use Lucide’s AudioLines icon for voice-capable channels, aligning the default UI with the current product direction while keeping channel-based icon selection behavior intact.

Changes:

  • Added a new AUDIO_ICON SVG constant in the SDK styles.
  • Updated the float bubble default icon selection to use AUDIO_ICON for non-text-only modes.
  • Removed the deprecated CHAT_ICON alias from styles.ts.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/sdk/src/styles.ts Adds the new AUDIO_ICON SVG and adjusts icon exports accordingly.
packages/sdk/src/float.ts Switches the default launcher icon for voice/both channels from mic to audio lines.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/sdk/src/styles.ts
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYXBLjyVPJ24y2StkoeSCo
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

📦 Snapshot Release

Published snapshot packages for this PR:

pnpm add @perspective-ai/sdk@1.13.1-pr-67-20260708140447
pnpm add @perspective-ai/sdk-react@1.13.1-pr-67-20260708140447

Or use the npm tag (always points to the latest snapshot from this PR):

pnpm add @perspective-ai/sdk@pr-67
pnpm add @perspective-ai/sdk-react@pr-67

@LEVI-RIVKIN LEVI-RIVKIN merged commit bd67d2d into main Jul 8, 2026
5 checks passed
@LEVI-RIVKIN LEVI-RIVKIN deleted the claude/float-button-audio-icon-wqaqjd branch July 8, 2026 14:10
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.

2 participants