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

复制相关bugfix #2037

Merged
merged 3 commits into from
Feb 15, 2023
Merged

复制相关bugfix #2037

merged 3 commits into from
Feb 15, 2023

Conversation

serializedowen
Copy link
Member

@serializedowen serializedowen commented Jan 9, 2023

👀 PR includes

✨ Feature

  • New feature

🎨 Enhance

  • Code style optimization
  • Change the UI
  • Improve the performance
  • Refactoring
  • Type optimization

🐛 Bugfix
fix: 选择datacell不连带选中column cell(会导致选中单个单元格copy时copy整列)
fix: 复制带双引号不再改变原始值
fix: 复制不规则单元格不再报错

🔧 Chore

  • Test case
  • Docs / demos update
  • CI / workflow
  • Release version
  • Other ()

📝 Description

🖼️ Screenshot

Before After

🔗 Related issue link

🔍 Self-Check before the merge

  • Add or update relevant docs.
  • Add or update relevant demos.
  • Add or update test case.
  • Add or update relevant TypeScript definitions.

@vercel
Copy link

vercel bot commented Jan 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
antvis-s2 ❌ Failed (Inspect) Jan 11, 2023 at 11:57AM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2023

Size Change: -12 B (0%)

Total Size: 435 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 171 kB -12 B (0%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/style.min.css 389 B
./packages/s2-core/node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js 21.7 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js 21.2 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js 60.3 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js 33.9 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/config.js 1.16 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/DOMElementFilter.js 1.87 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/event-map.js 1.18 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/events.js 1.55 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/get-node-text.js 300 B
./packages/s2-core/node_modules/@testing-library/dom/dist/get-queries-for-element.js 738 B
./packages/s2-core/node_modules/@testing-library/dom/dist/get-user-code-frame.js 810 B
./packages/s2-core/node_modules/@testing-library/dom/dist/helpers.js 1.07 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/index.js 1.14 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/label-helpers.js 1.05 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/matches.js 1.14 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/pretty-dom.js 1.47 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/all-utils.js 337 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/alt-text.js 573 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/display-value.js 713 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/index.js 418 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/label-text.js 1.8 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/placeholder-text.js 491 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/role.js 2.67 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/test-id.js 498 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/text.js 958 B
./packages/s2-core/node_modules/@testing-library/dom/dist/queries/title.js 718 B
./packages/s2-core/node_modules/@testing-library/dom/dist/query-helpers.js 1.81 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/role-helpers.js 2.82 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/screen.js 1.51 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/suggestions.js 1.5 kB
./packages/s2-core/node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js 748 B
./packages/s2-core/node_modules/@testing-library/dom/dist/wait-for.js 2.38 kB
./packages/s2-react/dist/index.min.js 67.4 kB
./packages/s2-react/dist/style.min.css 3.43 kB
./packages/s2-vue/dist/index.min.js 20.5 kB
./packages/s2-vue/dist/style.min.css 1.68 kB

compressed-size-action

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2023

你好, @serializedowen CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。

Hello, @serializedowen CI run failed, please click the [Details] button for detailed log information and fix it.

@github-actions github-actions bot added the 🚨 test failed 单元测试挂了 label Jan 9, 2023
@codecov
Copy link

codecov bot commented Jan 11, 2023

Codecov Report

Base: 77.16% // Head: 76.57% // Decreases project coverage by -0.59% ⚠️

Coverage data is based on head (c6b7169) compared to base (a4b14a8).
Patch coverage: 65.57% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2037      +/-   ##
==========================================
- Coverage   77.16%   76.57%   -0.60%     
==========================================
  Files         234      240       +6     
  Lines       11518    12229     +711     
  Branches     2449     2609     +160     
==========================================
+ Hits         8888     9364     +476     
- Misses       1258     1374     +116     
- Partials     1372     1491     +119     
Impacted Files Coverage Δ
packages/s2-core/src/cell/merged-cell.ts 34.78% <ø> (-1.59%) ⬇️
packages/s2-core/src/common/constant/index.ts 90.47% <ø> (-0.60%) ⬇️
packages/s2-core/src/common/icons/gui-icon.ts 86.66% <ø> (-1.71%) ⬇️
packages/s2-core/src/data-set/base-data-set.ts 93.54% <ø> (+25.80%) ⬆️
packages/s2-core/src/facet/header/row.ts 85.18% <0.00%> (ø)
packages/s2-core/src/facet/layout/node.ts 65.16% <ø> (+2.81%) ⬆️
...kages/s2-core/src/interaction/row-column-resize.ts 86.53% <0.00%> (ø)
packages/s2-core/src/sheet-type/pivot-sheet.ts 86.11% <0.00%> (ø)
packages/s2-core/src/sheet-type/table-sheet.ts 89.65% <ø> (+1.72%) ⬆️
packages/s2-core/src/utils/hide-columns.ts 83.87% <ø> (+0.35%) ⬆️
... and 165 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@stone-lyl
Copy link
Member

大佬的PR 能否带上图片说明😂。
如果 SelectedCellHighlight 不高亮整行时,在点击某个单元格进行复制时,也会复制整行?

@lijinke666 lijinke666 added the 👀 need more info Issue/pr 描述太少, 没有可用信息 label Jan 13, 2023
@github-actions
Copy link
Contributor

你好 @serializedowen,感谢你的贡献, 请根据模板完善 PR 描述, 并站在用户的角度说明其改动目的和解决了什么问题 (而非你的解决方式), 以便于我们可以更好的进行 Code Review, 同时请确保已关联相应 issue (如有), 检查你的 commit 是否有描述清楚你这个 PR 所做的事情。

Hello, @serializedowen, Thanks for your contribution. Please improve the PR description based on the template, and explain the purpose of the change and the problems solved from the perspective of users (not your solution), so that we can conduct a better Code Review. At the same time, please make sure corresponding issue is associated (if any) Meanwhile, please check whether your commit clearly describes what you do as a PR.

@serializedowen
Copy link
Member Author

serializedowen commented Feb 15, 2023

大佬的PR 能否带上图片说明😂。 如果 SelectedCellHighlight 不高亮整行时,在点击某个单元格进行复制时,也会复制整行?

是的 目前带或不带SelectedCellHighlight选项均有故障。

这个截图不是很好体现😅😅 可以切到master和目标分支试一试

@github-actions github-actions bot removed the 👀 need more info Issue/pr 描述太少, 没有可用信息 label Feb 15, 2023
@serializedowen serializedowen merged commit 1c9eaa8 into master Feb 15, 2023
@serializedowen serializedowen deleted the fix-copy-bugs branch February 15, 2023 07:24
@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v1.41.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This PR is included in version @antv/s2-v2.0.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

wjgogogo pushed a commit that referenced this pull request Oct 25, 2023
* fix: 复制带双引号不再改变原始值&复制不规则单元格不再报错

* fix: 选择datacell不连带选中column coll

* fix: 测试用例暂时绕过

---------

Co-authored-by: owen.wjh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants