A short demo GIF for the README

未关闭
#26 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
62/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
electron, markdown, threejs, typescript
领域
documentation

调研方向

Start with scripts/desktop-shot.mjs and src/desktop/shotSteps.ts to see how the offscreen capture runs its steps, then look at the example files in scripts/shots/. Write a step file that spins the sample record, double-clicks a frond, and slides Body, Groups, Chart, then run npm run desktop:shot against the sample vault. Done means a GIF or MP4 under 8 MB in docs/screenshots/, linked near the top of the README, with npm run check passing.

由索引模型根据 Issue 内容生成。

描述

documentation help wanted

The README has still screenshots. What sells Cortex is motion: the turntable spin and the shape bar moving every point from the body into groups and into a chart.

Expected

A 10-20 second GIF or MP4 at the top of the README, under about 8 MB so GitHub plays it inline, made only from the sample record: spin, double-click a frond, then slide Body → Groups → Chart.

Setup

Read CONTRIBUTING.md and docs/DEVELOPMENT.md (the Cortex Desktop section explains the screenshot tool).

git clone https://github.com/A21-devs/cortex.git && cd cortex
npm ci
npm run sample                                   # prints the sample vault's folder
npm run desktop:shot -- --vault="<sample vault>" --out=.tmp/shots

Files to look at

  • scripts/desktop-shot.mjs: opens Cortex Desktop offscreen at 60 fps, runs steps, writes PNGs
  • src/desktop/shotSteps.ts: the step types (wait, click, eval, size, capture)
  • scripts/shots/: example step files
  • docs/screenshots/: where the current images live

Acceptance criteria

  • a step file (or a small script) that captures the frames, so the demo can be remade after UI changes
  • the GIF or MP4 in docs/screenshots/ and shown near the top of the README
  • sample record only: no real names, paths, note titles or chat text
  • npm run check passes

Taking it

Comment here if you want to take it, and I will assign it to you. Ask questions in this issue, I will answer here.

主要语言
TypeScript
星标
2
派生
1
平均合并
5 分钟
30 天内合并 PR
19

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

A21-devs/cortex 的其他 Issue

查看 A21-devs/cortex 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。