Skip to content

feat(campaign): redesign quote wall cards, admin-only retract, see-all link#5984

Open
yingshinlee wants to merge 3 commits into
developfrom
feat/campaign-page
Open

feat(campaign): redesign quote wall cards, admin-only retract, see-all link#5984
yingshinlee wants to merge 3 commits into
developfrom
feat/campaign-page

Conversation

@yingshinlee

Copy link
Copy Markdown
Collaborator

七日書活動頁・金句牆一批調整(搭配 server PR「移除金句數量限制」)。base = develop。

改動

  • 金句字級 → text15(=活動說明)
  • 卡片重設計(Variant A・精緻引用版):淡底圓角卡、綠色 ❝ 引號、作者與「回原文」用細線分層;拿掉不合規的 2px 綠左線
  • 撤下鈕改成 站方專屬viewer.isAdmin),一般用戶(含貼者/作者)看不到
  • **band header 新增「查看全部金句」**外部連結 → freewriting.matters.town/memo-wall;原本的「View all {count}」彈窗鈕移到卡片下方
  • 討論區↔參與者虛線上下間距改一致
  • 分隔線改用規範色 #ddd
  • 清掉沒用的 QuoteCard index prop

驗證

  • ✅ 本機 npm run linttsc --noEmit 全綠
  • ✅ 三 agent 對抗式 review 全 pass
  • ⚠️ 金句牆在本機不 render → 卡片視覺請在 Vercel preview

…l link

- quote text → text15 (matches the campaign description)
- refined card: light fill, green quote mark, author/back-link split by a
  DS-compliant #ddd rule; drop the off-spec 2px green left rule
- retract is staff-only (viewer.isAdmin); posters/authors can't self-retract
- add a "see all quotes" pill in the band header → external museum wall; move
  the per-campaign "view all" dialog button below the cards
- even out the dashed-rule spacing between discussion and participants
- drop the now-unused QuoteCard index prop

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yingshinlee yingshinlee requested a review from a team as a code owner June 22, 2026 18:28
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
matters-web Ready Ready Preview Jun 23, 2026 4:12am

Request Review

- join band cards into one strip: outer frame + per-card divider, no gaps
- make the whole card a stretched link to the source article; keep the
  admin-only retract row clickable above the overlay
- remove the "back to article" footer link
- match quote text to the campaign description (text15 / 1.733rem / grey-dark)
- drop the per-campaign "view all quotes" dialog button below the band,
  keeping only the top-right museum pill

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Quote text was still reading too large/airy next to the article feed
summary. Switch .quote from text15/1.733rem to text14/1.375rem to match
ArticleDigest/Feed .description exactly (colour already grey-dark).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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