Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
refactor(comment): modify comment menu command ID (#6741)
wpxp123456e9ae2d396dd3
diff --git a/packages/sheets-thread-comment-ui/src/commands/operations/comment.operation.ts b/packages/sheets-thread-comment-ui/src/commands/operations/comment.operation.tsindex 0afca3c2f3..195ad1d4e4 100644--- a/packages/sheets-thread-comment-ui/src/commands/operations/comment.operation.ts+++ b/packages/sheets-thread-comment-ui/src/commands/operations/comment.operation.ts@@ -26,7 +26,7 @@ import { SHEETS_THREAD_COMMENT_PANEL } from '../../types/const';export const ShowAddSheetCommentModalOperation: IOperation = {type: CommandType.OPERATION,- id: 'sheets.operation.show-comment-modal',+ id: 'sheet.operation.show-comment-modal',handler(accessor) {const selectionManagerService = accessor.get(SheetsSelectionsService);const univerInstanceService = accessor.get(IUniverInstanceService);@@ -70,7 +70,7 @@ export const ShowAddSheetCommentModalOperation: IOperation = {};export const ToggleSheetCommentPanelOperation: IOperation = {- id: 'sheets.operation.toggle-comment-panel',+ id: 'sheet.operation.toggle-comment-panel',type: CommandType.OPERATION,handler(accessor) {const sidebarService = accessor.get(ISidebarService);