feat(hands): restructure Hands UI with Chinese localization
Major changes: - Add HandList.tsx component for left sidebar - Add HandTaskPanel.tsx for middle content area - Restructure Sidebar tabs: 分身/HANDS/Workflow - Remove Hands tab from RightPanel - Localize all UI text to Chinese - Archive legacy OpenClaw documentation - Add Hands integration lessons document - Update feature checklist with new components UI improvements: - Left sidebar now shows Hands list with status icons - Middle area shows selected Hand's tasks and results - Consistent styling with Tailwind CSS - Chinese status labels and buttons Documentation: - Create docs/archive/openclaw-legacy/ for old docs - Add docs/knowledge-base/hands-integration-lessons.md - Update docs/knowledge-base/feature-checklist.md - Update docs/knowledge-base/README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
26
extract_privacy.js
Normal file
26
extract_privacy.js
Normal file
@@ -0,0 +1,26 @@
|
||||
const fs = require('fs'); const content = fs.readFileSync('g:/ZClaw/desktop/src/components/Settings/Privacy.tsx', 'utf8'); fs.writeFileSync('g:/ZClaw/desktop/src/components/Settings/Privacy.tsx', content.substring(0, content.lastIndexOf('<div className="flex gap-8">')) + ' <div className="flex gap-4 mt-6 pt-4 border-t border-gray-100">
|
||||
<a href="#" className="text-orange-600 text-xs hover:underline flex items-center gap-1">
|
||||
<ExternalLink className="w-3 h-3" />
|
||||
<20><>˽<EFBFBD><CBBD><EFBFBD><EFBFBD>
|
||||
</a>
|
||||
<a href="#" className="text-orange-600 text-xs hover:underline flex items-center gap-1">
|
||||
<ExternalLink className="w-3 h-3" />
|
||||
<20>û<EFBFBD>Э<EFBFBD><D0AD>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function Toggle({ checked, onChange }: { checked: boolean; onChange: (v: boolean) => void }) {
|
||||
return (
|
||||
<button
|
||||
onClick={() => onChange(!checked)}
|
||||
className={`w-11 h-6 rounded-full transition-colors relative flex-shrink-0 mt-1 `}
|
||||
>
|
||||
<span className={`block w-5 h-5 bg-white rounded-full shadow-sm absolute top-0.5 transition-all `} />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
');
|
||||
Reference in New Issue
Block a user