[Good first issue] 为研究分享文案附上 Trail 项目链接
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- electron, react, typescript
- Domain
- content
Research direction
The share-text footer is built in packages/shared/src/export/card.ts around lines 162-176, and the copy action lives in packages/ui/src/components/research/ExportMenu.tsx around lines 97-109. Start with the existing footer assertions in packages/shared/src/export/card.test.ts, run bun test packages/shared/src/export/card.test.ts, and check that the fixed repository URL appears exactly once in both the normal and redacted share paths. Done means the copied text ends with https://github.com/ydflow/Trail and the tests pass.
Written by the indexing model from the issue text.
Description
场景
把报告的分享文案发到群聊或论坛时,读者看得到页脚 Trail research snapshot,但没有入口去了解 Trail 或复现体验。用合成报告调用 reportToShareCard(),已经核实纯文本没有仓库地址。
验收标准
- 使用「复制分享文案」时,文本末尾包含一条固定的项目入口
https://github.com/ydflow/Trail,可从复制结果直接打开。 - 用现有 fixture 验证链接只出现一次,同时覆盖正常的报告内容和既有脱敏分享路径。
源码起点
最小贡献可以从纯文本页脚及相关断言开始。测试入口 bun test packages/shared/src/export/card.test.ts。
认领前先说明准备完成的范围,再评论 /claim。参与方式见 #7。
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 37
- Avg merge
- 8h 8m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ydflow/Trail
-
area:desktop bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area:desktop bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
area:desktop bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process TerminationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nocobase/nocobase#11711 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Y2025: QBI forms print a negative taxable income; Form 8995-A lines 14b/14c check the wrong columnOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
readest/readest#7903 · 1 comment ·
Maintainers usually reply within 1 day