-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
77 lines (60 loc) · 2.58 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
=> progress
> add all methods to queue after finding out how to make nested queue calls
> why does error propagation not work
> deleting folder, should also delete files inside?
> cleanup
> allow to createJIO inside project = support storages, find place to add params
- don't allow to save file.name as folder and vice versa => no dot in folder name and must have dot in file name
- fix repeating folder names, should prompt then overwrite
- on second invalid save, focus input to prevent using mouse
- remove project prefix from file paths
- fix display of files in folder
- fix filter
- fix filename prefix
=> maintain self
- add manifest
- try image handling with favicon, must be possible to handle images without opening
=> test
=> speak
- add voice commands, try on mobile instead of using shortcuts
- juliusjs, find out how to build grammar with emscriptem online
- add voice find/grep and replace
=> gitstorage
- replicate with indexeddb and remote gitstorage
- createJIO = gitinit => create new repo, this method is to update git config
- calling createJIO will only update existing git folder if there is one
- parameters:
* fork - url => else create empty git
* upstream - where to send stuff, else local, must be reinitialized
* user
* pass
- documents are branches, attachments are files? but caches are already files
- post-document = create new branch
- remove-document = delete branch
- get-document = checkout branch
- put - edit branch?
- putAttachment = commit file
- getAttachment = ?
- removeAttachment = ?
- repair/sync = push
=> cachestorage
- this is my filesystem to work on, create, edit, delete, ....
- must work offline
- commit will do a diff with local gitstorage, allow to init?
- can add everything to gitstorage. push will send to master
=> github API
https://github.com/michael/github > instructions
http://rawgit.com/TristanCavelier/apps/master/app/code-editor/index.html
https://github.com/TristanCavelier/texteditor/blob/master/manifest.appcache
http://stackoverflow.com/questions/2745076/what-are-the-differences-between-git-commit-and-git-push?answertab=votes#tab-top
var github = new Github({
username: "frequent",
password: "",
auth: "basic"
});
serverless = github.getRepo("frequent", "nexedi-serverless-test")
serverless.getTree("master", function (err, tree) {if (err) {console.log("error");console.log(err);} else {console.log(tree);}});
- branches? files?
- jio per branch? document = branch?
- if document per branch, files are attachments, editing and saving updates attachments
- of a diff is a new attachment?