{share.name}
- {share.description ?{share.description}
: null} - {share.project_repo ?{share.project_repo}
: null} -From 7a091a9b44084c598d49a0e94f2bb2948bd5a643 Mon Sep 17 00:00:00 2001 From: SepComet <202308010230@stu.csust.edu.cn> Date: Sun, 10 May 2026 10:43:05 +0800 Subject: [PATCH] Improve share card scan order for faster link decisions Constraint: Keep the change scoped to shares card internals without altering logs/projects card structures Rejected: Showing project_repo as a separate row | duplicated ownership context and hurt visual hierarchy Confidence: high Scope-risk: narrow Directive: Keep shares card metadata compact and action-oriented; prefer tags left and time/action right Tested: npm run build Not-tested: Manual cross-device visual QA in browser after commit --- src/pages/shares.astro | 47 ++++++++++++++++----------- src/styles/global.css | 74 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 19 deletions(-) diff --git a/src/pages/shares.astro b/src/pages/shares.astro index 66d8a46..da7d020 100644 --- a/src/pages/shares.astro +++ b/src/pages/shares.astro @@ -36,26 +36,35 @@ const sourceLabels = { itemCount={shares.length} /> -