Improve publication database process
Proposed experience flow:
- User presses Publish
- Dialog presents them with a password associated with the Rule (plus a Copy button) and warns them that it will be public. They press "Cancel," "Save," or "Publish"
- Saved rules are private until published and can be edited by user
- Rule publishes
- On published Rule, trash button triggers a dialog that offers:
- Field for password
- Option to email for support
- JS sends data to script on rules.medlab.host, which interacts with database there
- If password is correct, Rule is deleted from the database, and user is taken to the Library.
- Cron job evaluates Matomo API to determine relative popularity of Rules in terms of page views, updates database
Avoid the logic of accounts (Hill and Shaw 2020)
Edited by Nathan Schneider