From 060366e13d8aafd404cf3b741547740a12b756bf Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 27 Feb 2020 00:27:06 +0000 Subject: [PATCH] --- devdocs/specs/core-attachments.txt | 4 ++++ devdocs/specs/core-ui-design.txt | 2 +- devdocs/specs/core-wiki.txt | 4 ++++ devdocs/todo.txt | 3 ++- server/AyaNova/biz/AyaType.cs | 10 ++++++++-- 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 devdocs/specs/core-wiki.txt diff --git a/devdocs/specs/core-attachments.txt b/devdocs/specs/core-attachments.txt index 07b71e52..5219e9bf 100644 --- a/devdocs/specs/core-attachments.txt +++ b/devdocs/specs/core-attachments.txt @@ -1,7 +1,11 @@ # Attachments specifications +NOTE: This applies to all core business object types that are basically real world and have an id and a type (all are wikiable, attachable and reviewable) Not utility type objects like datalist etc + + ## TODO + - Need core dlToken route for not just attachments - There should be a notification for ops if a file attachment is physically not found when it has a db record see Attachmentcontroller line 407 diff --git a/devdocs/specs/core-ui-design.txt b/devdocs/specs/core-ui-design.txt index 3ccab5a0..b1e79c87 100644 --- a/devdocs/specs/core-ui-design.txt +++ b/devdocs/specs/core-ui-design.txt @@ -292,7 +292,7 @@ ICON FONT - Going with Font Awesome 5.x SOLID FREE icons - Save (3.5'' diskette!?) - Document attachments (two hardcover books back to back on an angle in 3d) - Record history (analog clock face) - - Follow up (schedule marker post-it note with a chain link overtop of it) + - Follow up "Review" (schedule marker post-it note with a chain link overtop of it) - Print / report (inkjet printer) - Duplicate (rabbit) - Plugin (puzzle piece) diff --git a/devdocs/specs/core-wiki.txt b/devdocs/specs/core-wiki.txt new file mode 100644 index 00000000..8bfeafb9 --- /dev/null +++ b/devdocs/specs/core-wiki.txt @@ -0,0 +1,4 @@ +# WIKI specifications + +NOTE: This applies to all core business object types that are basically real world and have an id and a type (all are wikiable, attachable and reviewable) Not utility type objects like datalist etc + diff --git a/devdocs/todo.txt b/devdocs/todo.txt index c019e041..0f080344 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -93,7 +93,8 @@ DEVELOPMENT STREAMLINING - I envision installing docker to a computer then issuing a single command to pull in all the requirements and launch vscode, the db server you name it - This would then mean it would be safe to have a computer stolen or travel could just pick up a new one and get to work quickly - +todo: Attachable attribute..do I need it? reflection is slow and maybe it's just easier to track it manually by comment in ayatype + - Can't use it at client DOCS / MANUAL - Disable google fonts for manual / docs generator: diff --git a/server/AyaNova/biz/AyaType.cs b/server/AyaNova/biz/AyaType.cs index 4b073b72..de320f6a 100644 --- a/server/AyaNova/biz/AyaType.cs +++ b/server/AyaNova/biz/AyaType.cs @@ -9,14 +9,20 @@ namespace AyaNova.Biz /// public enum AyaType : int { + //Attachable objects can have attachments, + //wikiable objects can have a wiki + //reviewable objects can have a review which is basically the same as a Reminder but with an object attached (was follow up schedmarker in v7) + //Pretty much everything that represents some kind of real world object is wikiable or attachable as long as it has an ID and a type + //exceptions would be utility type objects like datalistview, formcustom etc that are not + NoType = 0, Global = 1, [Attachable] - Widget = 2, + Widget = 2,//attachable, wikiable, reviewable [Attachable] - User = 3, + User = 3,//attachable, wikiable, reviewable ServerState = 4, License = 5,