Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#49035 new feature request

Add Export & Erasure requests to At a Glance dashboard widget.

Reported by: xkon Owned by:
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Privacy Keywords: has-patch 2nd-opinion has-screenshots needs-design-feedback
Focuses: ui, administration, privacy Cc:
PR Number:


Splitting this up from #46424 as was requested to add some information on the Dashboard.

We briefly talked about it on the last #core-privacy meeting and we agreed that adding an extra widget just for Privacy wouldn't be a good take to avoid taking more space on the Dashboard for so little information.

Instead, we can add these on the existing "At a Glance" widget as simple counts of "Data Export requests" & "Data Erasure Requests"

Currently, the caps are a bit messy and reviewed at #44176. I used the "manage_privacy_options" for a starting point but we can re-do this if they are eventually split up into 3 different capabilities.

I'm also adding a "needs-design-feedback" for the Dashicons used as we don't have a Privacy-related icon so I just used the eye as it's the usual suspect for now :D.

Attachments (2)

49035.diff (2.4 KB) - added by xkon 5 weeks ago.
glance_requests.jpg (30.6 KB) - added by xkon 5 weeks ago.

Download all attachments as: .zip

Change History (4)

5 weeks ago

5 weeks ago

#1 @johnbillion
5 weeks ago

For clarity, what's the intention here? To increase the visibility of pending requests? If so, I would say that pending requests should be highlighted more than a regular post, page, or comment, because they're effectively a pending action item.

Maybe that should appear is a similar manner to pending comments?

#2 @xkon
5 weeks ago

Hey @johnbillion,

Yes, the original request from #46424 was to show all "active" requests as well as how much time there is left to fulfill them as a notice. Unfortunately, the time would depend on many things so it's not standard for all websites/locations/authorities and we chose to skip that part.

So the idea continued more into let's show at least how many active requests there are in total without blocking the whole dashboard as if you have a lot of comments also etc you wouldn't need another huge widget taking up that much space in my opinion so I kept it as simple as possible.

If we're ok on creating a separate widget (I wouldn't mind that) we can add a little bit more information again without taking up too much space from the Dashboard area something like:

50 Export Requests ( 20 confirmed, 30 pending )

Also, an extra widget can always be filtered out if someone wants to hide it completely so it might as well be a better option overall to split it up.

I can definitely work on an alternative patch with this idea if it sounds better :).

Note: See TracTickets for help on using tickets.