We've been using the default browser alert to confirm deleting a story. We should switch this out for an actual alert of some sort. We could follow the one in material ui to cut down on UX time.
This story will be comprised of
(going to move forward mimicking material ui to give users a better experience. We can always circle back with new designs.)
There's already a Dialog component in the editor app, if we can re-use that.
With that being said, we should be really starting to properly extract commonly used components into their own folder/package
Thanks, @swissspidy I'll see about copying or mimicking that with the intentions of pulling it out into a shared space.
This makes sense - go ahead with your plan to mimic material UI and we can always do a UX exercise if necessary. Don't think we should block the initial effort on UX bandwidth.
Now delete story confirmation looks like this:

instead of this:

That looks good to me as a start, we can make any UX tweaks as necessary in future tickets/revisions.
Verified in QA
@swissspidy are story deletion permanent? If so, @BrittanyIRL if it's easy to change the message to read:
Delete permanently
[Story title] will be permanently deleted. This action cannot be undone.
If not, we can close out and I'll file a ticket for update when we get the new visuals in.
@samitron7 It's up to us. Right now & by default, deleting means putting into the trash. Items can be recovered from trash for around 30 days (depends on website configuration). IMO we should keep it that way.
Trash recovery can currently be done via the classic WP list table.
text updates like the above are super easy! Just let me know if you want it changed per Pascal's comment above.
Based on @swissspidy's comment, let's just keep it that way.
Verify in UAT
Most helpful comment
Thanks, @swissspidy I'll see about copying or mimicking that with the intentions of pulling it out into a shared space.