sergios / bug-report
用于生成报告的库。基于yii 2框架和工作区api。
2.5
2019-10-28 10:56 UTC
Requires
- php: >=7.0
- sergios/yii2-worksection: *
- yiisoft/yii2: >=2.0.1
- dev-master
- 2.5
- 2.4
- 2.3
- 2.2
- dev-dependabot/npm_and_yarn/json5-and-vue/cli-plugin-babel-and-vue/cli-service-2.2.3
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-vue/cli-service-1.4.2
- dev-dependabot/npm_and_yarn/node-sass-7.0.0
- dev-dependabot/npm_and_yarn/axios-0.21.1
This package is auto-updated.
Last update: 2024-09-04 16:13:15 UTC
README
composer require sergios/bug-report "*"
在frontend/config/params
参数中需要设置以下配置
'bugReport' => [ 'ipList' => "Список ip адрессов которым на лайве будет виден виджет" ]
同样,在文件frontend/config/main
中需要引入模块
'bootstrap' => ['bugReport'], 'modules' => [ 'bugReport' => 'sergios\bugReport\module\Handler', ],
在布局中需要引入小部件,它将输出到页面上的必要表单,弹出窗口,脚本,样式等
use sergios\bugReport\widgets\bugReportWidget\BugReportWidget; BugReportWidget::widget();
使用方法
首先需要在系统中进行身份验证。这可以通过顶部的图标或通过按Q + W + E
来实现。在出现的字段中,需要填写注册在worksection的email地址和任务的链接(整个链接)。
为了生成报告,需要使用相同的组合Q + W + E
(或点击顶部的图标)调用弹出窗口,插入照片(从设备加载,使用html2canvas进行截图或直接从剪贴板插入图片)并填写相应的字段。
为了标记问题部分,可以使用画笔或矩形。如果使用矩形,则会在表单中添加额外的字段供填写。