del_char_checkbox unchecked by default

When you delete a character, you can always re-import them - but if you deleted the chat files, they're gone forever unless you backed them up manually. That's why I think this checkbox should be off by default, making chat file deletion a conscious effort.

With it off, worst case someone forgets to check the box and has some unnecessary files on their disk that they can then delete manually. That's much less of a problem than someone forgetting to uncheck the box (e. g. when importing a new version of the character) and then suffering data loss.
This commit is contained in:
SDS 2023-08-03 15:39:15 +02:00 committed by GitHub
parent f892931d44
commit 65732f4406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7520,7 +7520,7 @@ $(document).ready(function () {
<h3>Delete the character?</h3> <h3>Delete the character?</h3>
<b>THIS IS PERMANENT!<br><br> <b>THIS IS PERMANENT!<br><br>
<label for="del_char_checkbox" class="checkbox_label justifyCenter"> <label for="del_char_checkbox" class="checkbox_label justifyCenter">
<input type="checkbox" id="del_char_checkbox" checked /> <input type="checkbox" id="del_char_checkbox" />
<span>Also delete the chat files</span> <span>Also delete the chat files</span>
</label><br></b>` </label><br></b>`
); );