Sharing lists with a group
- JavaScript 90.5%
- CSS 3.6%
- HTML 3.1%
- Shell 2.8%
| .gitignore | realize a build routine | |
| create-xdc.sh | realize a build routine | |
| icon.jpg | Reduce icon size | |
| index.html | Spec required | |
| LICENSE | Add LICENSE | |
| manifest.toml | manifest: add description, update source_code_url | |
| README.md | typo | |
| ui-behaviour-tests.js | Spec AppPayloadIsUpdated | |
| ui-behaviour.js | Spec required | |
| ui-style.css | Replace prompt with form elements | |
| ui-test-_access.js | Tidy tests | |
| ui-test-_misc.js | Spec required | |
| ui-test-order.js | Tidy tests | |
| ui-test-permission.js | Tidy tests | |
| webxdc.js | realize a build routine | |
Corkboard
Sample app demonstrating CRUD (create, read, update, delete) operations.
Each participant can modify items in their own 'board' or list; this is a simple hack to avoid overwriting conflicts when used in groups. Each update brings the respective board to the top so that other participants know what changed.
For CRUD operations with Automerge, see Checklist.
Demo
Building
To create a .xdc file that can be attached to a group, execute:
./create-xdc.sh
Run
It's possible to simply open index.html in your web browser, but the collaborative aspect is better accessed over a server.
If your computer has php installed, you can try:
php -S localhost:3000
- Open http://localhost:3000 in your web browser
- Click 'Add Peer' to open as many peers as you like
- Type a message and press 'Send' to see the update in each peer. (For Safari you might need to check the setting under Develop > Disable Local File Restrictions.)