Use git describe
or similar.
- ReadTheDocs
- Travis-CI (with deploy to pypi)
After exploring the idea of using a data-binding library such as Ractive for Annotald’s UI, I’ve decided against it. This is because in the JS object, we’d need to maintain parent references, a burdensome task. This is handled in the DOM automatically (and efficiently), however. The current plan is to make use of more structured DOM representations, with data-* attributes, in conjunction with Shadow DOM/Web Components inspired ideas for presenting UI elements. (Or just hack it with onchange events and DOM munging.)
- Define format (XML schema)
- Write up- and down-converters in lovett (release lovett)
- add a lovett command line tool which reindents, checks trees, checks hashes, …
- Support this format in Annotald 2
Doc structure <doc><header></hdr><trees></trees></doc>
In header:
- file-level info (corpus name, version, etc.)
- hash
- info about metadata fields: what type (string, bool, choice, etc.),
what vals are allowed
- can we use embedded xml schema for this?
- can we use xml include to have this info represented once for a
many-file corpus
- or should corpora be distributed as a single file??? (gzipped?)
Allow a scope tag inside trees, which wraps some trees and assigns their metadata (e.g. author) jointly
How to edit? -> each scope has a name, annotald lets you open just a single scope within a file? Or: scopal metadata vals show up in metadata editor (in separate section to indicate they are scope and not tree-level) But: how to delimit a scope? Manually (by editing as text? a bad idea if it can be cleverly avoided)?
inheritance of metadata:
- tree
- scopes, nestedly
- file-level
- PSDX support
- revamped frontend code (data-* attributes instead of mov’t indices as text, e.g.)
- works in node-webkit and from server
- explore moving to node.js as server backend
- drawback: harder to install on legacy systems (babel)
- explore moving to node.js as server backend
- TogetherJS
- metadata editor
- make the site usable as statically served JS
- integrate with various ways of getting the file into the page
- Fetch from web via Ajax
- Fetch from github with its API
- Then upload changes to repo
- Upload from computer
- Then download to save again?
- With multi-user syncing via WebRTC?
- Store intermediate data in localStorage, with export page to download changed files?
- Local files
- use node-webkit to create a thin wrapper which:
- allows read/write of local files
- downloads and caches the JS files from the server
- use node-webkit to create a thin wrapper which:
- log multiuser joins and leaves in event journal
- (node)-jasmine-jquery
- jasmine-expect
- jasmine-as-promised
- beefy + live reload script
- skewer mode (see also: jss, swank-js)
- create special html template to set debug variables and load main js
- tern, lintnode
https://www.webrtc-experiment.com/DataChannel/ https://github.com/erbbysam/webRTCCopy http://bloggeek.me/send-file-webrtc-data-api/ https://github.com/Peer5/Sharefest
https://github.com/creationix/js-git
http://www.lucaongaro.eu/blog/2012/12/02/easy-two-way-data-binding-in-javascript/ http://ericbidelman.tumblr.com/post/23615290220/data-binding-using-data-attributes list of resources realted to web components: https://gist.github.com/ebidel/6314025 resumable uploads: http://resumablejs.com/
http://www.phpied.com/files/react/src/table2.js
use jqtree http://mbraak.github.io/jqTree/ https://stackoverflow.com/questions/14731459/github-api-fetch-all-folders-and-files-in-single-get-request also: google drive file picker https://gist.github.com/Daniel15/5994054
https://github.com/naoxink/notifIt
https://github.com/andreypopp/react-router-component https://github.com/mephux/annex
https://github.com/flatiron/director
https://medium.com/react-tutorials/8aaec65a546c
https://stackoverflow.com/questions/20795323/editing-a-rich-data-structure-in-react-js
https://www.npmjs.org/package/react-pushstate-mixin https://www.npmjs.org/package/react-bacon
new, better:
https://github.com/rpflorence/react-nested-router
https://github.com/blixt/js-luaworker
http://newforms.readthedocs.org/en/latest/
combine https://gildas-lormeau.github.io/zip.js/fs-api.html for uploads with https://www.npmjs.org/package/browserify-fs
also: https://stuk.github.io/jszip/
switch to: https://github.com/petkaantonov/bluebird for speed
I’m a bad person…
intro.js
also esc for cancel?
- comment display, editing
(IP-MAT=1-2
from (ID 1150.FIRSTGRAMMAR.SCI-LIN,.29)
*pro*-dat
sbo-sphinx napoleon (sphinx plugin) react typescript things