From 1838904bbe238cea68bb72f9957f2c16ce509f6a Mon Sep 17 00:00:00 2001
From: xiangyu <3170102889@zju.edu.cn>
Date: Mon, 10 Oct 2022 13:59:53 +0800
Subject: [PATCH] refactor: events & views
---
addon/chrome/content/overlay.xul | 38 ++---
addon/chrome/content/wizard.xul | 12 +-
addon/chrome/content/workspace.xul | 30 ++--
src/addon.ts | 24 +--
src/editor/{editorUI.ts => editorViews.ts} | 10 +-
src/index.ts | 2 +-
src/{editor => note}/convertMD.js | 0
src/note/noteController.ts | 140 ++++++++++++++++++
src/{editor => note}/noteExportController.ts | 0
src/{editor => note}/noteExportWindow.ts | 0
src/{editor => note}/noteParse.ts | 0
src/{editor => note}/noteUtils.ts | 0
.../{annotationButton.ts => readerViews.ts} | 2 +-
src/{wizard.ts => wizard/wizardWindow.ts} | 12 +-
src/workspace/workspaceWindow.ts | 6 +-
src/zotero/events.ts | 6 +-
src/zotero/views.ts | 6 +-
17 files changed, 214 insertions(+), 74 deletions(-)
rename src/editor/{editorUI.ts => editorViews.ts} (99%)
rename src/{editor => note}/convertMD.js (100%)
create mode 100644 src/note/noteController.ts
rename src/{editor => note}/noteExportController.ts (100%)
rename src/{editor => note}/noteExportWindow.ts (100%)
rename src/{editor => note}/noteParse.ts (100%)
rename src/{editor => note}/noteUtils.ts (100%)
rename src/reader/{annotationButton.ts => readerViews.ts} (99%)
rename src/{wizard.ts => wizard/wizardWindow.ts} (98%)
diff --git a/addon/chrome/content/overlay.xul b/addon/chrome/content/overlay.xul
index ad4d396..8afa9d6 100644
--- a/addon/chrome/content/overlay.xul
+++ b/addon/chrome/content/overlay.xul
@@ -25,30 +25,30 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+