{"id":6353,"date":"2014-11-06T16:46:29","date_gmt":"2014-11-06T16:46:29","guid":{"rendered":"http:\/\/notmart.org\/blog\/?p=6353"},"modified":"2014-11-06T16:46:29","modified_gmt":"2014-11-06T16:46:29","slug":"whops-i-didnt-mean-to-delete-that","status":"publish","type":"post","link":"https:\/\/notmart.org\/blog\/2014\/11\/whops-i-didnt-mean-to-delete-that\/","title":{"rendered":"Whops I didn&#8217;t mean to delete that"},"content":{"rendered":"<p>This is a little sneak peek of a new feature that will arrive in Plasma 5.2 (OK, to be pedantic since frameworks has a separate schedule, you will be able to get it already next frameworks release a bit before Plasma&#8217;s)<br \/>\nEver ended up deleting a desktop widget, panel widget or even an entire panel just to wish you hadn&#8217;t?<br \/>\nOne solution may be littering everything with confirmation dialogs, but this quickly becomes annoying, besides the user becoming quickly trained to click &#8220;yes&#8221; without ever thinking about (I fallen too many times at this kind of dialogs).<br \/>\nSo, what can be a better solution? Undo!<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/r-nUq8mmjhM\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\nWhen the user deletes something, a notification pops up, notifying that an important thing has been deleted: it offers an action to undo the deletion.<br \/>\nIf you click &#8220;undo&#8221; the widget or panel will instantly come back, if you manually close the notification, it will be irrevocably deleted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a little sneak peek of a new feature that will arrive in Plasma 5.2 (OK, to be pedantic since frameworks has a separate schedule, you will be able to get it already next frameworks release a bit before Plasma&#8217;s) Ever ended up deleting a desktop widget, panel widget or even an entire panel [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[20,2,21,7,142,144],"class_list":["post-6353","post","type-post","status-publish","format-standard","hentry","category-software","tag-desktop","tag-kde","tag-linux","tag-plasma","tag-plasma-5","tag-plasma-5-2"],"_links":{"self":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/6353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/comments?post=6353"}],"version-history":[{"count":2,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/6353\/revisions"}],"predecessor-version":[{"id":6355,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/6353\/revisions\/6355"}],"wp:attachment":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/media?parent=6353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/categories?post=6353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/tags?post=6353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}