-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/Lu17301156525/tiny-engin…
…e-webservice into develop
- Loading branch information
Showing
21 changed files
with
1,431 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: '🐛 Bug report' | ||
description: Create a report to help us improve Tiny Engine | ||
title: '🐛 [Bug]: ' | ||
labels: ['🐛 bug'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please fill out the following carefully in order to better fix the problem. | ||
- type: input | ||
id: Environment | ||
attributes: | ||
label: Environment | ||
description: | | ||
**Depending on your browser and operating system, websites may behave differently from one environment to another. Make sure your developers know your technical environment.** | ||
placeholder: Please browser information. | ||
validations: | ||
required: true | ||
- type: input | ||
id: node-version | ||
attributes: | ||
label: Version | ||
description: | | ||
### **Check if the issue is reproducible with the latest stable version.** | ||
You can use the command `node -v` to view it | ||
placeholder: latest | ||
validations: | ||
required: true | ||
- type: input | ||
id: tiny-vue-version | ||
attributes: | ||
label: Version | ||
description: | | ||
### **Check if the issue is reproducible with the latest stable version.** | ||
You can use the command `npm ls @opentiny/vue` to view it | ||
placeholder: latest | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: minimal-repo | ||
attributes: | ||
label: Link to minimal reproduction | ||
description: | | ||
**Provide a streamlined CodePen / CodeSandbox or GitHub repository link as much as possible. Please don't fill in a link randomly, it will only close your issue directly.** | ||
placeholder: Please Input | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Step to reproduce | ||
description: | | ||
**After the replay is turned on, what actions do we need to perform to make the bug appear? Simple and clear steps can help us locate the problem more quickly. Please clearly describe the steps of reproducing the issue. Issues without clear reproducing steps will not be repaired. If the issue marked with 'need reproduction' does not provide relevant steps within 7 days, it will be closed directly.** | ||
placeholder: Please Input | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: What is expected | ||
placeholder: Please Input | ||
- type: textarea | ||
id: actually | ||
attributes: | ||
label: What is actually happening | ||
placeholder: Please Input | ||
- type: textarea | ||
id: additional-comments | ||
attributes: | ||
label: Any additional comments (optional) | ||
description: | | ||
**Some background / context of how you ran into this bug.** | ||
placeholder: Please Input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Questions or need help | ||
url: https://github.com/opentiny/tiny-engine/discussions | ||
about: Add this WeChat(opentiny), we will invite you to the WeChat discussion group later. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: ✨ Feature Request | ||
description: Propose new features to @opentiny/tiny-engine-webservice to improve it. | ||
title: '✨ [Feature]: ' | ||
labels: ['✨ feature'] | ||
body: | ||
- type: textarea | ||
id: feature-solve | ||
attributes: | ||
label: What problem does this feature solve | ||
description: | | ||
Explain your use case, context, and rationale behind this feature request. More importantly, what is the end user experience you are trying to build that led to the need for this feature? | ||
placeholder: Please Input | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: feature-api | ||
attributes: | ||
label: What does the proposed API look like | ||
description: | | ||
Describe how you propose to solve the problem and provide code samples of how the API would work once implemented. Note that you can use Markdown to format your code blocks. | ||
placeholder: Please Input | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
English | [简体中文](https://github.com/opentiny/tiny-engine-webservice/blob/main/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.zh-CN.md) | ||
|
||
# PR | ||
|
||
## PR Checklist | ||
|
||
Please check if your PR fulfills the following requirements: | ||
|
||
- [ ] The commit message follows our [Commit Message Guidelines](https://github.com/opentiny/tiny-engine-webservice/blob/main/CONTRIBUTING.md) | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
- [ ] Docs have been added / updated (for bug fixes / features) | ||
- [ ] Built its own designer, fully self-validated | ||
|
||
## PR Type | ||
|
||
What kind of change does this PR introduce? | ||
|
||
<!-- Please check the one that applies to this PR using "x". --> | ||
|
||
- [ ] Bugfix | ||
- [ ] Feature | ||
- [ ] Code style update (formatting, local variables) | ||
- [ ] Refactoring (no functional changes, no api changes) | ||
- [ ] Build related changes | ||
- [ ] CI related changes | ||
- [ ] Documentation content changes | ||
- [ ] Other... Please describe: | ||
|
||
## Background and solution | ||
<!-- | ||
1. Describe the problem and the scenario. | ||
2. New features need to be described and attached with renderings. | ||
3. Screenshots or GIFs involving UI/Interaction changes/Bugfix before and after modification are required. | ||
--> | ||
|
||
### What is the current behavior? | ||
|
||
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> | ||
|
||
Issue Number: N/A | ||
|
||
### What is the new behavior? | ||
|
||
|
||
## Does this PR introduce a breaking change? | ||
|
||
- [ ] Yes | ||
- [ ] No | ||
|
||
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> | ||
|
||
## Other information |
52 changes: 52 additions & 0 deletions
52
.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.zh-CN.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[English](https://github.com/opentiny/tiny-engine-webservice/blob/main/.github/PULL_REQUEST_TEMPLATE.md) | 简体中文 | ||
|
||
# PR | ||
|
||
## PR Checklist | ||
|
||
请检查您的 PR 是否满足以下要求: | ||
|
||
- [ ] commit message遵循我们的[提交贡献指南](https://github.com/opentiny/tiny-engine-webservice/blob/main/CONTRIBUTING.zh-CN.md) | ||
- [ ] 添加了更改内容的测试用例(用于bugfix/功能) | ||
- [ ] 文档已添加/更新(用于bugfix/功能) | ||
- [ ] 是否构建了自己的设计器,经过了充分的自验证 | ||
|
||
## PR 类型 | ||
|
||
这个PR的类型是? | ||
|
||
- [ ] 日常 bug 修复 | ||
- [ ] 新特性支持 | ||
- [ ] 代码风格优化 | ||
- [ ] 重构 | ||
- [ ] 构建优化 | ||
- [ ] 测试用例 | ||
- [ ] 文档更新 | ||
- [ ] 分支合并 | ||
- [ ] 其他改动(请补充) | ||
|
||
|
||
## 需求背景和解决方案 | ||
|
||
<!-- | ||
1. 要解决的具体问题。 | ||
2. 新增特性,需要进行功能描述,并附上效果图。 | ||
3. 涉及UI/交互变动/Bugfix需要有修改前&修改后截图或 GIF。 | ||
--> | ||
|
||
|
||
Issue Number: N/A | ||
|
||
### 修改前 | ||
|
||
|
||
### 修改后 | ||
|
||
## 此PR是否含有 breaking change? | ||
|
||
- [ ] 是 | ||
- [ ] 否 | ||
|
||
<!-- 如果此 PR 包含breaking change,请在下面从用户角度描述具体变化和其他风险。--> | ||
|
||
## Other information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
authors: | ||
- allcontributors[bot] | ||
categories: | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- Semver-Major | ||
- breaking-change | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- Semver-Minor | ||
- feature | ||
- enhancement | ||
- title: Bug Fixes 🐛 | ||
labels: | ||
- Semver-Patch | ||
- bug | ||
- title: Other Changes | ||
labels: | ||
- documentation | ||
- refactoring | ||
- unit-test | ||
- ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: AI Code Review | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: anc95/ChatGPT-CodeReview@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
LANGUAGE: Chinese | ||
OPENAI_API_ENDPOINT: https://api.openai.com/v1 | ||
MODEL: gpt-3.5-turbo | ||
MAX_TOKENS: 4096 | ||
MAX_PATCH_LENGTH: 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: 'issue-translator' | ||
on: | ||
issue_comment: | ||
types: [created] | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: usthe/issues-translate-action@v2.7 | ||
with: | ||
IS_MODIFY_TITLE: false | ||
# 非必须,决定是否需要修改issue标题内容 | ||
# 若是true,则机器人账户@Issues-translate-bot必须拥有修改此仓库issue权限。可以通过邀请@Issues-translate-bot加入仓库协作者实现。 | ||
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. | ||
# 非必须,自定义机器人翻译的前缀开始内容。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.