-
Notifications
You must be signed in to change notification settings - Fork 127
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(menubar): add menu bar methods to service and support shortcut keys #298
Conversation
} from 'mo/model'; | ||
import { FolderTreeService, IFolderTreeService } from 'mo/services'; | ||
import { randomId } from 'mo/common/utils'; | ||
|
||
const confirm = Modal.confirm; | ||
export interface IFolderTreeController { | ||
readonly createFileOrFolder?: (type: keyof typeof FileTypes) => void; | ||
readonly createFileOrFolder?: (type: FileType) => void; |
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.
rebase一下main分支,这个API被refactor
了
conflicts @ProfBramble |
rebase一下 抵消一些变更 ,还是conflicts |
6b63d27
to
1e12932
Compare
* refactor: remove addRootMenu method, and rename initMenu to initMenus * docs: add comments for the IMenuBarService interface
880e0de
to
1e653bf
Compare
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.
+1
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.
+1
简介
主要变更
createFileOrFolder
调度至 folderTreeServicecreateFileOrFolder
quickCopyLineUp
quickSelectAll
Related Issues
Closed #264