Fossil SCM
Document draft edits in www/forum.wiki.
Commit
341751e5698bf871244c4c60d105fdcdb1adfba9a1722496c191502f01c63a32
Parent
04e8708769b4a74…
1 file changed
+14
+14
| --- www/forum.wiki | ||
| +++ www/forum.wiki | ||
| @@ -514,5 +514,19 @@ | ||
| 514 | 514 | notified, admin reads post, user attaches a file at that time, |
| 515 | 515 | admin approves post. |
| 516 | 516 | |
| 517 | 517 | TBD is whether to accept that case or to remove automatic approval of |
| 518 | 518 | attached files. |
| 519 | + | |
| 520 | +<h2 name="drafts">Draft Edits</h2> | |
| 521 | + | |
| 522 | +The forum uses, if available, JavaScript's <code>localStorage</code> | |
| 523 | +or <code>sessionStorage</code> to store local drafts of new | |
| 524 | +posts, replies, and edits to existing posts. Each time an editor | |
| 525 | +input field loses focus, the draft is saved. When viewing a forum | |
| 526 | +thread, the Edit and Reply buttons get clearly marked if they | |
| 527 | +have an associated local draft. | |
| 528 | + | |
| 529 | +Local drafts for replies and responses (but not new posts) are | |
| 530 | +automatically purged at semi-random intervals. Every Nth visit to a | |
| 531 | +forum page has a small chance to run the cleanup, and drafts older | |
| 532 | +than 10 days old are purged. | |
| 519 | 533 |
| --- www/forum.wiki | |
| +++ www/forum.wiki | |
| @@ -514,5 +514,19 @@ | |
| 514 | notified, admin reads post, user attaches a file at that time, |
| 515 | admin approves post. |
| 516 | |
| 517 | TBD is whether to accept that case or to remove automatic approval of |
| 518 | attached files. |
| 519 |
| --- www/forum.wiki | |
| +++ www/forum.wiki | |
| @@ -514,5 +514,19 @@ | |
| 514 | notified, admin reads post, user attaches a file at that time, |
| 515 | admin approves post. |
| 516 | |
| 517 | TBD is whether to accept that case or to remove automatic approval of |
| 518 | attached files. |
| 519 | |
| 520 | <h2 name="drafts">Draft Edits</h2> |
| 521 | |
| 522 | The forum uses, if available, JavaScript's <code>localStorage</code> |
| 523 | or <code>sessionStorage</code> to store local drafts of new |
| 524 | posts, replies, and edits to existing posts. Each time an editor |
| 525 | input field loses focus, the draft is saved. When viewing a forum |
| 526 | thread, the Edit and Reply buttons get clearly marked if they |
| 527 | have an associated local draft. |
| 528 | |
| 529 | Local drafts for replies and responses (but not new posts) are |
| 530 | automatically purged at semi-random intervals. Every Nth visit to a |
| 531 | forum page has a small chance to run the cleanup, and drafts older |
| 532 | than 10 days old are purged. |
| 533 |