-
Notifications
You must be signed in to change notification settings - Fork 659
重置事件模块更新 #2826
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
Merged
重置事件模块更新 #2826
Changes from 76 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
bccc974
chore: 添加skills 定义
lzxue 9d7916f
feat: add workflow to sync skills to chart-visualization-skills
lzxue ab76ccc
chore: 目录更新
lzxue 826b425
chore: 修复一下文档引用错误
lzxue 4ebed9d
chore: 优化引用
lzxue cef3de5
docs: update skills documentation and add new reference files
lzxue d48dea2
fix: 修复冲突
lzxue 346ca9a
chore: 更新readme
lzxue 2dafefe
chore: remove baidu map demos and update gitignore
lzxue c6bda28
chore: 移除dev demo
lzxue 6a13777
chore: 移除 skill async workflow
lzxue e8ced4b
chore: 移除 skill async workflow
lzxue c864d1d
chore: 更新skill
lzxue 956c295
chore: 修复cdn错误
lzxue 6898c22
fix: 修复蜂窝和网格热力图闭合问题
lzxue 4ecfcfe
perf: 优化瓦片图层性能
lzxue 33b74e5
perf: 优化瓦片数据解析性能
lzxue da6886b
fix: 修复 device 模式下 enableRelativeCoordinates 不生效的问题
lzxue 8d8501a
refactor: 优化依赖和修复拼写错误
lzxue 930485d
refactor: 用自定义实现替代 d3-dsv 依赖
lzxue 34ebd74
refactor: 用自定义实现替代 d3-array 依赖
lzxue 34a48d8
refactor: 用自定义实现替代 d3-color 依赖
lzxue 57e3138
refactor: 用自定义实现替代 d3-interpolate 依赖
lzxue f8846f2
refactor: 用自定义实现替代 d3-hexbin 依赖
lzxue ef32086
fix: 修复 hexbin 六边形方向问题
lzxue 38af118
refactor: 用自定义实现替代 d3-scale 依赖
lzxue aa4ef66
fix: 修复 scale 比例尺处理无效 domain 的问题
lzxue 41efdbb
fix: restore heatmap model and color mapping
lzxue e2ab23b
refactor: 移除未使用的第三方依赖,减少包体积
lzxue b8b089e
refactor: 用原生 ResizeObserver 替换 element-resize-detector
lzxue 6ff3046
fix: 修复 ResizeObserver 回调类型兼容性问题
lzxue 59cc48f
fix: 在 ILayer 接口中添加 shapeOption 属性定义
lzxue 698dc8b
refactor: 移除未使用的依赖 web-worker-helper 和 ajv
lzxue 431d58f
refactor: 用原生 Pointer Events API 替换 hammerjs
lzxue b963faa
refactor: 优化事件系统架构
lzxue d6059b6
feat: 添加重构验证测试Demo
lzxue 77db97e
fix: 修复 resize demo 中不存在 getCanvas 方法的问题
lzxue 8329780
fix: 修复 InteractionService 与 l7-draw 的兼容性问题
lzxue 7876fde
chore: 添加 l7-draw 依赖并格式化代码
lzxue 00a3b4b
fix: 修复 Marker 缩放时不跟随地图移动的问题
lzxue 944d41f
refactor(component): 优化 packages/component 代码质量
lzxue 75cf719
chore: 修复冲突
lzxue 43a10a5
feat(component): layerpopup trigger 参数改为可选,默认 hover
lzxue 0e7dc6e
fix(component): 修复 layerpopup 默认 trigger 不生效的问题
lzxue 1c9d828
fix(component): 修复 getActualTriggerEvent 返回类型错误
lzxue b424a5a
chore: 更新 Claude 配置权限设置
lzxue be901b5
chore: 优化lint 错误
lzxue 691c1ea
test: 修复单元测试环境问题
lzxue e9fbe66
chore: 更新 Claude 配置权限及测试快照
lzxue 6f264dd
build(l7): umd 构建将 css 内联到 js 中
lzxue 98f90b6
fix: 允许跨平台集成测试的像素差异
lzxue 5ca6d0a
fix: 增加像素差异阈值到150以解决heatmap_grid的跨平台差异
lzxue 577ad00
fix: 设置bail为0确保测试失败后继续执行
lzxue 4001d11
fix: 增加页面加载超时时间到60秒,避免CI超时
lzxue 50aa671
ci: 临时禁用集成测试,待跨平台渲染差异问题解决后再启用
lzxue 7d60f8b
chore: 添加 changeset 记录重构三方依赖变更,更新 gitignore
lzxue c014ac9
chore: 添加 beta 预发布 changeset 记录
lzxue 8248e26
chore: 更新 changeset 为 patch 版本
lzxue c8940d9
chore: version (beta) (#2821)
github-actions[bot] 9f37712
Revert "chore: version (beta) (#2821)" (#2822)
lzxue 8635887
chore: version (beta) (#2823)
github-actions[bot] 616fd10
fix: 移除 symbol-es6 polyfill 避免 Iterator 协议冲突
lzxue 57d621b
chore: 更新 VSCode 配置
lzxue 8aace58
chore: 更新 demo 示例使用 GaodeMap
lzxue 68ed1c1
chore: 更新构建配置和高德地图 Key
lzxue 3cdaa32
fix: 修复事件系统与 l7-draw 兼容性问题
lzxue 1bab207
chore: 版本变更
lzxue 718d268
Merge branch 'beta' of https://github.com/antvis/L7 into beta
lzxue 634ee64
chore: bump version to 2.23.3-beta.1
lzxue 801e22d
chore: bump version to 2.23.3-beta.2
lzxue 92fd8ca
revert: 回滚事件系统到 hammerjs 实现,重新添加 hammerjs 依赖
lzxue 946317a
chore: bump version to 2.23.3-beta.3
lzxue a43985a
fix(citybuilding): 修复 CityBuildingLayer 扫描效果动画和着色器编译问题
lzxue 9a72763
fix: 修复高德地图主题 URL 和 Three.js demo 中的 GLTFLoader 引入问题
lzxue 798de74
Merge branch and resolve conflicts
lzxue afe73c0
fix: 修复 scene.md 中的合并冲突标记
lzxue fa5d430
chore: release version 2.24.0
lzxue 61456b7
fix: remove hardcoded Mapbox tokens from demo files and gitignore bui…
lzxue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| '@antv/l7-core': patch | ||
| '@antv/l7-maps': patch | ||
| --- | ||
|
|
||
| fix: 修复移除 hammerjs 后的事件系统兼容性问题 | ||
|
|
||
| - 修复 triggerHover 方法签名与接口不符,补全 lngLat 和 type 参数,解决 layer.pick() 拾取失效问题 | ||
| - SceneService 补充 Press 事件监听,保持长按事件向后兼容 | ||
| - amap-next: 修复 wrapper 容器定位上下文和高度初始化问题 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| '@antv/l7-test-utils': patch | ||
| '@antv/l7-component': patch | ||
| '@antv/l7-renderer': patch | ||
| '@antv/l7-layers': patch | ||
| '@antv/l7-source': patch | ||
| '@antv/l7-scene': patch | ||
| '@antv/l7-three': patch | ||
| '@antv/l7-utils': patch | ||
| '@antv/l7-core': patch | ||
| '@antv/l7-maps': patch | ||
| '@antv/l7-map': patch | ||
| '@antv/l7': patch | ||
| --- | ||
|
|
||
| 版本更新 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@antv/l7-core': patch | ||
| --- | ||
|
|
||
| revert: 回滚事件系统到 hammerjs 实现,修复移除 hammerjs 后的兼容性问题 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为了提升代码性能和可读性,建议避免在多处重复调用
.bind(this)。一个更好的做法是将addSceneEvent方法定义为箭头函数属性,这样它会自动绑定this上下文。这样做可以确保只创建一个函数实例,并在所有事件监听器中复用,使代码更简洁高效。