1
0
Fork
You've already forked checklist
0
forked from durian/checklist
A simple collaborative checklist application for WebXDC
  • JavaScript 83.7%
  • CSS 12.1%
  • HTML 4.2%
Find a file
2024年11月18日 15:51:51 -05:00
public update icon to differentiate this fork 2024年11月18日 13:22:57 -05:00
tests refactor: convert tabs to spaces 2023年09月15日 15:05:48 +04:00
.browserslistrc add missing file: .browserslistrc 2023年09月04日 18:38:14 +02:00
.gitignore refactor: git add package-lock.json 2023年09月01日 10:52:27 +04:00
index.html main.css: add dark theme 2024年10月24日 13:10:38 -04:00
LICENSE Add LICENSE 2022年06月14日 17:46:15 +02:00
main.css simplify the interface and remove the delete button 2024年10月27日 11:53:58 -04:00
main.js main.js: autofocus on the create task field 2024年10月27日 14:43:38 -04:00
package-lock.json update npm dependencies 2024年10月27日 18:00:29 -04:00
package.json refactor: remove unused dependency OLSKThrottle 2023年09月05日 12:31:48 +04:00
README.md Update README to reflect the differences between this fork and the original app 2024年11月18日 15:51:51 -05:00
vite.config.js refactor: change output .xdc file name 2023年09月15日 15:36:34 +04:00
webxdc.js update to lastest webxdc.js 2023年09月14日 16:48:15 +02:00

Checklist

Fork of webxdc/checklist which is a collaborative checklist with Automerge demonstrating CRUD (create, read, update, delete) operations. This fork adds small improvements to the interface:

  • Light and dark theme support
  • Input boxes take up the width of the viewport
  • Long titles don't break the UI anymore
  • Add horizontal lines between the items to add visual separation
  • "Save" button is removed while editing the title. Pressing return or unfocusing will automatically save it.
  • "Delete" button is removed as well to give more space to the input box and to make it harder to make destructive edits. Completed items can still be deleted through the menu and items can be deleted when the field is cleared.
  • UI won't refresh while you're in the middle of editing an item

Each participant can modify the list and conflicts are hopefully resolved via Automerge.

For CRUD operations without Automerge, see Corkboard.

Developing

Installing Dependencies

After cloning this repo, install dependencies:

npm install

Testing the app in the browser

To test your work in your browser (with hot reloading!) while developing:

npm run dev-mini
# Alternatively to test in a more advanced WebXDC emulator:
npm run dev

Building

To package the WebXDC file:

npm run build

To package the WebXDC with developer tools inside to debug in Delta Chat, set the NODE_ENV environment variable to "debug":

NODE_ENV=debug npm run build

The resulting optimized .xdc file is saved in dist-xdc/ folder.

Releasing

  1. Follow Building
  2. Go to https://codeberg.org/jagtalon/checklist/releases/new
  3. Upload the .xdc file from dist-xdc/. Make sure that the name of the file is the same as in the previous releases.
  4. Fill and submit the form.