Skip to content

Commit

Permalink
Merge branch 'dev' into openai
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Feb 15, 2024
2 parents 971d1fa + 1202c3f commit 3183a35
Show file tree
Hide file tree
Showing 155 changed files with 7,410 additions and 766 deletions.
20 changes: 16 additions & 4 deletions .github/ISSUE_TEMPLATE/cn_bug_report_zh.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 反馈问题
description: 反馈问题
title: "🐞 反馈问题:"
title: "🐞 反馈问题:{{请填写标题,不要留空}}"
labels: ["bug"]

body:
Expand All @@ -22,18 +22,30 @@ body:
id: description
attributes:
label: 问题描述
description: 请详细描述你所遇到的问题,确保开发者能够理解、重现该问题。如果上下文信息不足,开发者无法定位,问题会被降低优先级或忽略。
description: 请详细描述你所遇到的问题,确保开发者能够理解、重现该问题。如果上下文信息不足,导致开发者无法定位,问题会被降低优先级或忽略。
placeholder: 问题描述
validations:
required: true

- type: dropdown
id: reproducible
attributes:
label: 该问题是否可以稳定重现?
multiple: false
options:
- 可重现
- 不可重现
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: 重现步骤
description: |
请描述如何重现该问题。如果该问题是偶发性的,或者需要特定的操作步骤才能重现,请一定要详细提供重现步骤,否则开发者无法定位问题。
(如果遇到一些很奇怪的问题,可以先尝试重启 Easydict,重启电脑,或卸载重装应用,看能否解决问题 🤔)
如果该问题可重现,请一定要详细提供重现步骤,否则开发者无法定位问题。
如果该问题是偶发性的,可以先尝试重启 Easydict,重启电脑,或卸载重装应用,看能否解决问题 🤔
注意:鉴于开发者精力有限,目前只会处理可稳定重现的问题。对于不可重现的问题,当前只会简单记录下来,观察后续。
placeholder: 重现步骤
validations:
required: true
Expand Down
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/cn_feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 功能建议
description: 功能建议
title: "🚀 功能建议:"
title: "🚀 功能建议:{{请填写标题,不要留空}}"
labels: ["enhancement"]

body:
Expand All @@ -15,6 +15,8 @@ body:
required: true
- label: Easydict 已升级到 [最新版本](https://github.com/tisfeng/Easydict/releases)
required: true
- label: 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭**
required: true

- type: textarea
id: feature_description
Expand All @@ -29,7 +31,9 @@ body:
id: feature_usecase
attributes:
label: 使用场景
description: 请描述你希望功能的使用场景,有无其他类似可供参考的 App 功能等。
description: |
请描述你希望功能的使用场景,有无其他类似可供参考的 App 功能等。
如果该功能没有明确的使用场景,或是无法被开发者理解,可能会被降低优先级或忽略,因此请务必清晰描述。
placeholder: 使用场景
validations:
required: true
Expand Down
22 changes: 17 additions & 5 deletions .github/ISSUE_TEMPLATE/en_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug report
description: Report an issue
title: "🐞 Bug Report: "
title: "🐞 Bug Report: {{Please fill in the title, don't leave it blank}} "
labels: ["bug"]

body:
Expand All @@ -27,14 +27,26 @@ body:
validations:
required: true

- type: dropdown
id: reproducible
attributes:
label: Is the issue consistently reproducible?
multiple: false
options:
- Reproducible
- Non-reproducible
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: Reproduction steps
label: Steps to Reproduce
description: |
Please describe how to reproduce the problem. If the problem is episodic or requires specific action steps to reproduce, please describe it in as much detail as possible, otherwise the developer will not be able to locate the problem.
(If the problem is episodic, try restarting Easydict, restarting the device, or uninstalling and reinstalling the app to see if that solves the problem 🤔)
placeholder: Reproduction steps
If the issue is reproducible, please provide detailed steps to reproduce it. Otherwise, the developer may not be able to locate the issue.
If the issue is intermittent, you can try restarting Easydict, restarting your computer, or uninstalling and reinstalling the application to see if the problem can be resolved 🤔
Note: Given the limited resources of the developer, only issues that can be reliably reproduced will be addressed at this time. For non-reproducible issues, they will be simply recorded for future observation.
placeholder: Steps to Reproduce
validations:
required: true

Expand Down
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/en_feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Feature request
description: Request a new feature
title: "🚀 Feature Request: "
title: "🚀 Feature Request: {{Please fill in the title, don't leave it blank}}"
labels: ["enhancement"]

body:
Expand All @@ -15,6 +15,8 @@ body:
required: true
- label: Easydict has been upgraded to the [latest version](https://github.com/tisfeng/Easydict/releases)
required: true
- label: I understand and agree to the above, and understand that the project maintainer has limited energy, **issues that do not follow the rules may be ignored or closed directly**
required: true

- type: textarea
id: feature_description
Expand All @@ -29,7 +31,9 @@ body:
id: feature_usecase
attributes:
label: Use case
description: Please describe the use case of the feature you're requesting, and whether there are any similar app features for reference.
description: |
Please describe the use case of the feature you're requesting, and whether there are any similar app features for reference.
If the feature has no actual usage scenarios or is not well understood by the developers it might get deprioritized or even ignored, so be sure to describe it clearly.
placeholder: Use case
validations:
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-13') || 'ubuntu-latest' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-14.2') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
Expand All @@ -48,7 +48,7 @@ jobs:
if: matrix.language == 'swift'
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.1'
xcode-version: '15.2'

- name: Checkout repository
uses: actions/checkout@v4
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/objective-c-xcode.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/swift.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Easydict.xcconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DEVELOPMENT_TEAM = 79NQA2XYHM
DEVELOPMENT_TEAM = 45Z6V4YD5U
CODE_SIGN_IDENTITY = Apple Development
CODE_SIGN_STYLE = Automatic
Loading

0 comments on commit 3183a35

Please sign in to comment.