Skip to content

Commit 3a08fda

Browse files
committed
new
1 parent d4931d2 commit 3a08fda

64 files changed

Lines changed: 5272 additions & 2209 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release-on-version-change.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
-d '{
5353
"tag_name": "${{ env.VERSION }}",
5454
"name": "WebDataScope ${{ env.VERSION }} Release",
55-
"body": "Release version ${{ env.VERSION }}",
55+
"body": "Release version ${{ env.VERSION }}\n\n> [!IMPORTANT]\n> 关于版本的说明:Clash Verge 版本号遵循 x.y.z:x 为重大架构变更,y 为功能新增,z 为 Bug 修复。",
5656
"draft": false,
5757
"prerelease": false
58-
}'
58+
}'

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ WQ数据分析插件使用教程.docx
1414
WebData.zip
1515
WebDataRAW.zip
1616
others/*
17-
DEVELOPMENT.md
17+
DEVELOPMENT.md
18+
操作说明.md
19+
.analysis_repos/*

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,20 @@ WebDataScope是一个正在打造的Chrome/Edge插件。它可以让你在平台
55

66
## Star History
77

8-
[![Star History Chart](https://api.star-history.com/image?repos=zhangkaihua88/WebDataScope&type=date&legend=top-left)](https://www.star-history.com/?repos=zhangkaihua88%2FWebDataScope&type=date&legend=top-left)
8+
<a href="https://www.star-history.com/?repos=AlphaQuantKit%2FWebDataScope&type=date&logscale=&legend=top-left">
9+
<picture>
10+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=AlphaQuantKit/WebDataScope&type=date&theme=dark&legend=top-left" />
11+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=AlphaQuantKit/WebDataScope&type=date&legend=top-left" />
12+
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=AlphaQuantKit/WebDataScope&type=date&legend=top-left" />
13+
</picture>
14+
</a>
915

10-
# 存储的变量
11-
- `WQPSettings`: 插件设置
12-
- `WQPOPSAna`: Genius运算符使用分析结果
13-
- `WQPRankData`: Genius排名分析结果
1416
<!--
1517
# TODO
1618
- [ ] **fields的逐年覆盖率** (优先处理)
1719
- [ ] Genius排名分析的优化, 以增加准确性
18-
- [ ] 论坛中文搜索支持改为本地进行
19-
- 逐个抓取论坛数据
20-
- 之后进行本地搜索
2120
- [ ] BUG: Genius排名分析有时需要刷新一下才能显示数据
2221
- [ ] 未知功能可以选择起始时间
2322
- [ ] 运算符分析排除SA
2423
- [ ] 计算Self Corr -->
2524

26-
# Reference
27-
- [BiliScope](https://github.com/gaogaotiantian/biliscope)
28-
29-

manifest.json

Lines changed: 41 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,28 @@
22
"manifest_version": 3,
33
"name": "WorldQuant Scope",
44
"description": "WorldQuant Scope is a browser extension that provides a set of tools to help you navigate the WorldQuant platform.",
5-
"version": "0.10.21",
5+
"version": "1.0.0",
66
"author": "幻华",
77
"icons": {
88
"128": "img/logo.png"
99
},
1010
"action": {
1111
"default_title": "WorldQuant Scope - Tools for WorldQuant Platform",
12-
"default_popup": "src/html/popup/popup.html",
1312
"default_icon": "img/logo.png"
1413
},
14+
"side_panel": {
15+
"default_path": "src/ui/sidebar/sidebar.html"
16+
},
1517
"background": {
16-
"service_worker": "src/scripts/background.js",
18+
"service_worker": "src/background/background.js",
1719
"type": "module"
1820
},
1921
"content_scripts": [
2022
{
2123
"matches": ["https://platform.worldquantbrain.com/*"],
2224
"run_at": "document_start",
2325
"world": "MAIN",
24-
"js": ["src/scripts/patchColumns.js"]
26+
"js": ["src/content/platform/common/patchColumns.js"]
2527
},
2628
{
2729
"matches": [
@@ -31,40 +33,48 @@
3133
"*://platform.worldquantbrain.com/genius/*"
3234
],
3335
"js": [
34-
"src/scripts/lib/msgpack.min.js",
35-
"src/scripts/lib/pako.min.js",
36-
"src/scripts/lib/chart.js",
37-
"src/scripts/utils.js",
38-
"src/scripts/uiCard.js",
39-
"src/scripts/dataAna.js",
40-
"src/scripts/noMoreDifficulties.js",
41-
"src/scripts/requestMonitorUI.js"
36+
"src/vendor/js/msgpack.min.js",
37+
"src/vendor/js/pako.min.js",
38+
"src/vendor/js/chart.js",
39+
"src/content/shared/utils.js",
40+
"src/content/shared/uiCard.js",
41+
"src/content/platform/data/dataAna.js",
42+
"src/content/platform/common/noMoreDifficulties.js",
43+
"src/content/shared/requestMonitorUI.js"
4244
],
4345
"css": [
44-
"src/css/idcard.css"
46+
"src/content/platform/styles/idcard.css"
4547
]
4648
},
4749
{
4850
"matches": [
49-
"*://platform.worldquantbrain.com/profile/performance"
51+
"*://platform.worldquantbrain.com/*"
5052
],
5153
"js": [
52-
"src/scripts/performanceStyleFix.js"
54+
"src/content/platform/session/sessionTokenBridge.js"
5355
],
54-
"run_at": "document_end"
56+
"run_at": "document_start"
5557
},
5658
{
5759
"matches": [
58-
"*://support.worldquantbrain.com/*",
59-
"*://support.worldquantbrain.com/*"
60+
"*://platform.worldquantbrain.com/*"
6061
],
6162
"js": [
62-
"src/scripts/utils.js",
63-
"src/scripts/voteup.js"
63+
"src/content/platform/prodmemo/prodmemo.js"
6464
],
6565
"css": [
66-
"src/css/menu.css"
67-
]
66+
"src/content/platform/prodmemo/prodmemo.css"
67+
],
68+
"run_at": "document_start"
69+
},
70+
{
71+
"matches": [
72+
"*://platform.worldquantbrain.com/profile/performance"
73+
],
74+
"js": [
75+
"src/content/platform/common/performanceStyleFix.js"
76+
],
77+
"run_at": "document_end"
6878
},
6979
{
7080
"matches": [
@@ -73,7 +83,7 @@
7383
"*://platform.worldquantbrain.com/learn/operators"
7484
],
7585
"js": [
76-
"src/scripts/alphaDetailsPopup.js"
86+
"src/content/platform/common/alphaDetailsPopup.js"
7787
]
7888
}
7989
],
@@ -82,8 +92,13 @@
8292
"resources": [
8393
"data/*.bin",
8494
"data/*.json",
85-
"src/css/*.css",
86-
"src/scripts/lib/*.js"
95+
"src/vendor/js/*.js",
96+
"src/vendor/css/*.css",
97+
"src/content/platform/styles/*.css",
98+
"src/content/platform/prodmemo/*.css",
99+
"src/content/platform/distribution/*.css",
100+
"src/content/platform/genius/*.css",
101+
"src/content/platform/simulate/*.css"
87102
],
88103
"matches": [
89104
"*://platform.worldquantbrain.com/*"
@@ -99,6 +114,7 @@
99114
"cookies",
100115
"tabs",
101116
"storage",
117+
"sidePanel",
102118
"activeTab",
103119
"alarms",
104120
"notifications",

0 commit comments

Comments
 (0)