@tpitre/story-ui 3.6.1 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -502,7 +502,7 @@ const SourceCodePanel: React.FC<{ active?: boolean }> = ({ active }) => {
|
|
|
502
502
|
const handleDelete = useCallback(async () => {
|
|
503
503
|
if (!currentStoryId || !isGeneratedStory || isDeleting) return;
|
|
504
504
|
|
|
505
|
-
const confirmed = window.confirm('Delete this
|
|
505
|
+
const confirmed = window.confirm('Delete this story file and ALL its variants? This cannot be undone.');
|
|
506
506
|
if (!confirmed) return;
|
|
507
507
|
|
|
508
508
|
setIsDeleting(true);
|
|
@@ -771,9 +771,9 @@ const SourceCodePanel: React.FC<{ active?: boolean }> = ({ active }) => {
|
|
|
771
771
|
onMouseEnter={() => setDeleteHover(true)}
|
|
772
772
|
onMouseLeave={() => setDeleteHover(false)}
|
|
773
773
|
disabled={isDeleting}
|
|
774
|
-
title="Delete this
|
|
774
|
+
title="Delete this story file and all its variants"
|
|
775
775
|
>
|
|
776
|
-
{isDeleting ? 'Deleting...' : 'Delete'}
|
|
776
|
+
{isDeleting ? 'Deleting...' : 'Delete Story'}
|
|
777
777
|
</button>
|
|
778
778
|
)}
|
|
779
779
|
</div>
|
|
@@ -834,9 +834,9 @@ const SourceCodePanel: React.FC<{ active?: boolean }> = ({ active }) => {
|
|
|
834
834
|
onMouseEnter={() => setDeleteHover(true)}
|
|
835
835
|
onMouseLeave={() => setDeleteHover(false)}
|
|
836
836
|
disabled={isDeleting}
|
|
837
|
-
title="Delete this
|
|
837
|
+
title="Delete this story file and all its variants"
|
|
838
838
|
>
|
|
839
|
-
{isDeleting ? 'Deleting...' : 'Delete'}
|
|
839
|
+
{isDeleting ? 'Deleting...' : 'Delete Story'}
|
|
840
840
|
</button>
|
|
841
841
|
)}
|
|
842
842
|
</div>
|