Commit graph

12 commits

Author SHA1 Message Date
Eric Zhang
7cc5b9c939
Update frontend dependencies and clippy lints (#33) 2021-12-27 20:21:00 +00:00
Eric Zhang
4ac57685c1
Update dependencies and switch build to Vite (#30) 2021-11-12 02:38:14 -05:00
Eric Zhang
c98a6d7c4e
Enable state persistence through SQLite (#28)
* Add Docker build CI to pull requests

* Add SQLite document persistence through SQLx

* Update README to describe configuration variables

* Minor changes to README wording

* Update image size estimate listed in README

* Update frontend dependencies

* Add direct database tests and restructure code

* Clarify use of `SQLITE_URI` in Docker contexts
2021-10-21 00:40:46 -04:00
Eric Zhang
503a189893
Optimization: debounce user cursor updates by 20ms (#26)
* Optimization: debounce user cursor updates by 20ms

This noticeably improves performance on initial page load for documents
with large histories, as previously, the user sent one cursor update message
for every past edit to the document upon joining. Now, they only send a
single cursor update at the end of the update sequence, due to the
20ms debouncing operation.

* Update NPM dependency versions
2021-09-18 23:10:07 -04:00
Eric Zhang
8def441972 Add user presence to the frontend 2021-06-04 14:34:06 -05:00
Eric Zhang
2e2fb39c33 Add example document from Rust code 2021-06-03 17:53:59 -05:00
Eric Zhang
e97e19c1e3 Implement MVP editor, still some bugs 2021-06-02 22:57:00 -05:00
Eric Zhang
5e6df765b0 Add frontend skeleton with Monaco 2021-06-02 15:34:42 -05:00
Eric Zhang
a886e17cf4 Start writing client code, reconnecting websocket 2021-06-02 14:03:41 -05:00
Eric Zhang
85da408aae Rename rustpad-core to rustpad-wasm, add Serde 2021-06-01 17:44:33 -05:00
Eric Zhang
2fe698824e Set up WebAssembly compilation and loading 2021-06-01 12:42:23 -05:00
Eric Zhang
b70631bd7b Initialize React app with Vite and TypeScript 2021-05-31 13:08:00 -05:00