Skip to content

Commit

Permalink
chore: 🚀 issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiu-Jun committed Feb 20, 2025
1 parent cb27f7f commit 613e750
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 10 deletions.
64 changes: 64 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: 向 element-fabric-editor 提交 Bug
description: 创建一个 Issue 描述你遇到的问题。
title: '[Bug 上报] 请在此填写标题'
labels: ['🐞bug: need confirm']
body:
- type: markdown
attributes:
value: |
在向我们提交 Bug 报告前,请优先使用以下方式尝试解决问题:
- 在文档 [docs](https://qiu-jun.github.io/element-fabric-editor/index.html) 确认使用方法是否正确
- 尝试在 [Issue](https://github.com/Qiu-Jun/element-fabric-editor/issues) 列表中搜索相同问题
- type: dropdown
id: platform
attributes:
label: 浏览器
multiple: true
description: 选择对应的平台
options:
- chrome
- 火狐
- Edge
- 其他
validations:
required: true

- type: input
id: reproduce
attributes:
label: 复现Demo地址
description: |
我们需要你提供一个最小重现demo,以便于我们帮你排查问题。
validations:
required: true

- type: textarea
id: reproduce-steps
attributes:
label: 重现步骤
description: |
请提供一个最简洁清晰的重现步骤,方便我们快速重现问题。
validations:
required: true

- type: textarea
id: expected
attributes:
label: 期望的结果是什么?
validations:
required: true

- type: textarea
id: actually-happening
attributes:
label: 实际的结果是什么?
validations:
required: true

- type: textarea
id: extra
attributes:
label: 其他补充信息
description: |
根据你的分析,出现这个问题的原因可能在哪里,或者你认为可能产生关联的信息:比如 Vue 版本、vite 版本、Node 版本、采用哪种自动引入方案等,或者进行了哪些配置,使用了哪些插件等信息。
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 向 element-fabric-editor 提出新功能需求
description: 创建一个 Issue 描述一下你的功能需求。
title: '[新功能需求] 请在此填写标题'
labels: ['feature: need confirm']
body:
- type: markdown
attributes:
value: |
在提交功能需求前,请注意:
- 确认这是一个通用功能,并且无法通过现有的 API 或 Slot 实现。
- 尝试在 [Issue](https://github.com/Qiu-Jun/element-fabric-editor/issues)列表中搜索,并且没有发现同样的需求。
- 请确保描述清楚你的需求,以便其他开发者更好地理解你的需求。
- type: textarea
id: description
attributes:
label: 这个功能解决了什么问题?
description: 请尽可能详细地说明这个功能的使用场景。
validations:
required: true

- type: textarea
id: api
attributes:
label: 你期望的 API 是什么样子的?
description: 描述一下这个新功能的 API,并提供一些代码示例。
validations:
required: true
2 changes: 1 addition & 1 deletion env/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_TITLE=快图设计-开源图片编辑器-vue-fabric-editor
APP_BASE_PATH=/element-fabric-editor/
APP_APIHOST=https://www.kuaitu.cc
APP_APIHOST=https://github.kuaitu.cc
APP_ADMINAPIHOST=https://www.kuaitu.cc/admin
9 changes: 0 additions & 9 deletions typings/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module 'vue' {
export interface GlobalComponents {
ActiveMenu: typeof import('./../src/components/ActiveMenu.vue')['default']
Align: typeof import('./../src/components/Align.vue')['default']
AngleHandle: typeof import('./../src/components/ColorPicker/comps/AngleHandle.vue')['default']
Attribute: typeof import('./../src/components/Attribute.vue')['default']
AttributeBarcode: typeof import('./../src/components/AttributeBarcode.vue')['default']
AttributeBorder: typeof import('./../src/components/AttributeBorder.vue')['default']
Expand All @@ -26,19 +25,15 @@ declare module 'vue' {
CenterAlign: typeof import('./../src/components/CenterAlign.vue')['default']
ClipImage: typeof import('./../src/components/ClipImage.vue')['default']
Clone: typeof import('./../src/components/QuickOperation/components/Clone.vue')['default']
ColorPicker: typeof import('./../src/components/ColorPicker/index.vue')['default']
CropImage: typeof import('./../src/components/CropImage/index.vue')['default']
CropModal: typeof import('./../src/components/CropImage/CropModal.vue')['default']
Delete: typeof import('./../src/components/QuickOperation/components/Delete.vue')['default']
Download: typeof import('./../src/components/Download.vue')['default']
DragMode: typeof import('./../src/components/DragMode.vue')['default']
Edit: typeof import('./../src/components/QuickOperation/components/Edit.vue')['default']
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
ElButton: typeof import('element-plus/es')['ElButton']
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup']
ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
ElCol: typeof import('element-plus/es')['ElCol']
ElCollapse: typeof import('element-plus/es')['ElCollapse']
Expand Down Expand Up @@ -93,12 +88,8 @@ declare module 'vue' {
RouterView: typeof import('vue-router')['RouterView']
SearchType: typeof import('./../src/components/common/SearchType.vue')['default']
SetSize: typeof import('./../src/components/SetSize.vue')['default']
Svg: typeof import('./../src/components/ColorPicker/comps/svg.vue')['default']
SvgIcon: typeof import('./../src/components/SvgIcon/SvgIcon.vue')['default']
TabPanel: typeof import('./../src/components/ColorPicker/comps/TabPanel.vue')['default']
Tabs: typeof import('./../src/components/ColorPicker/comps/Tabs.vue')['default']
TypeList: typeof import('./../src/components/common/TypeList.vue')['default']
Zoom: typeof import('./../src/components/Zoom.vue')['default']
}
export interface ComponentCustomProperties {
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
Expand Down

0 comments on commit 613e750

Please sign in to comment.