Refactor project name from "Open Claude Design" to "Open Design" (#1)
* Refactor project name from "Open Claude Design" to "Open Design" - Updated project name in package.json, package-lock.json, and README files. - Changed CLI commands and references from "ocd" to "od". - Adjusted file structure references in documentation and code to reflect new naming conventions. - Enhanced .gitignore to include new runtime data files. - Updated metadata in LICENSE file to match new project name. * Add contributing guidelines in English and Chinese - Introduced CONTRIBUTING.md and CONTRIBUTING.zh-CN.md to provide clear instructions for contributors. - Outlined contribution types, local setup instructions, and merging criteria for skills and design systems. - Enhanced README files to reference the new contributing guidelines.
This commit is contained in:
@@ -12,7 +12,7 @@ triggers:
|
||||
- "control panel"
|
||||
- "后台"
|
||||
- "管理后台"
|
||||
ocd:
|
||||
od:
|
||||
mode: prototype
|
||||
platform: desktop
|
||||
scenario: operations
|
||||
@@ -49,7 +49,7 @@ Produce a single-screen admin / analytics dashboard.
|
||||
- `<!doctype html>` through `</html>`, CSS in one inline `<style>` block.
|
||||
- CSS Grid for the overall layout; Flexbox inside cards.
|
||||
- Semantic HTML: `<aside>`, `<header>`, `<main>`, `<section>`.
|
||||
- Tag each logical region with `data-ocd-id="slug"` for comment mode.
|
||||
- Tag each logical region with `data-od-id="slug"` for comment mode.
|
||||
5. **Charts**: inline SVG only, no JS libraries. A line chart is ~10 lines of
|
||||
`<polyline>` with a subtle area fill. A bar chart is N `<rect>`s with
|
||||
DS-accent fill. Label axes lightly (muted text, smaller scale).
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<aside class="sidebar" data-ocd-id="sidebar">
|
||||
<aside class="sidebar" data-od-id="sidebar">
|
||||
<div class="brand">◐ Pulse</div>
|
||||
<nav class="nav">
|
||||
<a href="#" class="active">Overview</a>
|
||||
@@ -63,7 +63,7 @@
|
||||
</nav>
|
||||
</aside>
|
||||
<main>
|
||||
<div class="topbar" data-ocd-id="topbar">
|
||||
<div class="topbar" data-od-id="topbar">
|
||||
<h1>Overview · April 2026</h1>
|
||||
<div class="right">
|
||||
<button class="btn-secondary">Last 30 days ▾</button>
|
||||
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kpis" data-ocd-id="kpis">
|
||||
<div class="kpis" data-od-id="kpis">
|
||||
<div class="kpi"><div class="label">MRR</div><div class="value">$48.2K</div><div class="delta up">+12.4% MoM</div></div>
|
||||
<div class="kpi"><div class="label">Active accounts</div><div class="value">3,184</div><div class="delta up">+204 this month</div></div>
|
||||
<div class="kpi"><div class="label">Churn (30d)</div><div class="value">2.1%</div><div class="delta down">+0.4 pp</div></div>
|
||||
@@ -79,7 +79,7 @@
|
||||
</div>
|
||||
|
||||
<div class="panels-row">
|
||||
<div class="panel" data-ocd-id="chart-panel">
|
||||
<div class="panel" data-od-id="chart-panel">
|
||||
<h3>Revenue · 30 days</h3>
|
||||
<div class="chart">
|
||||
<svg viewBox="0 0 600 240" preserveAspectRatio="none">
|
||||
@@ -87,7 +87,7 @@
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel" data-ocd-id="signups-panel">
|
||||
<div class="panel" data-od-id="signups-panel">
|
||||
<h3>New accounts</h3>
|
||||
<table>
|
||||
<thead><tr><th>Account</th><th>Plan</th><th>Status</th></tr></thead>
|
||||
@@ -101,7 +101,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel" data-ocd-id="recent-events">
|
||||
<div class="panel" data-od-id="recent-events">
|
||||
<h3>Recent events</h3>
|
||||
<table>
|
||||
<thead><tr><th>Time</th><th>Account</th><th>Event</th><th>Plan</th></tr></thead>
|
||||
|
||||
Reference in New Issue
Block a user