Skip to content

Commit 07947d1

Browse files
committed
feat(logview): add navigation in logview
1 parent 2b4e656 commit 07947d1

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ feature/bugfix PR
3434
### PR流程
3535
TSW团队会查看所有的PR,我们会运行一些代码检查和测试,一经测试通过,我们会接受这次PR,但不会立即将代码合并到master分支上,会有一点延迟。
3636

37-
当您准备pull requests时,请确保已经完成以下几个步骤:
37+
当您准备PR时,请确保已经完成以下几个步骤:
3838

3939
1. 将仓库fork下来并基于`master`分支创建您的开发分支。
4040
2. 如果您更改了APIs请更新代码及文档。

README_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ docker run -v configure_dir:/data/release/node_modules -p 8080:80 tsw
6969

7070
Find a bug or have a feature request? Please read the [issues](https://github.com/Tencent/TSW/issues) guidelines and search for existing and closed issues.
7171

72-
If your problem or idea is not addressed yet, please read through our [contributing guidelines](./CONTRIBUTING.md) and open a new [issues](https://github.com/Tencent/TSW/issues).
72+
If your problem or idea is not addressed yet, please read through our [contributing guidelines](./CONTRIBUTING_en.md) and open a new [issues](https://github.com/Tencent/TSW/issues).
7373

7474
## License
7575

bin/tsw/util/auto-report/src/view.tmpl.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,16 @@
7474
</head>
7575
<body>
7676
<div class="view-title">
77-
<a class="button" href="<%=window && window.request && window.request.REQUEST && window.request.REQUEST.pathname && window.request.REQUEST.pathname.replace('/log/view/','/log/download/')%>" target="_blank">下载全部抓包</a>
7877
<a class="button r" href="https://www.telerik.com/fiddler" target="_blank">Fiddler下载</a>
7978
<a class="button r" href="https://github.com/avwo/whistle" target="_blank">Whistle下载(mac推荐)</a>
8079
<label class="button label" style="cursor:pointer;" id="showErrorLogItem"><input type="checkbox" id="showErrorLogItemChk" value="showErrorLogItem">仅显示有错误的</label>
8180
<label class="button label" style="cursor:pointer;" id="showRequestListItem"><input type="checkbox" id="showRequestListChk" value="showRequestList">快速显示请求列表</label>
8281
<%if(appid){%>
8382
<a class="button" href="/app/status" target="_blank">实时监控</a>
8483
<a class="button" href="/h5test/page" target="_blank">测试环境</a>
84+
<a class="button" href="/profile" target="_blank">个人主页</a>
85+
<a class="button" href="/runtime/report" target="_blank">runtime</a>
86+
<a class="button" href="/project" target="_blank">应用详情</a>
8587
<%}else{%>
8688
<a class="button" href="/h5test/page/alpha" target="_blank">临时染色</a>
8789
<%}%>

bin/tsw/util/auto-report/tmpl.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,9 @@ define(function(require, exports, module) {
293293
groupArr = tmp;
294294

295295
var XSS = plug('util/xss.js');
296-
__p.push('<html>\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <title>TSW云抓包&#8482;</title>\n <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />\n <link href="/static/tsw/styles/logview/style.css" rel="stylesheet">\n</head>\n<body>\n <div class="view-title">\n <a class="button" href="');
297-
_p(window && window.request && window.request.REQUEST && window.request.REQUEST.pathname && window.request.REQUEST.pathname.replace('/log/view/', '/log/download/'));
298-
__p.push('" target="_blank">下载全部抓包</a>\n <a class="button r" href="https://www.telerik.com/fiddler" target="_blank">Fiddler下载</a>\n <a class="button r" href="https://github.com/avwo/whistle" target="_blank">Whistle下载(mac推荐)</a>\n <label class="button label" style="cursor:pointer;" id="showErrorLogItem"><input type="checkbox" id="showErrorLogItemChk" value="showErrorLogItem">仅显示有错误的</label>\n <label class="button label" style="cursor:pointer;" id="showRequestListItem"><input type="checkbox" id="showRequestListChk" value="showRequestList">快速显示请求列表</label>');
296+
__p.push('<html>\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <title>TSW云抓包&#8482;</title>\n <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />\n <link href="/static/tsw/styles/logview/style.css" rel="stylesheet">\n</head>\n<body>\n <div class="view-title">\n <a class="button r" href="https://www.telerik.com/fiddler" target="_blank">Fiddler下载</a>\n <a class="button r" href="https://github.com/avwo/whistle" target="_blank">Whistle下载(mac推荐)</a>\n <label class="button label" style="cursor:pointer;" id="showErrorLogItem"><input type="checkbox" id="showErrorLogItemChk" value="showErrorLogItem">仅显示有错误的</label>\n <label class="button label" style="cursor:pointer;" id="showRequestListItem"><input type="checkbox" id="showRequestListChk" value="showRequestList">快速显示请求列表</label>');
299297
if (appid) {
300-
__p.push(' <a class="button" href="https://github.com/app/status" target="_blank">实时监控</a>\n <a class="button" href="https://github.com/h5test/page" target="_blank">测试环境</a>');
298+
__p.push(' <a class="button" href="https://github.com/app/status" target="_blank">实时监控</a>\n <a class="button" href="https://github.com/h5test/page" target="_blank">测试环境</a>\n <a class="button" href="https://github.com/profile" target="_blank">个人主页</a>\n <a class="button" href="https://github.com/runtime/report" target="_blank">runtime</a>\n <a class="button" href="https://github.com/project" target="_blank">应用详情</a>');
301299
} else {
302300
__p.push(' <a class="button" href="/h5test/page/alpha" target="_blank">临时染色</a>');
303301
}__p.push(' <label class="button" target="_blank" title="item/user/userLimit">');

0 commit comments

Comments
 (0)