...
 
Commits (44)

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:vue/essential",
"plugin:prettier/recommended",
"@vue/prettier"
],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
parserOptions: {
parser: "babel-eslint"
}
};
node_modules/.cache/*
node_modules/.cache/
*.un~
*.swp
.DS_Store
node_modules
/dist
npm-debug.log*
yarn-debug.log*
yarn-error.log*
module.exports = {
singleQuote: true,
semi: false
};
......@@ -12,6 +12,8 @@ Use arrow functions ONLY
All if statements should use curly braces to indicate statement block { }
Apply ESLint and Prettier to all code please.
## Problem solving
......
# Codename : Node Noggin
# Please note the main code base for this project has moved and can be located [here](https://gitlab.adamprocter.co.uk/adamprocter/couchdocs)
## What is it ?
![](videos/whatis.m4v)
This is very much a work in progress. Please take a moment to review the [welcome readme](WELCOME.md), this includes videos and text to help you get a quick overview of the research and the project and why you might want to contribute. Next see our [Code Guide Lines](CODEGUIDELINES.md) for more detail on the way to contribute.
......@@ -12,6 +17,7 @@ NOTE: The master branch will be moving along quite quickly,so we recommend keepi
- [FOLLOW](https://discursive.adamprocter.co.uk)
## Project setup
Make sure to have the latest vue cli.
```
......@@ -25,15 +31,17 @@ vue ui
```
## Tech stack
- [Vue.js](https://vuejs.org/)
Plus the following required dependencies all added via vue ui
- vuex
- vue-router
- [Svgjs](https://svgjs.com)
- [draggy.js](https://github.com/jillix/svg.draggy.js)
- [connectable.js](https://github.com/jillix/svg.connectable.js)
- [PouchDB](https://pouchdb.com/) connecting to an instance of [CouchDB](http://couchdb.apache.org/)
- [PouchDB](https://pouchdb.com/) connecting to an instance of [CouchDB](http://couchdb.apache.org/)
- Also for now some [Fontawesome](https://fontawesome.com/) icons
## Visuals
......@@ -41,4 +49,4 @@ Plus the following required dependencies all added via vue ui
![](screens/interfaces.png)
![](screens/interfaces2.png)
![](screens/interfaces3.png)
![](screens/interfaces4.png)
\ No newline at end of file
![](screens/interfaces4.png)
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ol,nav ul{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure,form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */button,html,input,select,textarea{color:#222}html{font-size:1em;line-height:1.4}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,img,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browsehappy{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}body{font:18px Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;line-height:22px;padding:1em;background-color:#bcdfda}nav li{display:inline-block;padding-right:12px}main{max-width:635px;background-color:#bcdfda}#start{background-color:#fff}h3.hello{padding:10px;background-color:#809bac}.register,.signin{background-color:#bcdfda;border-radius:10px;width:200px;margin:20px;padding:20px;border-right:30px solid grey}#spatialui{width:600px;margin-bottom:30px}#interface,#spatialui,a{background-color:#bcdfda}a{color:#000}a:hover{color:grey}button{background-color:#bcdfda;-webkit-box-shadow:none;box-shadow:none;border:none;margin-top:10px}button:hover{color:grey}input,textarea{border:none;width:100%;padding:5px;margin-bottom:5px}figure{background-color:#ddf7f3;border-radius:12px;margin-bottom:50px;border-bottom:5px solid #a3d6df;border-right:5px solid #a3d6df}figcaption{text-align:center}figure{width:175px}#instances img{width:150px}figure>img{-webkit-transform:translate(10%);transform:translate(10%)}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}@media only screen and (min-width:640px){#start{display:grid;grid-template-columns:300px 300px;grid-gap:20px}#instances{display:grid;grid-template-columns:150px 150px;grid-gap:20px;margin-left:10px}figure{width:150px}#instances img{width:100px}figure>img{-webkit-transform:translate(20%);transform:translate(20%)}}@media print{*{background:transparent!important;color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>nn2</title><link href=/css/about.ff293c24.css rel=prefetch><link href=/css/home.a45d8d52.css rel=prefetch><link href=/js/about.f2f86df9.js rel=prefetch><link href=/js/home.e8d80d2c.js rel=prefetch><link href=/css/app.074079a2.css rel=preload as=style><link href=/js/app.86f0a9fd.js rel=preload as=script><link href=/js/chunk-vendors.c055d76a.js rel=preload as=script><link href=/css/app.074079a2.css rel=stylesheet></head><body><noscript><strong>We're sorry but nn2 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div></body></html><script src=/js/chunk-vendors.c055d76a.js></script><script src=/js/app.86f0a9fd.js></script>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"6a60":function(A,g,t){},"754b":function(A,g,t){"use strict";t.r(g);var e=function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("div",[t("logo"),A._m(0)],1)},B=[function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("footer",[t("p",[A._v("Made by Procter & Parker")])])}],E=t("4b08"),C={name:"about",components:{logo:E["a"]}},o=C,Q=t("2877"),I=Object(Q["a"])(o,e,B,!1,null,null,null);I.options.__file="about.vue";g["default"]=I.exports},"8e0a":function(A,g){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAAF5CAYAAACcKpF5AAAAAXNSR0IArs4c6QAADsBJREFUeAHt2EGKW0kQRdEu4c1qFV27ELVZ2VO/qUlQcjk96jD4V8YJ6g789Z//CAQFXq/X70+v9Xw+vz79Bj+fwN8Cj78H/0+AAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAICP5wGAgQINAVEPzubW1GgACBERD84TAQIECgKyD43dvajAABAiMg+MNhIECAQFdA8Lu3tRkBAgRGQPCHw0CAAIGugOB3b2szAgQIjIDgD4eBAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAICP5wGAgQINAVEPzubW1GgACBERD84TAQIECgKyD43dvajAABAiMg+MNhIECAQFdA8Lu3tRkBAgRGQPCHw0CAAIGugOB3b2szAgQIjIDgD4eBAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAICP5wGAgQINAVEPzubW1GgACBERD84TAQIECgKyD43dvajAABAiMg+MNhIECAQFdA8Lu3tRkBAgRGQPCHw0CAAIGugOB3b2szAgQIjIDgD4eBAAECXQHB797WZgQIEBgBwR8OAwECBLoCgt+9rc0IECAwAoI/HAYCBAh0BQS/e1ubESBAYAQEfzgMBAgQ6AoIfve2NiNAgMAIC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AQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAUEv3tbmxEgQGAEBH84DAQIEOgKCH73tjYjQIDACAj+cBgIECDQFRD87m1tRoAAgREQ/OEwECBAoCsg+N3b2owAAQIjIPjDYSBAgEBXQPC7t7UZAQIERkDwh8NAgACBroDgd29rMwIECIyA4A+HgQABAl0Bwe/e1mYECBAYAcEfDgMBAgS6AoLfva3NCBAgMAKCPxwGAgQIdAX+AAewHLgnRqB0AAAAAElFTkSuQmCC"},9454:function(A,g,t){"use strict";t.r(g);var e=function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("div",{attrs:{id:"selector"}},[t("header",[t("logo"),t("h2",[A._v("Welcome")]),t("h3",[A._v("Select instance")])],1),A._m(0)])},B=[function(){var A=this,g=A.$createElement,e=A._self._c||g;return e("main",[e("div",{attrs:{id:"instances"}},[e("a",{attrs:{href:"/home"}},[e("figure",[e("img",{attrs:{src:t("c2d6"),alt:""}}),e("figcaption",[A._v("MozFest")])])]),e("a",{attrs:{href:"#"}},[e("figure",[e("img",{attrs:{src:t("8e0a"),alt:""}}),e("figcaption",[A._v("Create instance")])])])])])}],E=(t("cadf"),t("551c"),t("097d"),t("4b08")),C={name:"select",components:{logo:E["a"]}},o=C,Q=t("2877"),I=Object(Q["a"])(o,e,B,!1,null,null,null);I.options.__file="select.vue";g["default"]=I.exports},c2d6:function(A,g,t){A.exports=t.p+"img/mozfest.cfd87a8f.png"},c2de:function(A,g,t){"use strict";var e=t("6a60"),B=t.n(e);B.a},f73c:function(A,g,t){"use strict";t.r(g);var e=function(){var A=this,g=A.$createElement,t=A._self._c||g;return t("div",{staticClass:"markdown"},[t("logo"),t("form",{on:{submit:function(g){A.addKnowledge()}}},[t("label",[A._v("Type: ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:A.type,expression:"type"}],attrs:{name:"type",placeholder:"choose"},on:{change:function(g){var t=Array.prototype.filter.call(g.target.options,function(A){return A.selected}).map(function(A){var g="_value"in A?A._value:A.value;return g});A.type=g.target.multiple?t:t[0]}}},[t("option",{attrs:{value:"slidedeck"}},[A._v("Slidedeck")]),t("option",{attrs:{value:"projecttxt"}},[A._v("Project Text")]),t("option",{attrs:{value:"plaintxt"}},[A._v("Plain Text")])]),t("input",{directives:[{name:"model",rawName:"v-model",value:A.owner,expression:"owner"}],attrs:{placeholder:"Author"},domProps:{value:A.owner},on:{input:function(g){g.target.composing||(A.owner=g.target.value)}}}),t("textarea",{directives:[{name:"model",rawName:"v-model",value:A.metadata.mdtxt,expression:"metadata.mdtxt"}],attrs:{type:"text",placeholder:"Enter text here",rows:"10"},domProps:{value:A.metadata.mdtxt},on:{input:function(g){g.target.composing||A.$set(A.metadata,"mdtxt",g.target.value)}}}),t("button",{attrs:{type:"submit"}},[t("font-awesome-icon",{attrs:{icon:"save",size:"2x"}})],1)])],1)},B=[],E=(t("6b54"),t("cadf"),t("551c"),t("097d"),t("16b2")),C=t("4b08"),o=new E["a"]("knowledge"),Q=new E["a"]("https://nn.adamprocter.co.uk/knowledge"),I={name:"editor",components:{logo:C["a"]},data:function(){return{type:"",owner:"",connections:[],metadata:{},xpos:0,ypos:0}},mounted:function(){this.syncData()},methods:{addKnowledge:function(){var A=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15);o.put({_id:A,type:this.type,owner:this.owner,connections:this.connections,metadata:this.metadata,xpos:this.xpos,ypos:this.ypos}),this.syncData()},syncData:function(){Q&&o.sync(Q)}}},a=I,n=(t("c2de"),t("2877")),w=Object(n["a"])(a,e,B,!1,null,"ac75229e",null);w.options.__file="editor.vue";g["default"]=w.exports}}]);
//# sourceMappingURL=about.f2f86df9.js.map
\ No newline at end of file
This diff is collapsed.
(function(e){function t(t){for(var o,a,s=t[0],u=t[1],c=t[2],l=0,m=[];l<s.length;l++)a=s[l],r[a]&&m.push(r[a][0]),r[a]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);f&&f(t);while(m.length)m.shift()();return i.push.apply(i,c||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],o=!0,a=1;a<n.length;a++){var s=n[a];0!==r[s]&&(o=!1)}o&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var o={},a={app:0},r={app:0},i=[];function s(e){return u.p+"js/"+({about:"about",home:"home"}[e]||e)+"."+{about:"f2f86df9",home:"e8d80d2c"}[e]+".js"}function u(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={about:1,home:1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise(function(t,n){for(var o="css/"+({about:"about",home:"home"}[e]||e)+"."+{about:"ff293c24",home:"a45d8d52"}[e]+".css",a=u.p+o,r=document.getElementsByTagName("link"),i=0;i<r.length;i++){var s=r[i],c=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(c===o||c===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){s=l[i],c=s.getAttribute("data-href");if(c===o||c===a)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var o=t&&t.target&&t.target.src||a,r=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");r.request=o,n(r)},m.href=a;var f=document.getElementsByTagName("head")[0];f.appendChild(m)}).then(function(){a[e]=0}));var o=r[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise(function(t,n){o=r[e]=[t,n]});t.push(o[2]=i);var c,l=document.getElementsByTagName("head")[0],m=document.createElement("script");m.charset="utf-8",m.timeout=120,u.nc&&m.setAttribute("nonce",u.nc),m.src=s(e),c=function(t){m.onerror=m.onload=null,clearTimeout(f);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,i=new Error("Loading chunk "+e+" failed.\n("+o+": "+a+")");i.type=o,i.request=a,n[1](i)}r[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:m})},12e4);m.onerror=m.onload=c,l.appendChild(m)}return Promise.all(t)},u.m=e,u.c=o,u.d=function(e,t,n){u.o(e,