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

[WIP] 🚧 feat: v0.1.0 #6

Closed
wants to merge 44 commits into from
Closed

[WIP] 🚧 feat: v0.1.0 #6

wants to merge 44 commits into from

Conversation

xingwanying
Copy link
Member

  • The basic framework for core render v0.0.1

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2021

😭 Deploy PR Preview b89a00d failed. Build logs

🤖 By surge-preview

* feat: core first commit and update g-4.0 and lint fix

* feat: add test demo & optimize scroll

* feat: remove antv/util and process build script

* feat: change entry name & rename dist

* feat: make spec more readable

* feat: add helper utils
华北,北京,北京 ,办公用品,夹子及其配件 ,5.04,4.13,1.220338983
华北,北京,北京 ,办公用品,笔、美术用品,8.99,21.38,0.420486436
华北,天津,天津 ,家具产品,办公装饰品,7.83,33.97,0.460994996
华北,天津,天津 ,家具产品,椅子,64.73,300.98,0.215064124
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

检查一下这份数据是否脱敏。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

检查一下这份数据是否脱敏。

都是网上公开的假数据

@hustcc
Copy link
Member

hustcc commented Feb 23, 2021

代码 12 万 diff,是否可以吧测试数据使用 mock 代码的形式生成?

@brucetoo
Copy link
Contributor

代码 12 万 diff,是否可以吧测试数据使用 mock 代码的形式生成?

  • 12diff, 是因为加了 Lint 全量改了下
  • 测数据用mock 我写了一半,删了 意义不大,就是要csv。 有部分是用了mock的

lijinke666 and others added 21 commits February 25, 2021 18:03
* chore: add lint check for pre commit and push

* chore: ci adjust
* refactor: ♻️ sync the logic of drill down

* fix: 💚  fix lint and change the rules of eslint'
* refactor: ♻️ sync the logic of drill down

* fix: 💚  fix lint and change the rules of eslint'

* feat: 🌱 add option builder

* chore: 👷 fix lint

* chore: 🔧 add test stage pre-push
* feat: tooltip refactor

* feat: modify comment

* feat: modify tooltip classname and change components

* feat: add intTooltip in options

* fix: initTooltip's use

* feat: delete normal-tooltip and strategy-tooltip class and decoupling calculation logic

* fix: strategy-sheet initTooltip and some code refactor

* refactor: some code type

* refactor: code lint

* refactor: code lint

* style: code lint

* style: change css of operator

* feat: add tooltipComponent in options

Co-authored-by: 蒺藜 <[email protected]>
…ay to use & add docs (#19)

* feat: tooltip refactor

* feat: modify comment

* feat: modify tooltip classname and change components

* feat: add intTooltip in options

* fix: initTooltip's use

* feat: delete normal-tooltip and strategy-tooltip class and decoupling calculation logic

* fix: strategy-sheet initTooltip and some code refactor

* refactor: some code type

* refactor: code lint

* refactor: code lint

* style: code lint

* style: change css of operator

* feat: add tooltipComponent in options

* fix: tooltipCallback return type

* test: add tooltip test

* feat: delete old way of show tooltip and change to new way

* docs: add tooltip options

Co-authored-by: 蒺藜 <[email protected]>
* fix: empty icon condition take place extra the area

* fix: safety config and  drill-down logic optimized

* fix: drill-down tooltip

* fix: filter null fieldValue

* fix: calculate col width correctly

* fix: remove code annotation header
* fix: optimize warn lint

* fix: text file lint fix
* fix: parse int scroll offset for resolve text shake close #20

* fix: parseint x and y

* fix: replace chinese comment
* fix: tre row header not allow null/undefined node

* fix: fix lint warn
* fix: show table structure when miss cols/values

* fix: lint optimize
* feat: ✨ Allow users to customize the drill-down level

* fix: 🐛 Replace the default id separator of node

* feat: ✨ Export the mouse event for cell click events

* feat: ✨ Add the header component

* feat: ✨ Add export components

* chore: 💡 translate the comments
* fix: error type fixed

* fix: upgrade lint config

* fix: optimize the type
* fix: get wrong thumb offset top when container height changed

* fix: lint warning
lijinke666 and others added 17 commits April 12, 2021 16:33
* fix: 🐛 solve the issue of copy failure of detail table without  column.

this close #32, close #31

* fix: 💩 [export]replace the success message with the error message
* fix: 🐛 solve the issue of copy failure of detail table without  column.

this close #32, close #31

* fix: 💩 [export]replace the success message with the error message

* fix: 💩 [export] solve the type error
…mns header labels (#51)

* feat: ✨ enable users to customize the layout by specific rows or columns header labels

* test: ✅ add a test for the feautre of custom layout
This reverts commit bd740b9.
* refactor: 🏗️ reorganize the file structure of components

* chore: 🔧 set alias for webpack, jest and tsconfig
* fix: remove place-holder related logic

* fix: unregister scrollbar event listener

* feat: render cell with delay and unregister wheel event correctly

* fix: cells don't need cache&remove cells in panelGroup when leave the screen
…mns header labels (#57)

* feat: ✨ enable users to customize the layout by specific rows or columns header labels

* test: ✅ add a test for the feautre of custom layout

* test: ✅ update the test for cutom header cell
* chore: 🔧 update webpack4 to webpack5

* chore: 🔧 update the lint.yml
* feature: interaction first

* feat: interaction first

* feat: 取消HoverBox

* feat: 建立stateShape来统一管理show或者hide

* feat: del hover box

* feat: del cell-hover

* feat: cell-selection

* feat: corner-header-text-click 改为event监听

* feat: delHeaderHover

* feat: resize

* feat: col-selection

* feat: row-header-text-click

* feat: del _

* feat: event独立

* feat: events抽离 and datacell-muti-selection

* feat: events抽离 and datacell-muti-selection

* feat: col-row-select

* change summary to summaries and add some mock data (#30)

* feat: tooltip refactor

* feat: modify comment

* feat: modify tooltip classname and change components

* feat: add intTooltip in options

* fix: initTooltip's use

* feat: delete normal-tooltip and strategy-tooltip class and decoupling calculation logic

* fix: strategy-sheet initTooltip and some code refactor

* refactor: some code type

* refactor: code lint

* refactor: code lint

* style: code lint

* style: change css of operator

* feat: add tooltipComponent in options

* fix: tooltipCallback return type

* test: add tooltip test

* feat: delete old way of show tooltip and change to new way

* docs: add tooltip options

* feat: change summary to summaries and add some mock data

Co-authored-by: 蒺藜 <[email protected]>

* feat: cell-click and col row click  tooltip

* feat: col-muti-tooltip

* feat: tooltip适配

* feat: tooltip

* feat: 适配挂行头

* fix: interceptevent控制放在base-spread-sheet

* fix: lint

* feat: keep-hover state以及 hover独立拆分

* feat: getAllPanelCells修复为过滤不在视图内的cell, hover的十字样式

* feat: test

* feat: test

* feat: 准备把cellIndex改为colIndex

* feat: fix some commit and 准备调试draw

* fix: 修复格式问题,准备适配keep-hover

* fix: fix som commits

* fix: 修复一些commit问题

* fix: 修复commit问题

* fix: lint

* fix: lint

* feat: add todo

Co-authored-by: maosong.wz <[email protected]>
Co-authored-by: yangzhanmei <[email protected]>
Co-authored-by: 蒺藜 <[email protected]>
* fix: remove strategy related things

* feat: convergence S2Options & S2DataConfig

* feat: convergence S2Options & S2DataConfig

* feat: adapt freezeRowHeader and mode with better logic

* feat: merge interaction core codes

* fix: adjust some logic

* fix: adjust some logic
* feat: ✨ add pagination

* fix: 🐛 import LruCache

* ci: 💚 fix ci

* ci: 💚 delete useless values
* fix: 🐛 stop automatically changing numbers to dates when copying data

* refactor: ♻️ code optimization
@xingwanying xingwanying changed the title [WIP] 🚧 feat: v0.0.1 [WIP] 🚧 feat: v0.1.0 May 30, 2021
* feat: ✨ add tabular sheet

* feat: ✨ draw custom data cell for tabular sheet

* fix: 🐛 enable the tooltip to render custom element

* refactor: ♻️ redefine the interface and constant for interaction

* fix: 🐛 solved the issue that the wwidth of the data cell could not be adpative

* feat: ✨ draw the background of merged cells

* feat: ✨ add Class of MergedCells

* feat: ✨ add events for the MergedCells

* feat: ✨ draw text for merged cells

* feat: ✨ draw merged cells by setting options

* chore: 🔧 update the lerna configuration

* chore: 🔧 update the package.json

* chore: 💚 fix ci

* chore: ✅ add the test case for cells merging

* chore: 💚 fix ci
@xingwanying xingwanying closed this Jun 2, 2021
@xingwanying xingwanying deleted the v0.0.1 branch June 2, 2021 02:31
@xingwanying xingwanying mentioned this pull request Jun 2, 2021
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version @antv/s2-react-v1.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-components-v1.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

7 participants