Feature/avatar customization#25
Merged
Merged
Conversation
# Conflicts: # src/lib/office/eventTriggers.ts
# Conflicts: # src/features/agents/components/AgentAvatarPreview3D.tsx
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
1 task
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
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.
No description provided.