From 27446c456aabe860e4f339f706ed89ecd452b45f Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Wed, 23 Nov 2022 18:58:15 +0800 Subject: [PATCH] docs: about window name --- src/services/windows/WindowProperties.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/services/windows/WindowProperties.ts b/src/services/windows/WindowProperties.ts index 6f693ceb..a21eacb4 100644 --- a/src/services/windows/WindowProperties.ts +++ b/src/services/windows/WindowProperties.ts @@ -5,14 +5,20 @@ export enum WindowNames { addWorkspace = 'addWorkspace', auth = 'auth', editWorkspace = 'editWorkspace', - /** Window with workspace list and new wiki button on left side bar */ + /** + * Window with workspace list and new wiki button on left side bar + * We only have a single instance of main window, that is the app window. + */ main = 'main', menuBar = 'menuBar', newWindow = 'newWindow', notifications = 'notifications', preferences = 'preferences', spellcheck = 'spellcheck', - /** browserView that loads the wiki webpage */ + /** + * browserView that loads the wiki webpage + * We will have multiple view window, each main workspace will have one. + */ view = 'view', }