Skip to content

README 截图规范落地:hop(home/analytics/admin) - #169

Merged
todosdev[bot] merged 2 commits into
mainfrom
tds/conv-01a1a5e0-1a06-7438-82b6-fa3489cf367c
Nov 4, 2026
Merged

todosdev[bot] merged 2 commits into
mainfrom
tds/conv-01a1a5e0-1a06-7438-82b6-fa3489cf367c

Conversation

@todosdev

@todosdev todosdev Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Screenshots section to both READMEs (## Screenshots in English, ## 界面预览 in Chinese) right after the intro and before Features, so visitors see the product before the feature list.
  • Ships three real captures of the current UI — link dashboard, click analytics, admin users panel — taken from a locally run build, using seed data only (no real accounts or production links in frame).
  • Documentation-and-assets only: no source, dependency or deploy-configuration changes.

Changes

  • .github/assets/imgs/ (new): home.webp, analytics.webp, admin.webp — desktop 1440×900 viewport captures, WebP quality 80, 53 KB / 40 KB / 31 KB (122 KB total, limits are 300 KB per image and 2 MB per repo), kebab-case names.
  • README.md: new ## Screenshots section — centered hero image of the dashboard, then a two-column table with analytics and admin, referenced by relative path with descriptive alt text.
  • README.zh-CN.md: same structure under ## 界面预览, Chinese alt text, identical assets.

Testing

  • pnpm check (biome): 118 files, no findings. pnpm typecheck: 2/2 tasks pass. pnpm test: worker 129 pass / 0 fail, web 4 pass.
  • Images verified against the live UI: rendered from a built apps/web bundle served by wrangler dev with local D1 seeded through the real API and redirect endpoint; every page captured after data load and chart animation finished, with no loading/error/toast states and no horizontal overflow.
  • Image integrity: each WebP is 1440×900 and was compared pixel-by-pixel with the source PNG (PSNR 39.1–41.7 dB, 0.06–0.15 % of pixels differing by more than 32 — text edges only), so quality 80 leaves text legible and PNG fallback was not needed.
  • Markdown rendering checked by converting both READMEs with a GFM parser (centered hero + two-column table intact) and loading the rendered page in a browser: all three images resolve via relative path and report natural size 1440×900.

Todos added 2 commits November 4, 2026 17:36
Add .github/assets/screenshots (1440x900 WebP, q80) captured from a
locally built and seeded Hop instance, and reference them in both
READMEs as a centered hero image plus a two-column table.

Checkpoint: im1ZEeqScxRmGa0CLNlsm
Rename the screenshot directory per the corrected spec and update the
image references in both READMEs; file contents are unchanged.

Checkpoint: Jrmab0XOldjDtvcvm2jKH
@todosdev
todosdev Bot merged commit c00caf5 into main Nov 4, 2026
4 checks passed
@mapxn
mapxn deleted the tds/conv-01a1a5e0-1a06-7438-82b6-fa3489cf367c branch November 8, 2026 11:30
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.

0 participants