Skip to content

feat: Merge PR features with test-IDs from Optimizecodecloudagents - #27

Merged
dsactivi-2 merged 4 commits into
mainfrom
feat/merged-pr-features-clean
Jan 1, 2026
Merged

dsactivi-2 merged 4 commits into
mainfrom
feat/merged-pr-features-clean

Conversation

@dsactivi-2

Copy link
Copy Markdown
Owner

Summary

Merged features from Optimizecodecloudagents PRs #2, #4, #7 with proper test-IDs.

New Components

  • ThemeProvider.tsx - Dark/light/system theme switching with localStorage persistence
  • ThemeToggle.tsx - Dropdown button for theme selection

Updated Components

  • AgentCard.tsx - Added:

    • spokenLanguage support (de/en/bs/sr)
    • agentType (standard/influencer)
    • contentAutonomy badge
    • Influencer styling (purple gradient)
    • All test-IDs preserved and extended
  • CreateAgentDialog.tsx - Added:

    • Spoken language selector
    • Agent type selector (Standard/Influencer)
    • Content autonomy switch (auto-enabled for influencer)
    • All test-IDs preserved and extended

New Documentation

  • docs/AGENT_CONTROL.md - Complete API documentation for agent control endpoints

Fix

  • Fixed unused parameter warning in brain-proxy.ts

Test-IDs

All components follow naming convention: cloudagents.{component}.{element}.{action}

Source PRs (Optimizecodecloudagents)

Changes

  • 6 files changed
  • 972 insertions, 23 deletions

Test Plan

  • TypeScript build passes
  • Pre-commit checks pass
  • Manual test theme switching
  • Manual test agent creation with new fields

🤖 Generated with Claude Code

Components (with test-IDs):
- NEW: ThemeProvider.tsx - dark/light/system theme switching
- NEW: ThemeToggle.tsx - theme toggle dropdown button
- MERGED: AgentCard.tsx - added spokenLanguage, agentType, contentAutonomy
- MERGED: CreateAgentDialog.tsx - added influencer type, spoken language selector

Documentation:
- NEW: docs/AGENT_CONTROL.md - Agent Control API documentation

Fix:
- Fixed unused parameter warning in brain-proxy.ts

Features merged from PRs:
- PR #2: ThemeProvider, ThemeToggle
- PR #4: Influencer agent type, Serbian language support, content autonomy
- PR #7: AGENT_CONTROL.md API documentation

All components include data-testid attributes following naming convention:
cloudagents.{component}.{element}.{action}

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jan 1, 2026

Copy link
Copy Markdown

@sentry review

🤖 Auto-fixed by GitHub Actions
Comment on lines 133 to +143
data-testid="cloudagents.agent.create.description.input"
/>
</div>

{/* Grid für Programmiersprache und gesprochene Sprache */}
<div className="grid grid-cols-2 gap-4">
<div className="space-y-2">
<Label htmlFor="language">Programmiersprache</Label>
<Select value={language} onValueChange={setLanguage}>
<SelectTrigger data-testid="cloudagents.agent.create.language.select">
<SelectValue />

This comment was marked as outdated.

Components updated:
- ActivityLog.tsx: cloudagents.activitylog.* test-IDs
- DemoDashboard.tsx: cloudagents.demodashboard.* test-IDs
- DemoPage.tsx: cloudagents.demopage.* test-IDs
- StatsCard.tsx: cloudagents.statscard.* test-IDs
- StatusDashboard.tsx: cloudagents.statusdashboard.* test-IDs
- TeamAgentCard.tsx: cloudagents.teamagent.* test-IDs
- TeamAgentList.tsx: cloudagents.teamagentlist.* test-IDs

All test-IDs follow the naming convention: cloudagents.{component}.{element}

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jan 1, 2026

Copy link
Copy Markdown

@sentry review

🤖 Auto-fixed by GitHub Actions
@dsactivi-2
dsactivi-2 merged commit 11a5d01 into main Jan 1, 2026
1 check passed
dsactivi-2 pushed a commit that referenced this pull request Mar 2, 2026
feat: TypeScript Migration with Jest Support
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