[wp-meta] [Making WordPress.org] #3201: Improve CampTix 'Notify' function, including adding auto-save and an Editor-style email composition

Making WordPress.org noreply at wordpress.org
Mon Nov 6 00:50:05 UTC 2017


#3201: Improve CampTix 'Notify' function, including adding auto-save and an
Editor-style email composition
----------------------------------------+------------------
 Reporter:  alicestill                  |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:
Component:  WordCamp Site & Plugins     |  Resolution:
 Keywords:  good-first-bug needs-patch  |
----------------------------------------+------------------

Comment (by Gabe462):

 Thanks for posting this, alicestill!

 Here are the requests I'm seeing in this ticket:

 1. Save & auto-save drafts
 2. Warning that you will lose your email draft if you close the tab or go
 back
 3. An easy to use, Editor-style email composition
 4. Ability to view sent emails

 possible deliverables, in order of complexity:
 1. add a javascript event that fires on page reload/close when there is
 content in the email fields
 2. add a button to load an old message into the editor for viewing/resend
 3. instantiate the visual editor for the "Message" field

 Possible implementation:

 1: add javascript to this page along the lines of
 window.onbeforeunload = function () {
 return "Are you sure?";
 }

 with exceptions for the send and preview buttons

 2: Add a "load" link at the right of each email in the table. enable
 "show_in_rest" for the tix_email cpt for this page, and fetch the id
 corresponding to  the email clicked. The title and content are written to
 the Subject and Message fields.

 3: research necessary

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3201#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list