Considering Message Outbox

How difficult would it be to add an "erase" button to that form?

When sending more than one message to the same recipient I'm obliged to delete the old message field first.

That's especially tricky when using mobiles.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

update

I looked at the Perl code generating that node and I'm not sure how the message field is filled.

Probably is done by the browser, can't check while mobile. ..

Gimme guidance like pointing to the right documentation and I'll patch it myself.

Otherwise doing it with JS should be trivial, but I doubt this is wanted.

  • Comment on Message Outbox: "delete" msg box button? (updated)

Replies are listed 'Best First'.
Re: Message Outbox: "delete" msg box button? (updated)
by Corion (Patriarch) on Jan 03, 2016 at 09:11 UTC

    I assume (without looking) that a magically persistent field is done through the CGI feature of "sticky fields".

      > "sticky fields".

      I think sticky fields are OK as long as it is easy to reset again. That's very convenient for mobile users without CUA shortcuts.

      I wrote and tested some JS code yesterday to show a reset button behind each text field. (Of course only shown if JS is enabled)

      I could add a patch today, my concern is testing.

      After reading the pmdev wiki and the  Pmdev HowTo Wiki I'm not sure how to safely test and discuss a working copy of that node.

      Do pmdevs patch directly into production?

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        Yes, at least until we get a separate testing instance back up again (which I foresee only after a move to git or whatever). Testing in production isn't that bad here IMO, as the risks are low and usually people stick around until they're convinced that their change actually works :)

Re: Message Outbox: "delete" msg box button? (updated)
by hotchiwawa (Scribe) on Jan 02, 2016 at 17:55 UTC
    A clear or reset button would be better ;)
Re: Message Outbox: "delete" msg box button? (updated)
by ww (Archbishop) on Jan 02, 2016 at 21:25 UTC

    Sounds as though the SMOP is more trouble (after all there are other enhancements not yet actualized) than requiring writer(s) (even "time after time. world-without-end....") to clear the first msg; ^A, del w/cursor in msg entry box.

    P.S. A box labeled in line with hotchiwawa's suggestion above -- clear or reset -- would be less subject to misunderstanding than erase.

    Perhaps more worthy of the labor: code to chew one's lunch to save personal effort?



    Quis custodiet ipsos custodes. Juvenal, Satires

Re: Message Outbox: "delete" msg box button? (done)
by LanX (Saint) on Jan 26, 2016 at 21:05 UTC
    Patch on JS basis is active and seems to work fine. :)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!