Removed quick regenerate button Response to change request.

ea76ec89de733d9158f97e0978e933f42d3d1a12

NearEDGE <NearEDGE@live.com>

5 files changed, +2 -32Showing whitespace changes
public/index.html+0 -7
@@ -4144,12 +4144,6 @@
41444144 Quick "Continue" button
41454145 </small>
41464146 </label>
4147- <label class="checkbox_label" for="quick_regenerate" title="Show a button in the input area to ask the AI regenerate its last message." data-i18n="[title]Show a button in the input area to ask the AI regenerate its last message">
4148- <input id="quick_regenerate" type="checkbox" />
4149- <small data-i18n="Quick 'Regenerate' button">
4150- Quick "Regenerate" button
4151- </small>
4152- </label>
41534147 <label class="checkbox_label" for="quick_impersonate" title="Show a button in the input area to ask the AI to impersonate your character for a single message." data-i18n="[title]Show a button in the input area to ask the AI to impersonate your character for a single message">
41544148 <input id="quick_impersonate" type="checkbox" />
41554149 <small data-i18n="Quick 'Impersonate' button">
@@ -6355,7 +6349,6 @@
63556349 <i class="fa-solid fa-circle-stop"></i>
63566350 </div>
63576351 <div id="mes_impersonate" class="fa-solid fa-user-secret interactable displayNone" title="Ask AI to write your message for you" data-i18n="[title]Ask AI to write your message for you" tabindex="0"></div>
6358- <div id="mes_regenerate" class="fa-solid fa-repeat interactable displayNone" title="Regenerate last message" data-i18n="[title]Regenerate last message" tabindex="0"></div>
63596352 <div id="mes_continue" class="fa-fw fa-solid fa-arrow-right interactable displayNone" title="Continue the last message" data-i18n="[title]Continue the last message"></div>
63606353 <div id="send_but" class="fa-solid fa-paper-plane interactable displayNone" title="Send a message" data-i18n="[title]Send a message"></div>
63616354 </div>
public/script.js+2 -9
@@ -5610,7 +5610,6 @@ export function activateSendButtons() {
56105610 is_send_press = false;
56115611 $('#send_but').removeClass('displayNone');
56125612 $('#mes_continue').removeClass('displayNone');
5613- $('#mes_regenerate').removeClass('displayNone');
56145613 $('#mes_impersonate').removeClass('displayNone');
56155614 $('.mes_buttons:last').show();
56165615 hideStopButton();
@@ -5619,7 +5618,6 @@ export function activateSendButtons() {
56195618export function deactivateSendButtons() {
56205619 $('#send_but').addClass('displayNone');
56215620 $('#mes_continue').addClass('displayNone');
5622- $('#mes_regenerate').addClass('displayNone');
56235621 $('#mes_impersonate').addClass('displayNone');
56245622 showStopButton();
56255623}
@@ -9099,14 +9097,14 @@ jQuery(async function () {
90999097 $('#send_textarea').on('focusin focus click', () => {
91009098 S_TAPreviouslyFocused = true;
91019099 });
91029100 $('#send_but, #option_regenerate, #option_continue, #mes_continue, #mes_regenerate, #mes_impersonate').on('click', () => {
91039101 if (S_TAPreviouslyFocused) {
91049102 $('#send_textarea').focus();
91059103 }
91069104 });
91079105 $(document).click(event => {
91089106 if ($(':focus').attr('id') !== 'send_textarea') {
91099107 var validIDs = ['options_button', 'send_but', 'mes_regenerate', 'mes_impersonate', 'mes_continue', 'send_textarea', 'option_regenerate', 'option_continue'];
91109108 if (!validIDs.includes($(event.target).attr('id'))) {
91119109 S_TAPreviouslyFocused = false;
91129110 }
@@ -9142,11 +9140,6 @@ jQuery(async function () {
91429140 debouncedCharacterSearch(searchQuery);
91439141 });
91449142
9145-
9146- $('#mes_regenerate').on('click', function () {
9147- $('#option_regenerate').trigger('click');
9148- });
9149-
91509143 $('#mes_impersonate').on('click', function () {
91519144 $('#option_impersonate').trigger('click');
91529145 });
public/scripts/RossAscends-mods.js+0 -2
@@ -311,7 +311,6 @@ function RA_checkOnlineStatus() {
311311 $('#send_form').addClass('no-connection'); //entire input form area is red when not connected
312312 $('#send_but').addClass('displayNone'); //send button is hidden when not connected;
313313 $('#mes_continue').addClass('displayNone'); //continue button is hidden when not connected;
314- $('#mes_regenerate').addClass('displayNone'); //continue button is hidden when not connected;
315314 $('#mes_impersonate').addClass('displayNone'); //continue button is hidden when not connected;
316315 $('#API-status-top').removeClass('fa-plug');
317316 $('#API-status-top').addClass('fa-plug-circle-exclamation redOverlayGlow');
@@ -329,7 +328,6 @@ function RA_checkOnlineStatus() {
329328 if (!is_send_press && !(selected_group && is_group_generating)) {
330329 $('#send_but').removeClass('displayNone'); //on connect, send button shows
331330 $('#mes_continue').removeClass('displayNone'); //continue button is shown when connected
332- $('#mes_regenerate').removeClass('displayNone'); //continue button is shown when connected
333331 $('#mes_impersonate').removeClass('displayNone'); //continue button is shown when connected
334332 }
335333 }
public/scripts/power-user.js+0 -10
@@ -197,7 +197,6 @@ let power_user = {
197197 prefer_character_prompt: true,
198198 prefer_character_jailbreak: true,
199199 quick_continue: false,
200- quick_regenerate: false,
201200 quick_impersonate: false,
202201 continue_on_send: false,
203202 trim_spaces: true,
@@ -1588,10 +1587,8 @@ function loadPowerUserSettings(settings, data) {
15881587 $('#trim_spaces').prop('checked', power_user.trim_spaces);
15891588 $('#continue_on_send').prop('checked', power_user.continue_on_send);
15901589 $('#quick_continue').prop('checked', power_user.quick_continue);
1591- $('#quick_regenerate').prop('checked', power_user.quick_continue);
15921590 $('#quick_impersonate').prop('checked', power_user.quick_continue);
15931591 $('#mes_continue').css('display', power_user.quick_continue ? '' : 'none');
1594- $('#mes_regenerate').css('display', power_user.quick_regenerate? '' : 'none');
15951592 $('#mes_impersonate').css('display', power_user.quick_impersonate ? '' : 'none');
15961593 $('#gestures-checkbox').prop('checked', power_user.gestures);
15971594 $('#auto_swipe').prop('checked', power_user.auto_swipe);
@@ -3738,13 +3735,6 @@ $(document).ready(() => {
37383735 saveSettingsDebounced();
37393736 });
37403737
3741- $('#quick_regenerate').on('input', function () {
3742- const value = !!$(this).prop('checked');
3743- power_user.quick_regenerate = value;
3744- $('#mes_regenerate').css('display', value ? '' : 'none');
3745- saveSettingsDebounced();
3746- });
3747-
37483738 $('#quick_impersonate').on('input', function () {
37493739 const value = !!$(this).prop('checked');
37503740 power_user.quick_impersonate = value;
public/style.css+0 -4
@@ -716,10 +716,6 @@ body .panelControlBar {
716716 order: 1;
717717}
718718
719-#mes_regenerate {
720- order: 1;
721-}
722-
723719#mes_impersonate {
724720 order: 1;
725721}