Change match options to checkboxes

This commit is contained in:
Crow
2025-04-16 17:14:12 +01:00
parent 7748c315d7
commit b685c4f5bf

View File

@@ -6174,26 +6174,12 @@
<strong>Activation Settings</strong> <strong>Activation Settings</strong>
<div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div> <div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
</div> </div>
<div class="inline-drawer-content flex-container flexFlowRow flexGap10"> <div class="inline-drawer-content flex-container flexFlowRow flexGap10 paddingBottom5px">
<div class="flex1 flex-container flexFlowColumn flexGap10"> <div class="flex1 flex-container flexFlowColumn flexGap10">
<div class="flex-container flexFlowRow alignItemsCenter justifySpaceBetween" title="Can be used to automatically activate Quick Replies" data-i18n="[title]Can be used to automatically activate Quick Replies"> <div class="flex-container flexFlowRow alignItemsCenter justifySpaceBetween" title="Can be used to automatically activate Quick Replies" data-i18n="[title]Can be used to automatically activate Quick Replies">
<small class="flex1" data-i18n="Automation ID">Automation ID</small> <small class="flex1" data-i18n="Automation ID">Automation ID</small>
<input class="flex1 text_pole margin0" name="automationId" type="text" placeholder="( None )" data-i18n="[placeholder]( None )"> <input class="flex1 text_pole margin0" name="automationId" type="text" placeholder="( None )" data-i18n="[placeholder]( None )">
</div> </div>
<small>
<label class="checkbox flex-container alignItemsCenter flexNoGap">
<input type="checkbox" name="exclude_recursion" />
<span data-i18n="Non-recursable (will not be activated by another)">
Non-recursable (will not be activated by another)
</span>
</label>
<label class="checkbox flex-container alignItemsCenter flexNoGap">
<input type="checkbox" name="prevent_recursion" />
<span data-i18n="Prevent further recursion (this entry will not activate others)">
Prevent further recursion (will not activate others)
</span>
</label>
</small>
<div class="flex-container alignItemsCenter flexNoGap"> <div class="flex-container alignItemsCenter flexNoGap">
<small class="flex1" data-i18n="Scan Depth">Scan Depth</small> <small class="flex1" data-i18n="Scan Depth">Scan Depth</small>
<input class="text_pole margin0 flex1" name="scanDepth" type="number" placeholder="Use global setting" data-i18n="[placeholder]Use global setting" max="1000"> <input class="text_pole margin0 flex1" name="scanDepth" type="number" placeholder="Use global setting" data-i18n="[placeholder]Use global setting" max="1000">
@@ -6241,54 +6227,56 @@
</div> </div>
<div class="flex1 flex-container flexFlowColumn flexGap10"> <div class="flex1 flex-container flexFlowColumn flexGap10">
<div class="checkbox flex-container alignItemsCenter flexNoGap"> <small>
<small class="flex1" data-i18n="Match Persona Description">Match Persona Description</small> <label class="checkbox flex-container alignItemsCenter flexNoGap">
<select name="matchPersonaDescription" class="text_pole widthNatural margin0 flex1"> <input type="checkbox" name="exclude_recursion" />
<option value="null" data-i18n="Use global">Use global</option> <span data-i18n="Non-recursable (will not be activated by another)">
<option value="true" data-i18n="Yes">Yes</option> Non-recursable (will not be activated by another)
<option value="false" data-i18n="No">No</option> </span>
</select> </label>
</div> <label class="checkbox flex-container alignItemsCenter flexNoGap">
<div class="checkbox flex-container alignItemsCenter flexNoGap"> <input type="checkbox" name="prevent_recursion" />
<small class="flex1" data-i18n="Match Character Description">Match Character Description</small> <span data-i18n="Prevent further recursion (this entry will not activate others)">
<select name="matchCharacterDescription" class="text_pole widthNatural margin0 flex1"> Prevent further recursion (will not activate others)
<option value="null" data-i18n="Use global">Use global</option> </span>
<option value="true" data-i18n="Yes">Yes</option> </label>
<option value="false" data-i18n="No">No</option> <label class="checkbox flex-container alignItemsCenter flexNoGap">
</select> <input type="checkbox" name="matchPersonaDescription" />
</div> <span data-i18n="Match Persona Description">
<div class="checkbox flex-container alignItemsCenter flexNoGap"> Match Persona Description
<small class="flex1" data-i18n="Match Character Personality">Match Character Personality</small> </span>
<select name="matchCharacterPersonality" class="text_pole widthNatural margin0 flex1"> </label>
<option value="null" data-i18n="Use global">Use global</option> <label class="checkbox flex-container alignItemsCenter flexNoGap">
<option value="true" data-i18n="Yes">Yes</option> <input type="checkbox" name="matchCharacterDescription" />
<option value="false" data-i18n="No">No</option> <span data-i18n="Match Character Description">
</select> Match Character Description
</div> </span>
<div class="checkbox flex-container alignItemsCenter flexNoGap"> </label>
<small class="flex1" data-i18n="Match Character Note">Match Character Note</small> <label class="checkbox flex-container alignItemsCenter flexNoGap">
<select name="matchCharacterNote" class="text_pole widthNatural margin0 flex1"> <input type="checkbox" name="matchCharacterPersonality" />
<option value="null" data-i18n="Use global">Use global</option> <span data-i18n="Match Character Personality">
<option value="true" data-i18n="Yes">Yes</option> Match Character Personality
<option value="false" data-i18n="No">No</option> </span>
</select> </label>
</div> <label class="checkbox flex-container alignItemsCenter flexNoGap">
<div class="checkbox flex-container alignItemsCenter flexNoGap"> <input type="checkbox" name="matchCharacterNote" />
<small class="flex1" data-i18n="Match Scenario">Match Scenario</small> <span data-i18n="Match Character Note">
<select name="matchScenario" class="text_pole widthNatural margin0 flex1"> Match Character Note
<option value="null" data-i18n="Use global">Use global</option> </span>
<option value="true" data-i18n="Yes">Yes</option> </label>
<option value="false" data-i18n="No">No</option> <label class="checkbox flex-container alignItemsCenter flexNoGap">
</select> <input type="checkbox" name="matchScenario" />
</div> <span data-i18n="Match Scenario">
<div class="checkbox flex-container alignItemsCenter flexNoGap"> Match Scenario
<small class="flex1" data-i18n="Match Creator Notes">Match Creator Notes</small> </span>
<select name="matchCreatorNotes" class="text_pole widthNatural margin0 flex1"> </label>
<option value="null" data-i18n="Use global">Use global</option> <label class="checkbox flex-container alignItemsCenter flexNoGap">
<option value="true" data-i18n="Yes">Yes</option> <input type="checkbox" name="matchCreatorNotes" />
<option value="false" data-i18n="No">No</option> <span data-i18n="Match Creator Notes">
</select> Match Creator Notes
</div> </span>
</label>
</small>
</div> </div>
</div> </div>
</div> </div>