Skip to content

Feature/avatar customization#25

Merged
iamlukethedev merged 4 commits into
mainfrom
feature/avatar-customization
Mar 21, 2026
Merged

Feature/avatar customization#25
iamlukethedev merged 4 commits into
mainfrom
feature/avatar-customization

Conversation

@iamlukethedev

Copy link
Copy Markdown
Owner

No description provided.

# Conflicts:
#	src/lib/office/eventTriggers.ts
# Conflicts:
#	src/features/agents/components/AgentAvatarPreview3D.tsx
@iamlukethedev iamlukethedev merged commit 6b5895d into main Mar 21, 2026
2 checks passed
@iamlukethedev iamlukethedev deleted the feature/avatar-customization branch March 21, 2026 04:17
robotica4us-collab pushed a commit to robotica4us-collab/Claw3D that referenced this pull request Mar 21, 2026
…hedev#25

PR iamlukethedev#23 (Avatar Customization) and iamlukethedev#25 introduced breaking changes to
several components without updating the corresponding test assertions.
This commit brings all 142 test files back to green (831/831 passing).

Fixes:

tests/unit/agentBrainPanel.test.ts (4 tests):
  - Section headings changed from personality labels (Persona, Directives,
    Context, Identity) to file names (SOUL.md, AGENTS.md, USER.md,
    IDENTITY.md) — updated all getByRole/getByLabelText matchers
  - Discard button renamed to Cancel with different semantics: it now calls
    onCancel callback instead of resetting internal state — test updated to
    verify callback invocation instead of value reset

tests/unit/colorSemanticsGuard.test.ts (1 test):
  - PR iamlukethedev#23 added amber hue utilities for exec-approval and voice-recording
    indicators in AgentChatPanel.tsx — these domain-specific color patterns
    are hard to abstract into semantic CSS variables
  - Added a per-file allowlist for intentional raw hue patterns
  - Replaced voice status red/amber classes with semantic ui-alert-danger
    and CSS custom property fallbacks in AgentChatPanel.tsx

tests/unit/settingsRouteWorkflow.test.ts (2 tests):
  - Redirect target changed from /agents to / — updated assertions

tests/unit/useSettingsRouteController.test.ts (1 test):
  - Same /agents → / redirect update

tests/unit/studioUpstreamGatewaySettings.test.ts (1 test):
  - loadUpstreamGatewaySettings intentionally skips openclaw.json token
    fallback for non-local URLs (security: don't leak local credentials
    to remote gateways) — test was using a non-local URL but expecting
    token fill; fixed to use ws://localhost which matches the guard
robotica4us-collab pushed a commit to robotica4us-collab/Claw3D that referenced this pull request Mar 21, 2026
…hedev#25

PR iamlukethedev#23 (Avatar Customization) and iamlukethedev#25 introduced breaking changes to
several components without updating the corresponding test assertions.
This commit brings all 142 test files back to green (831/831 passing).

Fixes:

tests/unit/agentBrainPanel.test.ts (4 tests):
  - Section headings changed from personality labels (Persona, Directives,
    Context, Identity) to file names (SOUL.md, AGENTS.md, USER.md,
    IDENTITY.md) — updated all getByRole/getByLabelText matchers
  - Discard button renamed to Cancel with different semantics: it now calls
    onCancel callback instead of resetting internal state — test updated to
    verify callback invocation instead of value reset

tests/unit/colorSemanticsGuard.test.ts (1 test):
  - PR iamlukethedev#23 added amber hue utilities for exec-approval and voice-recording
    indicators in AgentChatPanel.tsx — these domain-specific color patterns
    are hard to abstract into semantic CSS variables
  - Added a per-file allowlist for intentional raw hue patterns
  - Replaced voice status red/amber classes with semantic ui-alert-danger
    and CSS custom property fallbacks in AgentChatPanel.tsx

tests/unit/settingsRouteWorkflow.test.ts (2 tests):
  - Redirect target changed from /agents to / — updated assertions

tests/unit/useSettingsRouteController.test.ts (1 test):
  - Same /agents → / redirect update

tests/unit/studioUpstreamGatewaySettings.test.ts (1 test):
  - loadUpstreamGatewaySettings intentionally skips openclaw.json token
    fallback for non-local URLs (security: don't leak local credentials
    to remote gateways) — test was using a non-local URL but expecting
    token fill; fixed to use ws://localhost which matches the guard
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