From 53dfd5f380d8c75fedc967577fb16310d08cefea Mon Sep 17 00:00:00 2001
From: Aubrey-Li <63608597+Aubrey-Li@users.noreply.github.com>
Date: Mon, 19 Jul 2021 11:57:22 -0700
Subject: map as node
---
src/client/documents/DocumentTypes.ts | 71 ++++++++++++++++++-----------------
1 file changed, 37 insertions(+), 34 deletions(-)
(limited to 'src/client/documents/DocumentTypes.ts')
diff --git a/src/client/documents/DocumentTypes.ts b/src/client/documents/DocumentTypes.ts
index 8565784b4..422d9c2e3 100644
--- a/src/client/documents/DocumentTypes.ts
+++ b/src/client/documents/DocumentTypes.ts
@@ -2,44 +2,47 @@ export enum DocumentType {
NONE = "none",
// core data types
- RTF = "rtf", // rich text
- IMG = "image", // image box
- WEB = "web", // web page or html clipping
- COL = "collection", // collection
- KVP = "kvp", // key value pane
- VID = "video", // video
- AUDIO = "audio", // audio
- PDF = "pdf", // pdf
- INK = "inks", // ink stroke
- SCREENSHOT = "screenshot", // view of a desktop application
- FONTICON = "fonticonbox", // font icon
+ RTF = "rtf",
+ IMG = "image",
+ WEB = "web",
+ COL = "collection",
+ KVP = "kvp",
+ VID = "video",
+ AUDIO = "audio",
+ PDF = "pdf",
+ INK = "inks",
+ SCREENSHOT = "screenshot",
+ FONTICON = "fonticonbox",
FILTER = "filter",
- SEARCH = "search", // search query
- LABEL = "label", // simple text label
- BUTTON = "button", // onClick button
- WEBCAM = "webcam", // webcam
- HTMLANCHOR = "htmlanchor", // text selection anchor in PDF/Web
- DATE = "date", // calendar view of a date
- SCRIPTING = "script", // script editor
- EQUATION = "equation", // equation editor
- FUNCPLOT = "funcplot", // function plotter
+ SEARCH = "search",
+ LABEL = "label",
+ BUTTON = "button",
+ WEBCAM = "webcam",
+ HTMLANCHOR = "htmlanchor",
+ DATE = "date",
+ SCRIPTING = "script",
+ EQUATION = "equation",
+ FUNCPLOT = "funcplot",
+ MAP = "MAP",
+
// special purpose wrappers that either take no data or are compositions of lower level types
- LINK = "link", // link (view of a document that acts as a link)
- LINKANCHOR = "linkanchor", // blue dot link anchor (view of a link document's anchor)
- IMPORT = "import", // directory import box (file system directory)
- SLIDER = "slider", // number slider (view of a number)
- PRES = "presentation", // presentation (view of a collection) --- shouldn't this be a view type? technically requires a special view in which documents must have their aliasOf fields filled in
- PRESELEMENT = "preselement",// presentation item (view of a document in a collection)
- COLOR = "color", // color picker (view of a color picker for a color string)
- YOUTUBE = "youtube", // youtube directory (view of you tube search results)
+ LINK = "link",
+ LINKANCHOR = "linkanchor",
+ IMPORT = "import",
+ SLIDER = "slider",
+ PRES = "presentation",
+ PRESELEMENT = "preselement",
+ COLOR = "color",
+ YOUTUBE = "youtube",
SEARCHITEM = "searchitem",
- COMPARISON = "comparison", // before/after view with slider (view of 2 images)
- GROUP = "group", // group of users
+ COMPARISON = "comparison",
+ GROUP = "group",
- LINKDB = "linkdb", // database of links ??? why do we have this
- SCRIPTDB = "scriptdb", // database of scripts
- GROUPDB = "groupdb", // database of groups
+ LINKDB = "linkdb",
+ SCRIPTDB = "scriptdb",
+ GROUPDB = "groupdb",
- TEXTANCHOR = "textanchor" // selection of text in a text box
+ TEXTANCHOR = "textanchor" // selection of text in a text box
+ ,
}
\ No newline at end of file
--
cgit v1.2.3-70-g09d2
From aa67222bc1a80ae11d1a29b32d5cb54199b38011 Mon Sep 17 00:00:00 2001
From: Aubrey-Li <63608597+Aubrey-Li@users.noreply.github.com>
Date: Sat, 24 Jul 2021 11:15:04 -0700
Subject: backend issues with creating map node
---
deploy/index.html | 2 +-
src/client/documents/DocumentTypes.ts | 2 +-
src/client/documents/Documents.ts | 4 ++--
src/client/util/CurrentUserUtils.ts | 4 ++--
src/client/views/nodes/PresBox.tsx | 5 +++--
src/fields/Doc.ts | 3 ++-
src/fields/URLField.ts | 1 +
src/fields/documentSchemas.ts | 2 ++
src/server/ApiManagers/DownloadManager.ts | 2 +-
src/server/ApiManagers/SearchManager.ts | 1 +
src/server/GarbageCollector.ts | 2 +-
src/server/remapUrl.ts | 3 ++-
src/server/updateProtos.ts | 2 +-
src/server/websocket.ts | 1 +
14 files changed, 21 insertions(+), 13 deletions(-)
(limited to 'src/client/documents/DocumentTypes.ts')
diff --git a/deploy/index.html b/deploy/index.html
index 33cc0906a..a23cbf869 100644
--- a/deploy/index.html
+++ b/deploy/index.html
@@ -7,7 +7,7 @@
-
+