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

refactor(core): decompose API from core and refactor to new architecture #64

Merged
merged 58 commits into from
Aug 31, 2023

Conversation

Dushusir
Copy link
Member

No description provided.

Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

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

Some issues need to be addressed. But overall, it looks pretty good!

@wzhudev wzhudev changed the title refactor(core): workbook insert sheet,remove sheet refactor(core): workbook insert sheet, remove sheet Aug 25, 2023
jerry-TangHao and others added 22 commits August 28, 2023 10:36
* refactor(sheet): move selection to new architecture

* WIP: add shortcut commands and operation

* feat: support moving cursor by shortcut

* chore: update husky hook mode
import { IAccessor } from '@wendellhu/redi';
import { IInsertColMutationParams, IInsertRowMutationParams, IRemoveColMutationParams, IRemoveRowMutationParams } from '../../Basics/Interfaces/MutationInterface';

export const IRemoveRowMutationFactory = (accessor: IAccessor, params: IRemoveRowMutationParams): IInsertRowMutationParams => {
Copy link
Member

Choose a reason for hiding this comment

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

注意命名规范,I 开头的只应该是接口

Copy link
Member

Choose a reason for hiding this comment

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

而且这个是 undo factory,名字里没有 undo

@wzhudev
Copy link
Member

wzhudev commented Aug 30, 2023

目前写的 command 需要能够处理上层没有传递 params 的情况,即能够按照当前 sheet 的选区的状态自动执行对应的任务 cc @eiji-th @JerryJiangZh

tonytonychopper123 and others added 26 commits August 30, 2023 15:05
@wzhudev wzhudev marked this pull request as ready for review August 31, 2023 06:57
@wzhudev wzhudev changed the title refactor(core): workbook insert sheet, remove sheet refactor(core): decompose API from core and refactor to new architecture Aug 31, 2023
@wzhudev wzhudev merged commit 58e6b25 into dev Aug 31, 2023
0 of 2 checks passed
@wzhudev wzhudev deleted the api branch August 31, 2023 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants