Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
name: Bug report
description: 报告可复现的问题(请勿上传 token 或会话正文
name: Bug report / 错误报告
description: Report a reproducible problem. Never upload tokens or conversation text. / 报告可复现问题,请勿上传 token 或会话正文
title: "[Bug] "
labels: ["bug"]
labels: ["bug", "needs triage"]
body:
- type: markdown
attributes:
value: "感谢反馈提交前请移除用户名、项目路径、token 和会话内容。"
value: "Thanks for helping improve MacPulse. Remove usernames, project paths, tokens, credentials, and conversation content before submitting. / 感谢反馈提交前请移除用户名、项目路径、token、凭证与会话内容。"
- type: input
id: version
attributes:
label: MacPulse 版本与构建号
label: MacPulse version and build / 版本与构建号
placeholder: "0.9.0 (2)"
validations:
required: true
- type: input
id: environment
attributes:
label: Mac macOS
label: Mac and macOS / 设备与系统
placeholder: "MacBook Pro M3 Pro / macOS 15.5"
validations:
required: true
- type: textarea
id: steps
attributes:
label: 复现步骤
label: Steps to reproduce / 复现步骤
description: Include the smallest reliable sequence. / 请提供最短且可靠的复现步骤。
validations:
required: true
- type: textarea
id: expected
attributes:
label: 预期与实际结果
label: Expected and actual result / 预期与实际结果
validations:
required: true
- type: checkboxes
id: privacy
attributes:
label: 隐私确认
label: Privacy confirmation / 隐私确认
options:
- label: 我已移除 token、会话正文与真实项目路径
- label: I removed tokens, credentials, conversation text, usernames, and real project paths. / 我已移除 token、凭证、会话正文、用户名和真实项目路径。
required: true
- type: checkboxes
id: release
attributes:
label: Release confirmation / 版本确认
options:
- label: I checked whether this also happens in the latest public release. / 我已确认该问题是否也出现在最新公开版本中。
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Security vulnerability / 安全漏洞
url: https://github.com/hepinga/MacPulse/security/advisories/new
about: Report vulnerabilities privately. Never post credentials in a public issue. / 请私密报告漏洞,不要在公开 Issue 中粘贴凭证。
- name: Download the latest release / 下载最新版本
url: https://github.com/hepinga/MacPulse/releases/latest
about: Check the latest signed public release before reporting an installation issue. / 报告安装问题前,请先核对最新签名公开版本。
30 changes: 23 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,40 @@
name: Feature request
description: 提出功能或体验建议
name: Feature request / 功能建议
description: Propose a user problem and a focused improvement. / 提出用户问题与聚焦的改进方案
title: "[Feature] "
labels: ["enhancement"]
labels: ["enhancement", "needs triage"]
body:
- type: markdown
attributes:
value: "Please describe the problem before the solution, and do not include private session content. / 请先描述问题,再描述方案;不要附上私人会话内容。"
- type: textarea
id: problem
attributes:
label: 想解决的问题
label: Problem to solve / 想解决的问题
validations:
required: true
- type: textarea
id: proposal
attributes:
label: 建议方案
label: Proposed outcome / 建议结果
validations:
required: true
- type: dropdown
id: area
attributes:
label: 功能区域
options: [系统监控, AI 用量, 额度提醒, 清理, Skills, 自动更新, 其他]
label: Product area / 功能区域
options:
- System monitoring / 系统监控
- AI usage / AI 用量
- Quotas and notifications / 额度与提醒
- Cleanup and memory / 清理与内存
- Skills
- UI and themes / 界面与主题
- Website / 官网
- Other / 其他
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered / 考虑过的替代方案
description: Optional, but useful for understanding the trade-off. / 可选,用于理解取舍。
33 changes: 33 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## What changed / 变更内容

<!-- Describe the user-visible outcome and why this change is needed. / 说明用户可见结果及变更原因。 -->

## Area / 涉及区域

- [ ] System monitoring / 系统监控
- [ ] AI usage or quota / AI 用量或额度
- [ ] Cleanup or memory tools / 清理或内存工具
- [ ] Skills
- [ ] UI or website / 界面或官网
- [ ] Documentation or community / 文档或社区

## Verification / 验证

<!-- List the exact commands and manual checks performed. / 列出实际执行的命令与人工检查。 -->

- [ ] `./scripts/test.sh`
- [ ] `./scripts/build.sh`
- [ ] Relevant manual checks completed / 已完成相关人工验证

## Privacy and safety / 隐私与安全

- [ ] Screenshots and logs contain no tokens, credentials, usernames, private paths, or conversation text.
- [ ] 截图与日志不包含 token、凭证、用户名、私人路径或会话正文。
- [ ] Cleanup/path changes preserve the documented safety invariants, or this PR does not touch them.
- [ ] 清理/路径改动保持既有安全不变量,或本 PR 未涉及这些逻辑。

## Release impact / 发布影响

- [ ] No release impact / 不影响发布
- [ ] Requires changelog entry / 需要更新变更记录
- [ ] Requires signing, notarization, appcast, or website coordination / 需要签名、公证、appcast 或官网协同
46 changes: 46 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Reviewable source of truth for repository labels. Sync these values in GitHub Settings.
- name: bug
color: D73A4A
description: Something is not working / 可复现的问题
- name: enhancement
color: A2EEEF
description: New feature or improvement / 新功能或改进
- name: documentation
color: 0075CA
description: Documentation changes / 文档改进
- name: privacy
color: 6F42C1
description: Privacy boundary or local-data handling / 隐私边界或本地数据处理
- name: security
color: B60205
description: Security-sensitive work; disclose vulnerabilities privately / 安全相关;漏洞请私密披露
- name: "area: system"
color: C5DEF5
description: System metrics, sampling, temperature, fans, or processes
- name: "area: ai-usage"
color: C5DEF5
description: Claude Code or Codex usage, tokens, and cost estimates
- name: "area: quota"
color: C5DEF5
description: Quota windows, countdowns, and notifications
- name: "area: cleanup"
color: C5DEF5
description: Cache cleanup, path safety, and memory release
- name: "area: skills"
color: C5DEF5
description: Local Skills discovery and lifecycle
- name: "area: ui"
color: C5DEF5
description: Menu bar, popover, dashboard, themes, or notch UI
- name: "area: website"
color: C5DEF5
description: Public website or optional community service
- name: needs triage
color: EDEDED
description: Awaiting maintainer review / 等待维护者分流
- name: good first issue
color: 7057FF
description: Approachable for a first contribution / 适合首次贡献
- name: help wanted
color: 008672
description: Maintainers welcome community help / 欢迎社区协助
Loading