docs: about window name

This commit is contained in:
lin onetwo 2022-11-23 18:58:15 +08:00
parent 1c87bd9312
commit 27446c456a

View file

@ -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',
}