Fossil SCM
Document the caveat of editing or replying to the same forum post in multiple tabs, as pointed out in [forum:9a6a82c160|forum post 9a6a82c160].
Commit
32539a2c0b42c2043287b42f1e33e34b3db071ab305ccbbd540a038b36349f8e
Parent
750a963dea062b9…
2 files changed
+8
-1
+5
+8
-1
| --- src/fossil.page.forumpost.js | ||
| +++ src/fossil.page.forumpost.js | ||
| @@ -511,14 +511,21 @@ | ||
| 511 | 511 | D.append( |
| 512 | 512 | D.li(list), |
| 513 | 513 | D.attr(D.a(F.repoUrl('markup_help'), 'Markup styles'), |
| 514 | 514 | 'target', '_new') |
| 515 | 515 | ); |
| 516 | + D.append( | |
| 517 | + D.li(list), | |
| 518 | + "WARNING: draft edits are keyed on the ID of the message they ", | |
| 519 | + "are editing or responding to. Attempting to edit or reply to ", | |
| 520 | + "the same post from multiple tabs will cause the most-recently-edited ", | |
| 521 | + "one to overwrite the draft slot for that post." | |
| 522 | + ); | |
| 516 | 523 | if( this.#e.status ){ |
| 517 | 524 | D.append( |
| 518 | 525 | D.li(list), |
| 519 | - "Trip: to change just the status, use the widget which appears in ", | |
| 526 | + "Tip: to change just the status, use the widget which appears in ", | |
| 520 | 527 | "the post, not the editor. That will save only a single tag instead of ", |
| 521 | 528 | "a new edit of the post." |
| 522 | 529 | ); |
| 523 | 530 | } |
| 524 | 531 | eh.append(list); |
| 525 | 532 |
| --- src/fossil.page.forumpost.js | |
| +++ src/fossil.page.forumpost.js | |
| @@ -511,14 +511,21 @@ | |
| 511 | D.append( |
| 512 | D.li(list), |
| 513 | D.attr(D.a(F.repoUrl('markup_help'), 'Markup styles'), |
| 514 | 'target', '_new') |
| 515 | ); |
| 516 | if( this.#e.status ){ |
| 517 | D.append( |
| 518 | D.li(list), |
| 519 | "Trip: to change just the status, use the widget which appears in ", |
| 520 | "the post, not the editor. That will save only a single tag instead of ", |
| 521 | "a new edit of the post." |
| 522 | ); |
| 523 | } |
| 524 | eh.append(list); |
| 525 |
| --- src/fossil.page.forumpost.js | |
| +++ src/fossil.page.forumpost.js | |
| @@ -511,14 +511,21 @@ | |
| 511 | D.append( |
| 512 | D.li(list), |
| 513 | D.attr(D.a(F.repoUrl('markup_help'), 'Markup styles'), |
| 514 | 'target', '_new') |
| 515 | ); |
| 516 | D.append( |
| 517 | D.li(list), |
| 518 | "WARNING: draft edits are keyed on the ID of the message they ", |
| 519 | "are editing or responding to. Attempting to edit or reply to ", |
| 520 | "the same post from multiple tabs will cause the most-recently-edited ", |
| 521 | "one to overwrite the draft slot for that post." |
| 522 | ); |
| 523 | if( this.#e.status ){ |
| 524 | D.append( |
| 525 | D.li(list), |
| 526 | "Tip: to change just the status, use the widget which appears in ", |
| 527 | "the post, not the editor. That will save only a single tag instead of ", |
| 528 | "a new edit of the post." |
| 529 | ); |
| 530 | } |
| 531 | eh.append(list); |
| 532 |
+5
| --- www/forum.wiki | ||
| +++ www/forum.wiki | ||
| @@ -545,5 +545,10 @@ | ||
| 545 | 545 | rendering a preview wildly resizes the widget. The effect is |
| 546 | 546 | especially helpful when working on posts while the bottom footer of |
| 547 | 547 | the page is in the viewport, as the footer is a hard boundary against |
| 548 | 548 | scrolling. With the extra padding, the editor widget's top edge shifts |
| 549 | 549 | around less when the preview is shown and hidden. |
| 550 | + | |
| 551 | +Beware: Each draft is keyed to the post it is editing or replied to, | |
| 552 | +which means that editing or replying to the same post from different | |
| 553 | +tabs will cause collisions. The editor to most recently lose the focus | |
| 554 | +will save the draft, overwriting the other. | |
| 550 | 555 |
| --- www/forum.wiki | |
| +++ www/forum.wiki | |
| @@ -545,5 +545,10 @@ | |
| 545 | rendering a preview wildly resizes the widget. The effect is |
| 546 | especially helpful when working on posts while the bottom footer of |
| 547 | the page is in the viewport, as the footer is a hard boundary against |
| 548 | scrolling. With the extra padding, the editor widget's top edge shifts |
| 549 | around less when the preview is shown and hidden. |
| 550 |
| --- www/forum.wiki | |
| +++ www/forum.wiki | |
| @@ -545,5 +545,10 @@ | |
| 545 | rendering a preview wildly resizes the widget. The effect is |
| 546 | especially helpful when working on posts while the bottom footer of |
| 547 | the page is in the viewport, as the footer is a hard boundary against |
| 548 | scrolling. With the extra padding, the editor widget's top edge shifts |
| 549 | around less when the preview is shown and hidden. |
| 550 | |
| 551 | Beware: Each draft is keyed to the post it is editing or replied to, |
| 552 | which means that editing or replying to the same post from different |
| 553 | tabs will cause collisions. The editor to most recently lose the focus |
| 554 | will save the draft, overwriting the other. |
| 555 |