You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-23Lines changed: 24 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1

2
2
> A buggy way to collaborate on text documents using the [Matrix](https://matrix.org) protocol. When it works, consider this the Matrix Console of collaboration!
Check it out at [matrix-notepad.kb1rd.net](https://matrix-notepad.kb1rd.net/) and come chat at [#matrix-collaboration:kb1rd.net](https://matrix.to/#/#matrix-collaboration:kb1rd.net?via=kb1rd.net&via=matrix.org&via=matrix.geklautecloud.de)! I'd love to hear about what you think (and what issues you encounter)!
5
10
6
11
## Brief Roadmap
@@ -9,10 +14,12 @@ This is not in any particular order:
9
14
*[x] More or less working removals
10
15
*[ ] Conflict resolution -- Almost!
11
16
*[x] Improved UI/UX (this will be incremental)
12
-
*[] Unit testing!!!
17
+
*[x] Unit testing for the algorithm (`logootish-js` is unit tested)
13
18
*[x] Create a different package for the `Logootish` algorithm -- Right [here](https://github.com/KB1RD/logootish-js)
14
19
*[ ] Node 'squashing' or similar. Currently Matrix Notepad has to sync ALL of the events :(
15
20
*[ ] Rich text editing
21
+
*[ ] Create "Matrix Apps" to load `iframe`d apps, such as the Notepad
22
+
*[ ] Clean up the code. I've been focusing on the algorithm, so the Notepad had gotten a bit messy
16
23
17
24
In addition, I think it would be a good idea to discuss future possibilities for sharing more than just text over Matrix and the possibility of creating a unified 'app host' client that manages permissions for applications and allows the user to browse a directory structure.
18
25
@@ -29,9 +36,9 @@ Since this is experimental software, do not use it to store very important or co
29
36
If you see error messages pop up or you encounter any bugs, **please** report it either on GitHub or on the Matrix chat. This is **very** helpful as I'm sure there are bugs that I don't know about.
30
37
31
38
## Screenshots
32
-

33
-

34
-

39
+

40
+

41
+

35
42
36
43
## Contributing
37
44
Have a look at the [Wiki](https://github.com/KB1RD/matrix-notepad/wiki) if you're interested in contributing. I'd love the help! The wiki also contains documentation about how the algorithm, `logootish-js`, works internally as well as links to the JSDoc.
@@ -45,6 +52,7 @@ Here is the directory structure
45
52
*`/matrix.js` -- Provides the interface between Matrix, the GUI, and the algorithm. It is dense and poorly written since I'm still trying to figure out where to put everything.
46
53
*`static` -- Static files. Currently only has the site icon
47
54
*`store` -- The Vuex store. This is used for UI only since I want the algorithm to be seperate from Vue.JS. Vuex does track the state of the Matrix client, but not the state of document nodes (that's all "traditional" ES6 JS)
55
+
*`resources` -- Files used in README.md or the docs
48
56
*`test` -- A directory that I have reserved for unit testing. This would help **a lot** if I actually implemented it. *sigh*
// Manually fetch events (if initial load is disabled)
61
69
$debug.active_document.fetchEvents(1)
70
+
71
+
// Enable the LDM's internal operation log (currently disabled)
72
+
// This is helpful for diagnosing a bug that is identified in production
73
+
$debug.active_document.setupLogging()
74
+
75
+
// Dump the LDM's internal operation log (if enabled)
76
+
$debug.active_document.printEventLogJSON()
62
77
```
63
78
64
79
## Build Setup
@@ -76,22 +91,8 @@ $ yarn run generate
76
91
$ yarn run stats
77
92
```
78
93
79
-
Also, if you want to debug the core algorithm, `logootish-js`, see https://github.com/KB1RD/logootish-js . If you want to test it with the Notepad, the `yarn link` setup process is as follows:
0 commit comments