← 教程列表
news

Task 1: Update `frame-template.html`

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 9 阅读

**Files:** - Modify: `lib/brainstorm-server/frame-template.html` - [ ] **Step 1: Remove the feedback footer HTML** Replace the feedback-footer div (lines 227-233) with a selection indicator bar: ```html

Click an option above, then return to the terminal
``` Also replace the default content inside `#claude-content` (lines 220-223) with the content placeholder: ```html
``` - [ ] **Step 2: Replace feedback footer CSS with indicator bar CSS** Remove the `.feedback-footer`, `.feedback-footer label`, `.feedback-row`, and the textarea/button styles within `.feedback-footer` (lines 82-112). Add indicator bar CSS: ```css .indicator-bar { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 0.5rem 1.5rem; flex-shrink: 0; text-align: center; } .indicator-bar span { font-size: 0.75rem; color: var(--text-secondary); } .indicator-bar .selected-text { color: var(--accent); font-weight: 500; } ``` - [ ] **Step 3: Verify template renders** Run the test suite to check the template still loads: ```bash cd /Users/drewritter/prime-rad/superpowers && node tests/brainstorm-server/server.test.js ``` Expected: Tests 1-5 should still pass. Tests 6-8 may fail (expected — they assert old structure). - [ ] **Step 4: Commit** ```bash git add lib/brainstorm-server/frame-template.html git commit -m "Replace feedback footer with selection indicator bar in brainstorm template" ``` ---

← 返回教程列表 AI8899 · 内容仅供学习参考