WordPress / pattern-directory

The WordPress Block Pattern Directory
https://wordpress.org/patterns/
GNU General Public License v2.0
125 stars 35 forks source link

Pattern management: Add "transfer ownership" option to manage dropdown #369

Open ryelle opened 3 years ago

ryelle commented 3 years ago

The dropdown to manage patterns should also include an item to "Transfer ownership".

Current dropdown:

Screen Shot 2021-10-19 at 2 50 05 PM

This still needs a flow designed for how to transfer ownership. Does this toggle a new modal? Should it have some explanation? We probably can't show a dropdown/autocomplete of all users on wp.org, so the input to pick a new owner would be better as a text input like what's used on plugins:

Screen Shot 2021-10-19 at 2 52 24 PM

I've put this in the "creation" milestone, but IMO we can launch without it if necessary.

jasmussen commented 2 years ago

I'm jumping in a bit blind here, so forgive me if some of these ideas don't apply. I imagine that "Delete pattern" opens a confirm dialog, correct? In that vein, "Transfer ownership" is similarly destructive, and a modal seems like it might be a good fit. Here's a quick doodle:

Mockup showing a dropdown menu with 4 items, and a modal with a username input

Let me know if that's useful.