Explorar o código

Spec > note-ui-arch.txt

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
a0c743e182
Modificáronse 1 ficheiros con 56 adicións e 0 borrados
  1. 56 0
      spec/note-ui-arch.txt

+ 56 - 0
spec/note-ui-arch.txt

@@ -0,0 +1,56 @@
+note-container
+    lhs-tree
+    rhs-content (which is actually center-content)
+    rhs-sidebar
+    bottom-toolbar
+
+lhs-tree
+    list of note-tree-nodes
+
+    each note-tree-node can inside it contain
+        a heading
+        a subheading
+        a note-tree-children parent container for chilren
+        a clickable node <a/> which has a target segment
+        a clickable node <a/> which has a not-segment target element
+
+rhs-content
+
+    list of visit-segments
+        edit mode ==> has .edit class
+        summary mode ==> no .edit class
+
+    each visit segment has
+        a summary-container (visible only if parent does not have .edit)
+        an edit-container (visible only if parent does have .edit)
+
+    each segment has a header
+        link to close (if in edit mode)
+        link to refresh the segment
+        custom links if any
+
+    after the header
+        summary (all)
+        edit (where applicable - not for LS, wiz powered, etc.)
+
+rhs-sidebar
+
+    load and show points from various categories
+
+----------
+
+
+
+
+
+
+wizards follow the following pattern:
+
+    URL: (type-plural)-center/{patient}/{note}
+    UI: (type-plural)-center.blade.php
+        <table>
+            name | review | plan | active | started | ended | editTopLevel form
+        <addTopLevel form>
+            <custom fields specific to type>
+            @include(common-fields)
+