this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Different copy for toast when replying or editing

+8 -2
+2
src/components/compose.jsx
··· 839 839 840 840 // Close 841 841 onClose({ 842 + // type: post, reply, edit 843 + type: editStatus ? 'edit' : replyToStatus ? 'reply' : 'post', 842 844 newStatus, 843 845 instance, 844 846 });
+6 -2
src/components/modals.jsx
··· 50 50 null 51 51 } 52 52 onClose={(results) => { 53 - const { newStatus, instance } = results || {}; 53 + const { newStatus, instance, type } = results || {}; 54 54 states.showCompose = false; 55 55 window.__COMPOSE__ = null; 56 56 if (newStatus) { 57 57 states.reloadStatusPage++; 58 58 showToast({ 59 - text: 'Post published. Check it out.', 59 + text: { 60 + post: 'Post published. Check it out.', 61 + reply: 'Reply posted. Check it out.', 62 + edit: 'Post updated. Check it out.', 63 + }[type || 'post'], 60 64 delay: 1000, 61 65 duration: 10_000, // 10 seconds 62 66 onClick: (toast) => {