Skip to content

feat(site): redesign — structure-first narrative + animated Discord mock#15

Merged
xuhongbo merged 1 commit into
mainfrom
site/redesign
Apr 10, 2026
Merged

feat(site): redesign — structure-first narrative + animated Discord mock#15
xuhongbo merged 1 commit into
mainfrom
site/redesign

Conversation

@xuhongbo

Copy link
Copy Markdown
Owner

Summary

  • Hero 重写:从"远程遥控"叙事切换到结构优先 — "一个 Discord 服务器,装下你所有 AI 编码任务"。双屏 workflow demo(phone + terminal)4 幕循环切换不同 session 频道
  • 新增 OneServerSection:高保真 Discord 桌面 mock,动画演示真实 create→jump→use 流程。4 场景跨 2 个项目 (agentcord + threadcord) 和 2 个引擎 (Claude + Codex) 循环
  • 全站文案校对:所有命令参数名、产品能力描述对照代码库核实。修正 /agent spawn 参数名 (label)、双引擎限制 (per-session 而非 per-message)、竞品定位 (Claude Code remote 需订阅、Codex 无 remote)
  • Tailwind 迁移:CSS 从 1435 行压缩到 ~170 行。新增 postcss.config.js + 扩展 tailwind.config.ts(ink/mint/violet/cyan/discord 色系、glow shadow、flow-particle 动画)
  • Why Devs bento 重组:大卡换成"NATIVE HIERARCHY — 4 层 Discord 原生结构",突出 Server/Category/Channel/Thread → Workspace/Project/Session/Subagent 映射作为核心差异化

Competitive context

基于 GitHub 竞品调研(zebbern/claude-code-discord 168★、timoconnellaus 69★、stravu/crystal 3012★ 等),workspacecord 是唯一同时支持多项目 × 多 session × 远程的 Discord 工具。新文案围绕这个二维优势展开。

Test plan

  • pnpm typecheck — clean
  • pnpm test — 13/13 passed (workflow-steps 9 + app 4)
  • pnpm build — clean, no warnings
  • Hero 首屏 Chrome 目视确认(结构优先标题 + 双屏 demo + 4 幕循环)
  • DOM 验证 OneServerSection(4 scene 按钮 + 3 categories + 动画切换)
  • 手动目视确认下半部 sections(Chrome screenshot tool 对滚动后视图有已知 bug)

🤖 Generated with Claude Code

…nd, animated Discord mock

Complete overhaul of workspacecord.xuhongbo.us:

**Hero**: "一个 Discord 服务器,装下你所有 AI 编码任务。" — structure-first positioning
replacing the old "remote" angle. Dual-screen workflow demo (phone + terminal)
with 4-scene channel-switching animation (SEND / PARALLEL / APPROVE / ARCHIVE).

**New: OneServerSection** — animated high-fidelity Discord desktop mock showing
the real create→jump→use flow: /agent spawn in #control → Agent Created card →
jump to session channel → agent streams work. 4 scenes cycling across 2 projects
(agentcord + threadcord) and 2 engines (Claude + Codex). Sidebar highlights
sync with active channel.

**Content rewrite**: All copy fact-checked against real codebase — fixed /agent spawn
parameter name (label not goal), /subagent run (label not task), dual engine
clarification (per-session not per-message). Problem section reframed around
competitive landscape (Claude Code remote needs subscription, Codex has no remote).

**Tailwind migration**: CSS reduced from 1435 → ~170 lines. Added postcss.config.js,
extended tailwind.config.ts with ink/mint/violet/cyan/discord color system, glow
shadows, flow-particle keyframes. All components use utility classes.

**Why Devs bento**: Lead card changed to "NATIVE HIERARCHY — 4 层 Discord 原生结构"
emphasizing the Server/Category/Channel/Thread → Workspace/Project/Session/Subagent
mapping as the core differentiator.

Tests: 13/13 passed. TypeCheck clean. Build clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@xuhongbo xuhongbo merged commit 952d778 into main Apr 10, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4ee962d431

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +84 to +87
onClick={() => {
setActiveIndex(index);
setIsPaused(true);
}}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore autoplay after manual scene selection

Clicking a scene chip sets isPaused to true, but the component only resumes autoplay via the wrapper’s onMouseLeave. On devices without hover (common touch phones/tablets), onMouseLeave is never fired, so a single tap freezes the demo on that scene until the page is reloaded. This prevents mobile users from seeing the full rotating narrative unless they never interact with the controls.

Useful? React with 👍 / 👎.

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