vizorvr / patches

Patches is a visual programming editor for building WebVR and WebGL experiences.
http://patches.vizor.io
MIT License
205 stars 44 forks source link

Rewrite all "engineer"-written Patches popups #2022

Open esaruoho opened 7 years ago

esaruoho commented 7 years ago

Concept: take all the atom descriptions and rewrite them, in case they are not descriptive. Detail: There's 256 of them at vizor/documentation/browser/plugins

I'll let @mattatgit speak: As i recall, most of the tooltips were pretty much dense technical jargon, and mostly gave users no real clue as to (a) what the patch does or (b) how to use it. Along with writing proper docs, this is another one of those large efforts that would require at least 2 people + substantial time. Someone needs to go through and rewrite them all, consulting with Antti when a patch's function or purpose is unclear.

so, anyway, onwards & upwards!

Here's a good example:

fullscreen_06_07_2017__10_20

Note: this has already been fixed, and replaced with the following written by @mattatgit:

Anything connected here will appear in your Vizor scene. Click the port and drag to disconnect or select the patch and hit delete.

Continuing onwards: The end user (TM) will not be interested in finding out that the Scene is the informative "THREE.js Scene". They want more verbose descriptions.

This issue will need to be an ongoing process since there is simply no way we can address ALL of the atoms in a single fell swoop.

What we could do, is single out the worst offenders (TM) and attack those, then think about the whole rewrite to make them all stick to one form.

Concept originally mentioned by wd-vizor at #256 (issue now closed) wd-vizor also posted this URL: https://etherpad.mozilla.org/ZrIm7QNBny

which is basically a this.desc dump of descriptions. note: this.desc in the plugin.js file itself is not the same as what is on /vizor/documentation/browser/plugins/pluginname.md (what the user sees)

Here's a slightly more up-to-date one: https://pastebin.com/raw/s6EmxcPM

esaruoho commented 7 years ago

Description missing altogether

added to branch https://github.com/vizorvr/vizor/tree/Patchesbranch

esaruoho commented 7 years ago

here's the list from 2017-07-06 (6th of July 2017) https://pastebin.com/raw/s6EmxcPM

esaruoho commented 7 years ago

Three.JS mess

esaruoho commented 7 years ago

detail: how to export the textfile - go into the folder with the .md files and run this script: (btw, script was written by Jari Jaanto, thanks Jari!)

    A="##Description"
    B="##Inputs"
    for i in *.md
    do
            echo $i
            foo=`cat $i`
            foo=${foo##*$A}
            foo=${foo%%$B*}
            echo "$foo" | awk 'n>=2 { print a[n%2] } { a[n%2]=$0; n=n+1 }'|tail -n +2
    done
esaruoho commented 7 years ago

added to branch https://github.com/vizorvr/vizor/tree/Patchesbranch