Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 合并 master 到 next #2493

Merged
merged 179 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
1734416
chore: 🤖 更新 changelog 文件 (#2186)
lijinke666 May 4, 2023
ce9dcab
fix: 复制时移除空控制符 (#2204)
lcx-seima May 11, 2023
6a8b85a
fix: 系统拦截快捷键后多选交互异常 (#2191)
lcx-seima May 12, 2023
a2d7a81
fix: 修复 meta name 同名时,hoverFocus 出错的问题 (#2187)
wjgogogo May 12, 2023
c878b66
docs: 更新自定义datacell示例 (#2208)
lcx-seima May 12, 2023
1a404e1
feat: 行列头和数值为空时,不渲染表格框架 (#2207)
stone-lyl May 15, 2023
6e98291
fix: 修复总计小计被意外 format 的问题 (#2209)
wjgogogo May 15, 2023
740462f
fix(core): only do compatibility of shift + scroll on Windows (#2206)
d2FuZ3h1ZG9uZw May 15, 2023
8b97fe6
chore: 🤖 更新 changelog 文件 (#2213)
lijinke666 May 16, 2023
83b8e4d
fix(core): can not set field height or width when the field name is s…
d2FuZ3h1ZG9uZw May 17, 2023
c15f8c8
fix: 明细表存在横向滚动条时多列头文本不居中 close #2199 (#2200)
wywppkd May 17, 2023
f1fbcdb
feat: 在行列头配置为空时,趋势分析表不渲染框架 (#2216)
stone-lyl May 19, 2023
8b26d9c
fix(core): can reset tooltip.renderTooltip in setOptions (#2210)
d2FuZ3h1ZG9uZw May 19, 2023
d3cdca0
fix: 修复树状模式下,总计小计格式化问题 (#2219)
wjgogogo May 22, 2023
71410e2
fix: 修复 dataCell linkField 不能点击的问题 (#2227)
wjgogogo May 23, 2023
2c72c81
chore: 🤖 更新 changelog 文件 (#2221)
lijinke666 May 23, 2023
2b2502a
chore: 🤖 更新 changelog 文件 (#2228)
lijinke666 May 23, 2023
b2ac77c
fix(core): highlight the column header cell and row header when data …
d2FuZ3h1ZG9uZw May 26, 2023
cc34ae9
docs: type InteractionStateTheme (#2234)
d2FuZ3h1ZG9uZw May 29, 2023
d23b8f2
fix(interaction): 修复列头隐藏后展开 icon 显示异常 close #2194 (#2224)
lijinke666 Jun 1, 2023
645c85c
feat: 表格滚动后触发hover (#2235)
d2FuZ3h1ZG9uZw Jun 2, 2023
83c48f7
fix(react): 更新react分页器定义 (#2238)
d2FuZ3h1ZG9uZw Jun 2, 2023
de86300
feat: support separate config of `hoverHighlight` (#2226)
d2FuZ3h1ZG9uZw Jun 7, 2023
8df8e05
chore: 🤖 更新 changelog 文件 (#2245)
lijinke666 Jun 12, 2023
1479134
docs: update DATA_CELL_SELECT_MOVE event (#2248)
d2FuZ3h1ZG9uZw Jun 13, 2023
a4021cb
fix: 交叉表圈选表头复制内容不正确 (#2254)
d2FuZ3h1ZG9uZw Jun 25, 2023
ae9f4ec
fix(core): 使用客户端的位置来计算调整大小的偏移量 (#2273)
d2FuZ3h1ZG9uZw Jul 7, 2023
589ebb5
fix(core): 删除范围选择中的错误拦截器 (#2263)
d2FuZ3h1ZG9uZw Jul 7, 2023
2d85d57
fix(core): 悬停角头单元格后显示图标 (#2261)
d2FuZ3h1ZG9uZw Jul 7, 2023
4e89b06
docs: 更新 FAQ 和 文档示例 (#2276)
lijinke666 Jul 12, 2023
b0563ad
feat: 为 react 编辑组件添加 onDataCellEditEnd 事件 (#2247)
d2FuZ3h1ZG9uZw Jul 13, 2023
00cb47d
fix(core): 文本区域高度不应超过视口高度 (#2265)
d2FuZ3h1ZG9uZw Jul 13, 2023
f610514
fix(core): 调用 `setOptions` 设置 `brushSelection` (#2257)
d2FuZ3h1ZG9uZw Jul 13, 2023
32a5096
docs: 完善 tooltip 文档 (#2281)
lijinke666 Jul 14, 2023
2845c11
chore: 🤖 更新 changelog 文件 (#2282)
lijinke666 Jul 14, 2023
3e1fb77
fix(table-sheet): 修复明细表获取到错误的实际渲染内容高度 (#2290)
lijinke666 Jul 21, 2023
a6b0f81
fix: 点击列头后hover拦截消失 (#2288)
lcx-seima Jul 23, 2023
25389fc
chore: 🤖 更新 changelog 文件 (#2293)
lijinke666 Jul 27, 2023
a06560d
perf(react): 防止不必要的重新渲染 (#2250)
d2FuZ3h1ZG9uZw Jul 28, 2023
da1a5ab
chore: `setDataCfg` 函数类型优化 (#2286)
d2FuZ3h1ZG9uZw Jul 28, 2023
8076481
fix: 修复复制整行时错位 (#2278)
serializedowen Aug 7, 2023
fcc36bd
fix: condition.mapping 返回值与文档不符合,允许返回undefined与null (#2320)
hemisu Aug 31, 2023
4374119
chore: 🤖 更新 changelog 文件 (#2306)
lijinke666 Aug 31, 2023
4ccc03d
fix(scroll): 修复移动端快速滚动时控制台报错 close #2266 (#2302)
lijinke666 Aug 31, 2023
e8f3eb1
fix(scroll): 修复调用 scrollWithAnimation 后 unmount 表格导致频繁报错 (#2317)
LUUUAN Aug 31, 2023
f1d4eed
feat: 趋势分析表无波动的字体不用红绿色显示 (#2339)
Alexzjt Sep 8, 2023
e0d3de8
fix: 优化 handleDimensionValueFilter 复杂度 (#2325)
LUUUAN Sep 8, 2023
5320fbf
feat: 交叉表行头叶子节点支持斑马纹风格 (#2332)
Alexzjt Sep 8, 2023
3ad35b1
fix(table-facet): 修复过滤多列时,删除一列过滤将同时清空后续过滤列 (#2323)
LUUUAN Sep 9, 2023
c03d13b
docs: 完善交互主题配置 (#2344)
lijinke666 Sep 9, 2023
af61e4a
chore: 🤖 更新 changelog 文件 (#2345)
lijinke666 Sep 11, 2023
12f2d02
feat: 对比值无波动时也显示灰色 (#2351)
Alexzjt Sep 14, 2023
20e608f
feat: 小计/总计功能,支持按维度分组汇总 (#2346)
NoobNotN Sep 22, 2023
406d17e
chore: 🤖 更新 changelog 文件 (#2356)
lijinke666 Sep 22, 2023
c8d2c94
fix(layout): 修复隐藏结点时对父节点的布局计算错误 close #2355 (#2360)
NoobNotN Oct 11, 2023
b719c8a
docs: 修复 headerActionIcons 错误文档 close #2362 (#2363)
lijinke666 Oct 11, 2023
7751c49
fix(table-sheet): 明细表数据为空时错误的展示一行空数据 close #2255 (#2357)
lijinke666 Oct 11, 2023
4953b4e
fix: 列头绘制多列文本时错误的使用了数值单元格的样式 close #2359 (#2364)
lijinke666 Oct 13, 2023
bd09e3d
chore: 🤖 更新 changelog 文件 (#2369)
lijinke666 Oct 16, 2023
2443762
fix: 修复分组汇总时,按汇总排序获取排序数据为空 (#2370)
NoobNotN Oct 20, 2023
19497b3
fix: 修复树状角头,当有存在icon时,内容与box宽度恰好相等,出现换行 close #2389 (#2390)
NoobNotN Oct 27, 2023
b2e9700
fix(interaction): 修复拖动水平滚动条后单元格选中状态被重置 close #2376 (#2380)
lijinke666 Oct 27, 2023
2edd99c
fix(layout): 修复在紧凑模式列头宽度未按文本自适应 close #2385 (#2392)
lijinke666 Oct 27, 2023
58508ea
chore: 不按 issue 模版提交自动关闭 (#2393)
lijinke666 Oct 27, 2023
ddbee01
docs: 新增自定义明细表单元格 & 自定义 mini 图文档 (#2394)
lijinke666 Oct 27, 2023
3842c90
chore: 🤖 更新 changelog 文件 (#2395)
lijinke666 Oct 30, 2023
82a6737
docs: 更新官网 S2 版本 & 优化文档 (#2397)
lijinke666 Nov 2, 2023
0310c2f
fix: 修复趋势分析表自定义列头 tooltip 后错误的使用行头的 tooltip (#2399)
lijinke666 Nov 6, 2023
432c0c7
feat: 支持透视表明细表单元格虚线&分割线虚线(#2400) (#2401)
aimerthyr Nov 7, 2023
eb8adbc
docs: 补充缺失的 fontStyle 和 fontVariant 文档 (#2407)
lijinke666 Nov 10, 2023
bbcd43b
chore: 🤖 更新 changelog 文件 (#2408)
lijinke666 Nov 13, 2023
3c0884b
fix(interaction): 修复行列头圈选后滑出可视范围后, 错误的选择了数值单元格 close #2340 (#2411)
lijinke666 Nov 15, 2023
708fde4
fix(copy): 修复刷选复制行列头时, 数值单元格未格式化 & 存在省略号时未复制原始值 (#2410)
lijinke666 Nov 15, 2023
55359af
fix: 修复交叉模式下 行序号位置不正确&总计行未添加行序号 (#2412)
wuhaiyang Nov 16, 2023
ed79621
refactor: 抽取明细表冻结行列逻辑,交叉表冻结首行逻辑复用 (#2415)
wuhaiyang Nov 17, 2023
3b771c0
fix: 修复隐藏列总计时行总计也被隐藏问题 (#2417)
wuhaiyang Nov 17, 2023
bc12b67
chore: update dumi-theme-antv 0.4.0 (#2422)
ai-qing-hai Nov 20, 2023
b05796b
docs: buttons unify and image position (#2425)
ai-qing-hai Nov 21, 2023
ffc0d8d
docs: image position change (#2426)
ai-qing-hai Nov 21, 2023
c268beb
docs: 更新官网主题 (#2427)
lijinke666 Nov 21, 2023
fc5db47
docs: 更新官网新闻公告 (#2428)
lijinke666 Nov 22, 2023
e5367f0
ci: 部分 GitHub Action CI 脚本升级 (#2434)
lijinke666 Nov 28, 2023
1207fa0
fix: 修复维度缺失部分维值时, 行维值以及对应的数值展示错误 (#2436)
lijinke666 Nov 29, 2023
3439da8
fix: 修复缺失维度所生成的 query 多了 empty extra value 字段 (#2444)
wjgogogo Dec 1, 2023
17a2d00
fix: 修复中英文标点符号 (#2442)
wjgogogo Dec 1, 2023
d2c1cd3
chore: 🤖 更新 changelog 文件 (#2445)
lijinke666 Dec 1, 2023
b81b795
feat: 交叉表支持冻结首行能力 (#2416)
wuhaiyang Dec 4, 2023
a06bb99
docs: 润色文档细节 & 修复一些错误的文档示例地址 (#2448)
lijinke666 Dec 5, 2023
07f7201
fix(interaction): 修复数值单元格取消选中 & 点击空白处取消选中时没触发 GLOBAL_SELECTED 事件 (#2449)
lijinke666 Dec 5, 2023
8a67d4b
refactor: frozenRowCell 重命名为 rowCell (#2450)
lijinke666 Dec 5, 2023
87202f5
fix: 修复透视表数据为空时,行列交叉单元格缺失的问题 (#2452)
wjgogogo Dec 6, 2023
02f0b3b
fix: 区分 GuiIcon 报错类型 close #2345 (#2451)
lijinke666 Dec 6, 2023
741e27a
fix(table-sheet): 修复明细表排序后开启行列冻结, 冻结行展示错误 close #2388 (#2453)
lijinke666 Dec 7, 2023
fd1b883
fix: seriesNumberHeader 不应该使用 custom row cell (#2459)
wjgogogo Dec 7, 2023
51bc110
fix(table-sheet): 修复明细表 tooltip 展示了错误的汇总数据的问题 (#2457)
lijinke666 Dec 8, 2023
5ccd6d5
chore: 🤖 更新 changelog 文件 (#2461)
lijinke666 Dec 8, 2023
70ebc50
fix(tooltip): 修复字段描述为英文时展示不全 (#2466)
lijinke666 Dec 11, 2023
0684ab5
fix: 修复多列文本单元格 hover 时报错 (#2472)
lijinke666 Dec 12, 2023
deb2801
feat: 在自动发布前, 自动注入新版本到打包代码中 (#2477)
wjgogogo Dec 14, 2023
15b11b1
fix: 修复初始化渲染未完成时headNode NPE问题 (#2479)
wuhaiyang Dec 14, 2023
6fa8fbb
feat(perf): 优化 dataset 数据结构转化,以及交互过程中 layout性能 (#2476)
wjgogogo Dec 15, 2023
495d963
fix: 修复行头字段为空字符串时, getDimensionValues 获取数据错误的问题 (#2482)
wjgogogo Dec 16, 2023
1c5a076
chore: 🤖 更新 changelog 文件 (#2481)
lijinke666 Dec 18, 2023
6915e87
Merge remote-tracking branch 'origin/master' into chore-merge-master-…
lijinke666 Dec 19, 2023
ca12a41
WIP
wjgogogo Dec 19, 2023
e76be91
chore: 合并单测和文档
lijinke666 Dec 20, 2023
3b3e1a0
chore: 解决冲突
lijinke666 Dec 20, 2023
9bd92a2
chore: 解决冲突
lijinke666 Dec 20, 2023
fbe413b
test: 修复测试
lijinke666 Dec 20, 2023
4086236
test: 修复测试
lijinke666 Dec 21, 2023
cd331e9
fix: dataset 层面代码合并
wjgogogo Dec 25, 2023
b9923f8
fix: facet 层面代码合并
wjgogogo Dec 26, 2023
dd83210
fix: 处理 build hierarchy 合并问题
wjgogogo Dec 27, 2023
3a800b4
fix: 处理 frozen 代码问题
wjgogogo Dec 28, 2023
4982272
fix: 处理 row cell 冻结时,滚动问题
wjgogogo Dec 29, 2023
d34caa8
fix: 移除多余的冻结宽度计算
wjgogogo Jan 2, 2024
4067b3c
fix: 处理 row cell 冻结单元格 resize area
wjgogogo Jan 3, 2024
df2afe2
fix: 处理 table data cell 冻结单元格 resize area
wjgogogo Jan 3, 2024
2cc1216
fix: 处理 table data cell 冻结单元格 clip 缺失
wjgogogo Jan 3, 2024
f597911
fix: 处理 grid group 线段尺寸问题
wjgogogo Jan 4, 2024
54d3177
fix: i处理 frozen group shadow
wjgogogo Jan 4, 2024
9abd259
fix: 修复分页时, rowHeader 裁剪问题
wjgogogo Jan 5, 2024
1c5417d
fix: node 增加 isFrozen 属性
wjgogogo Jan 5, 2024
a272072
fix: 处理 resize line 偏移问题
wjgogogo Jan 5, 2024
1033941
fix: 修复冻结时, grid group 绘制尺寸问题
wjgogogo Jan 5, 2024
3cbec8d
test: 单测修复
wjgogogo Jan 9, 2024
be2dc66
test: 总计小计分组单测修复
wjgogogo Jan 10, 2024
5eae54b
test: dataset 单测修复
wjgogogo Jan 10, 2024
09873f0
test: hideValue 用例修复
wjgogogo Jan 10, 2024
83ef9c1
test: 尺寸问题单测修复
wjgogogo Jan 11, 2024
353eca2
refactor: remove calculateGridRowNodesWidth
wjgogogo Jan 11, 2024
9b2916d
fix: 修复 panelScrollGroup children 层级问题
wjgogogo Jan 11, 2024
4a34fe7
refactor: rename test file
wjgogogo Jan 11, 2024
a369fd7
test: 修复交互测试
lijinke666 Jan 11, 2024
c7b9633
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 11, 2024
4edbb81
test: 修复交互测试
lijinke666 Jan 11, 2024
6eef220
fix: 修复 merge cell border 绘制问题
wjgogogo Jan 11, 2024
b931e12
test: table-data-set 单测修复
wjgogogo Jan 11, 2024
1f53581
test: sort 单测修复
wjgogogo Jan 11, 2024
55dc20a
test: 修复 table content height 问题
wjgogogo Jan 11, 2024
0ed245f
fix: 修复 panelScrollGroup clip 问题
wjgogogo Jan 12, 2024
da22d86
fix: 修复 panelScrollGroup clip 问题
wjgogogo Jan 12, 2024
f557897
test: 修复导出和隐藏列头测试
lijinke666 Jan 12, 2024
7d9149b
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 12, 2024
1538628
test: 完善导出和复制测试
lijinke666 Jan 12, 2024
0b66ae6
test: 更新快照
lijinke666 Jan 12, 2024
7ca3194
test: 修复 pivot frozen row 单测
wjgogogo Jan 12, 2024
cb6249b
test: 修复 custom-cell-style 单测
wjgogogo Jan 12, 2024
5d9607d
test: 修复 corner 单测
wjgogogo Jan 12, 2024
d21f553
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 12, 2024
92aba16
test: 修复 spread-sheet-facet 单测
wjgogogo Jan 12, 2024
1153f27
test: 修复 issue bugs 单测
lijinke666 Jan 12, 2024
12b8fe3
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 12, 2024
87e95c8
test: 单测修复
wjgogogo Jan 15, 2024
36ea8c4
fix: 处理 corner cell icon 位置问题
wjgogogo Jan 15, 2024
1b097d2
refactor: 处理 empty text 代码
wjgogogo Jan 15, 2024
2c96705
test: 单测修复
wjgogogo Jan 15, 2024
b076ada
test: 修复列头隐藏单测
lijinke666 Jan 15, 2024
a620074
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 15, 2024
d25fc5a
test: 单测修复, row 带序号时 clip 修复
wjgogogo Jan 15, 2024
64432c7
test: data-cell 单测修复
wjgogogo Jan 15, 2024
02b6e58
test: 修复 table-facet 错误
lijinke666 Jan 16, 2024
1d54f73
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 16, 2024
07107b6
fix: 修复紧凑模式下宽度计算错误
lijinke666 Jan 16, 2024
4d2bda8
test: 修复列头隐藏单测
lijinke666 Jan 16, 2024
93a7891
test: 修复滚动相关单测
lijinke666 Jan 16, 2024
ca09312
test: theme 单测修复
wjgogogo Jan 16, 2024
509c294
style: lint fix
wjgogogo Jan 16, 2024
64897e4
Merge branch 'next' into chore-merge-master-12-19
wjgogogo Jan 16, 2024
d800ae7
test: 修复 pivot-facet 单测
lijinke666 Jan 16, 2024
790f9a5
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 16, 2024
0f2fb4e
test: 修复剩余单测
lijinke666 Jan 17, 2024
2fd7202
fix: 修复明细表序号列对齐
wjgogogo Jan 17, 2024
007d1ee
fix: 修复所有类型问题
lijinke666 Jan 17, 2024
5636b3b
Merge branch 'chore-merge-master-12-19' of github.com:antvis/S2 into …
lijinke666 Jan 17, 2024
c0503df
test: 修复 s2-react 下所有 单测
lijinke666 Jan 18, 2024
49f47cd
fix: 修复组件层问题
wjgogogo Jan 18, 2024
47a34d4
fix(table-sheet): 修复明细表配置自定义行高后展示异常 close #2501 (#2521)
lijinke666 Jan 18, 2024
552cecd
fix: 增加树状模式自定义宽度的容错 (#2519)
lijinke666 Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ eg.

<!-- Required! -->
<!-- eg. `s2Options` and `s2DataCfg`, or `<SheetComponent {...} />` -->
<!-- 请粘贴你的核心代码片段,包括但不限于 `报错信息`, `s2Options` 等,请不要粘贴你自己的业务代码,请注意使用 markdown code 标签 -->
<!-- 请粘贴你的核心代码片段 (文本形式,而不是图片),包括但不限于 `报错信息`, `s2Options` 等,请不要粘贴你自己的业务代码,请注意使用 markdown code 标签 -->
<!-- 如果你使用官网的在线示例,编辑代码后复现了 Bug,请粘贴你的代码,而不是直接贴一个在线示例的链接,没有任何意义,它不会保存你刚写的代码 -->

### 🔗 Reproduce Link
Expand Down
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,39 @@ labels: 🙏feature request
<!-- ⚠️ Please fill in the template strictly, otherwise it will be closed directly (请严格按照模板填写,否则直接关闭) -->
<!-- ⚠️ 请严格按照模板填写,否则直接关闭 -->

### 🏷 Version

<!-- Required! -->
<!-- 请填写你正在使用的版本 -->
<!-- 请不要写 🙅🏻‍♀️🚫 `latest`, `1.x` -->
<!--
eg.

| Package | Version |
| -------------- | ------- |
| @antv/s2 | 1.2.0 |
| @antv/s2-react | 1.3.3 |
| @antv/s2-vue | - |

-->

| Package | Version |
| -------------- | ------- |
| @antv/s2 | |
| @antv/s2-react | |
| @antv/s2-vue | |

### Sheet Type

<!-- Required! -->
<!-- 请填写你具体使用的表格类型 -->

- [ ] PivotSheet
- [ ] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet
- [ ] EditableSheet

### 🖋 Description

<!-- Required! -->
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: [20] # semantic-release 需要 >= 16 的 Node.js 环境

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Python 3.11 和 node-gyp 有兼容问题, 导致无法安装依赖
# https://github.com/slint-ui/slint/commit/a9c48e33502fdebc36c5aa2f4f516c2218424679#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Expand All @@ -29,7 +29,7 @@ jobs:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand All @@ -44,7 +44,7 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "🚀 开始自动发布 🚀",
"title": "🚑 开始自动发布 (${{ github.head_ref || github.ref_name }}) 🚑",
"text": "🔗 请点击链接查看详情",
"messageUrl": "https://github.com/antvis/S2/actions/workflows/auto-release.yml",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gt5-RZDjt3IAAAAAAAAAAAAADmJ7AQ/original"
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "🚨 自动发布失败 🚨",
"title": "🚨 自动发布失败 (${{ github.head_ref || github.ref_name }})",
"text": "🔗 请点击链接查看具体原因, 及时修复, 尝试点击右上角 [Re-run all jobs] 重试, 或手动发布 🚑",
"messageUrl": "https://github.com/antvis/S2/actions/workflows/auto-release.yml",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*PRSkSqsE_vYAAAAAAAAAAAAADmJ7AQ/original"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 🏨 CodeQL

on:
push:
branches: [ master ]
branches: [ master, alpha, beta, next ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ master, alpha, beta, next ]
schedule:
- cron: '38 0 * * 2'

concurrency:
group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}}
cancel-in-progress: true

jobs:
analyze:
name: Analyze
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/compressed-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ on:
pull_request:
types: [opened, synchronize]

concurrency:
group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}}
cancel-in-progress: true

jobs:
compressed-size:

runs-on: macos-latest

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Python 3.11 和 node-gyp 有兼容问题, 导致无法安装依赖
# https://github.com/slint-ui/slint/commit/a9c48e33502fdebc36c5aa2f4f516c2218424679#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/disscustion.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: Discussions
name: 💬 Discussions

on:
discussion:
Expand All @@ -21,6 +21,6 @@ jobs:
"title": "📢 用户: ${{ github.event.discussion.user.login }} 创建了讨论:(${{ github.event.discussion.title }})",
"text": "👀 点击查看",
"messageUrl": "${{ github.event.discussion.html_url }}",
"picUrl": "https://gw.alipayobjects.com/zos/antfincdn/ISzgBCtgR/2c5c4aaa-4f40-46f7-8f6b-427fa9ff07bb.png"
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original"
}
}
24 changes: 23 additions & 1 deletion .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
body: |
你好 @${{ github.event.issue.user.login }},经过我们的反复讨论, 你的需求现已被采纳, 我们会排期开发, 但人力资源有限, 短期内无法支持, 请关注后续发布日志。当然, 如果能贡献 PR 帮助我们改进, 不胜感激!

Hello, @${{ github.vent.issue.user.login }}, your feature request has been accepted after our repeated discussion. We will schedule the development. However, it could not be supported in the short term since limited time, please pay attention to the follow-up release logs. Of course, looking forward for your PR!
Hello, @${{ github.event.issue.user.login }}, your feature request has been accepted after our repeated discussion. We will schedule the development. However, it could not be supported in the short term since limited time, please pay attention to the follow-up release logs. Of course, looking forward for your PR!

- name: Rejected
if: github.event.label.name == '❌ won''t support'
Expand All @@ -118,3 +118,25 @@ jobs:
你好 @${{ github.event.issue.user.login }},经过我们的反复讨论, 你的需求过于定制化,不适合直接添加到 S2 中, S2 作为开源框架,只会进行通用能力的增强和自定义接口的开放。你可以通过 S2 提供的自定义能力自行实现,感谢你的理解。

Hello, @${{ github.event.issue.user.login }}, After our repeated discussions, your needs are too customized and not suitable for implementing directly to S2. As an open source framework, S2 will only enhance general capabilities and open custom interfaces. You can implement it yourself through the customization capabilities provided by S2, thank you for your understanding.

- name: Supported or fixed in next
if: github.event.label.name == '✨ supported or fixed in next'
uses: actions-cool/issues-helper@main
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
你好 @${{ github.event.issue.user.login }},该功能或缺陷已经在 `2.0 next 版本` 中支持或修复,`next` 版本目前处于内测中, 感谢你的支持与理解。

如有任何 `2.0 版本` 问题,请前往[讨论区](https://github.com/antvis/S2/discussions/1933),正式版预计年底发布 (文档施工中 🚧), 抢先试用:

```bash
yarn add @antv/s2@next
yarn add @antv/s2-react@next
yarn add @antv/s2-vue@next
```

Hello, @${{ github.event.issue.user.login }}, This feature or flaw has been supported or fixed in `2.0 next version`, `next` version is currently in private beta, thank you for your support and understanding.

Any `2.0` version issues, please go to [discussion](https://github.com/antvis/S2/discussions/1933), which released the official version is expected to the end (document 🚧) during construction, the first trial:
6 changes: 3 additions & 3 deletions .github/workflows/issue-opend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:

Hello, @${{ github.event.issue.user.login }}, please edit your issue title. a concise issue title will save everyone time. please do not leave the title as the body or empty.

# 如果是 bug 的 issue, 但是基本的版本号,表格类型, 描述都没有, 直接关闭, 不多BB.
- name: check bug report issue body
if: contains(github.event.issue.title, '🐛') == true && contains(github.event.issue.body, 'Version') == false && contains(github.event.issue.body, 'Sheet Type') == false && contains(github.event.issue.body, 'Description') == false
# 如果 issue 的提交者无视模版, 连基本的版本号,表格类型, 描述都没有, 直接自动关闭, 不多BB.
- name: check issue body
if: contains(github.event.issue.body, 'Version') == false && contains(github.event.issue.body, 'Sheet Type') == false && contains(github.event.issue.body, 'Description') == false
uses: actions-cool/issues-helper@main
with:
actions: 'create-comment,add-labels,close-issue'
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: lint
name: 👨‍🔬 lint

on: [pull_request]

concurrency:
group: ${{github.workflow}}-${{github.event_name}}-${{github.ref}}
cancel-in-progress: true


jobs:
lint:
runs-on: macos-latest
Expand All @@ -16,7 +15,7 @@ jobs:
node-version: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Python 3.11 和 node-gyp 有兼容问题, 导致无法安装依赖
# https://github.com/slint-ui/slint/commit/a9c48e33502fdebc36c5aa2f4f516c2218424679#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Expand All @@ -29,7 +28,7 @@ jobs:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand All @@ -43,8 +42,8 @@ jobs:
- name: Build
run: pnpm build

- name: Bundle size
run: pnpm bundle:size
- name: Bundle size limit
run: pnpm build:size-limit
env:
CI: true
BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-assign-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
pr-emoji: '+1, rocket'
reviewers: 'serializedowen,lcx-seima,lijinke666,wjgogogo,stone-lyl,GaoFuhong'
reviewers: 'lijinke666,wjgogogo,wuhaiyang'
review-creator: false
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
${{ secrets.DING_TALK_ACCESS_TOKEN }}
${{ secrets.DING_TALK_GROUP_TOKEN }}
notify_title: '🎉 {release_tag} 发布 🎉'
notify_body: '## { title } <hr /> ![preview](https://gw.alipayobjects.com/zos/antfincdn/ISzgBCtgR/2c5c4aaa-4f40-46f7-8f6b-427fa9ff07bb.png) <hr /> { body } <hr />'
notify_body: '## { title } <hr /> ![preview](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original) <hr /> { body } <hr />'
notify_footer: '> 该版本为测试版, 请谨慎使用, 前往 [**AntV/S2 Releases**]({ release_url }) 查看完整更新日志.'
at_all: false
enable_prerelease: true
4 changes: 2 additions & 2 deletions .github/workflows/release-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
${{ secrets.DING_TALK_ACCESS_TOKEN }}
${{ secrets.DING_TALK_GROUP_TOKEN }}
${{ secrets.DING_TALK_PUBLIC_TOKEN }}
notify_title: '🎉 S2 新版本发布啦 🎉'
notify_body: '## { title } <hr /> ![preview](https://gw.alipayobjects.com/zos/antfincdn/ISzgBCtgR/2c5c4aaa-4f40-46f7-8f6b-427fa9ff07bb.png) <hr /> 看看有哪些更新吧 <hr />'
notify_title: '🎉 AntV/S2 新版本发布啦 🎉'
notify_body: '## { title } <hr /> ![preview](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original) <hr /> 看看有哪些更新吧 <hr />'
notify_footer: '> 前往 [**AntV/S2 Releases**](https://github.com/antvis/S2/releases/latest) 查看完整更新日志.'
at_all: false
enable_prerelease: false
17 changes: 14 additions & 3 deletions .github/workflows/release-success.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,19 @@ jobs:
defaults:
run:
working-directory: s2-site

strategy:
matrix:
node-version: [18]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Git bootstrap
run: |
Expand Down Expand Up @@ -56,7 +67,7 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "📢 开始自动部署旧版官网(https://s2.antv.vision) 📢 ",
"title": "📢 开始自动部署旧版官网 (https://s2.antv.vision) 📢 ",
"text": "🔗 请点击链接查看详情",
"messageUrl": "https://github.com/antvis/S2/actions/workflows/release-success.yml",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gt5-RZDjt3IAAAAAAAAAAAAADmJ7AQ/original"
Expand All @@ -68,7 +79,7 @@ jobs:
with:
node-version: 16
cache: 'yarn'

# 安装官网依赖
- name: Install Dependencies
run: yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/site-build-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "✅ 旧官网(https://s2.antv.vision) 部署成功",
"text": "点击访问 https://s2.antv.vision/",
"title": "✅ 旧官网 (https://s2.antv.vision) 部署成功",
"text": "点击访问",
"messageUrl": "https://s2.antv.vision/",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Eel8Rp5jlAkAAAAAAAAAAAAADmJ7AQ/original"
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original"
}
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
"title": "✅ 同步 changelog 成功",
"text": "📢 请发布值班合并该 PR 后, 访问官网查看是否有异常",
"messageUrl": "https://s2.antv.antgroup.com",
"picUrl": "https://gw.alipayobjects.com/zos/antfincdn/ISzgBCtgR/2c5c4aaa-4f40-46f7-8f6b-427fa9ff07bb.png"
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original"
}
}

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: 💯 test

on: [pull_request]

Expand All @@ -18,7 +18,7 @@ jobs:
node-version: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Python 3.11 和 node-gyp 有兼容问题, 导致无法安装依赖
# https://github.com/slint-ui/slint/commit/a9c48e33502fdebc36c5aa2f4f516c2218424679#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Expand All @@ -31,7 +31,7 @@ jobs:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand All @@ -44,9 +44,10 @@ jobs:
pnpm test:ci-coverage

- name: Upload test coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true

- name: Workflow failed alert
Expand Down
16 changes: 13 additions & 3 deletions .releaserc.base.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
const path = require('path');

module.exports = {
extends: 'semantic-release-monorepo',
branches: [
'latest',
{ name: 'beta', channel: 'beta', prerelease: true },
{ name: 'alpha', channel: 'alpha', prerelease: true },
{ name: 'next', channel: 'next', prerelease: true },
],
extends: 'semantic-release-monorepo',
plugins: [
[
'@semantic-release/commit-analyzer',
Expand All @@ -26,11 +28,19 @@ module.exports = {
'@semantic-release/npm',
[
'@semantic-release/git',
{
{
message: 'chore(release): 🤖 ${nextRelease.gitTag} [skip ci]',
},
},
],
'@semantic-release/github',
[
'@semantic-release/exec',
{
prepareCmd:
`node ${path.resolve(__dirname, './scripts/add-version.js')} ` +
'${nextRelease.gitTag}',
},
],
],
preset: 'angular',
};
Loading
Loading