[wp-trac] [WordPress Trac] #43435: Add settings screen for creating a privacy policy

WordPress Trac noreply at wordpress.org
Wed Mar 7 04:43:50 UTC 2018


#43435: Add settings screen for creating a privacy policy
------------------------------+------------------
 Reporter:  azaozz            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  gdpr needs-patch  |     Focuses:
------------------------------+------------------

Comment (by xkon):

 I have some 'flow' notes that maybe it could be done easier, if not it is
 more than fine for a start!

 The current flow:

 - You're on Privacy Page you don't have anything selected so you get a
 message to 'Create' a page.
 - You click -> you get redirected -> you publish the page.
 - Back to the Privacy Page -> no option set yet -> Message to create yet
 another new page.

 That might seem somewhat confusing to some people since they already
 created a page and might think oh nice it was so easy! yay! ... wait...
 where are my extra goodies? - oh snap - I have to go back and Select it as
 well.

 So I would suggest to convert this little piece of flow into this if
 possible:

 You get to Policy Page ->

 - Your select doesn't have anything.
 - You have a message to create a page.

 Action time:
 - You click create a page
 - You get a notification-success. ( ajax magic ! )

 What Happened in the background? :

 - A page is simply put in by our code with a slug of like 'privacy-
 policy-{$timestamp}' so it's always unique.
 - Without redirects we are updating instantly the <select> + the `option`
 followed by a message 'Your page is ready! You can view it <here>' or
 something in that context.
 - The user doesn't have to do anything else. He can even continue
 scrolling through the current page or check the already incoming plugin
 hooks on the next tab if he wants.

 The idea of this is to avoid all of this back and forth and just give them
 a straight up page that with this idea will show their metabox and
 everything already as it is properly registered.

 Either way you're keeping the ID for the select so we don't care about
 slugs / post names they can do whatever they want with them :] as long as
 there's something bound to that select box.


 What do you think about that? I would personally find it perfect to not
 interrupt with redirects etc my `1st click on this new page` :D

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43435#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list