You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error(`Settings UI component missing for category: ${category}. Skipping toggle-all wiring for this category section.`);
583
+
console.error(`Toggle button text element (.toggle-all-text) not found for category: ${category}. This indicates a UI rendering issue. Please check the createSettingsCategoryHeader method.`);
583
584
returncategorySection;
584
585
}
585
586
constupdateToggleButtonState=()=>{
@@ -722,10 +723,14 @@ export class ExternalServicesManager {
722
723
}
723
724
724
725
/**
725
-
* Update save button icon + text consistently.
726
-
* @param {HTMLElement} saveButton - Save button element
727
-
* @param {string} iconClass - Icon class to apply
728
-
* @param {string} text - Button label text
726
+
* Updates the save button's rendered content by replacing both its icon and label text.
727
+
* Use this method for non-default/transient UI states (for example: saving, saved, or error feedback)
728
+
* when the button should communicate progress or result to the user.
729
+
* Use `resetSaveButtonContent` when returning the button to its default idle "Save Changes" state.
730
+
*
731
+
* @param {HTMLElement} saveButton - Save button element to update.
732
+
* @param {string} iconClass - Full icon class string to apply to the `<i>` element (for example, "fas fa-save").
733
+
* @param {string} text - Visible button label text to render after the icon.
729
734
*/
730
735
setSaveButtonContent(saveButton,iconClass,text){
731
736
saveButton.textContent="";
@@ -1079,9 +1084,6 @@ export class ExternalServicesManager {
1079
1084
* @param {Function} requestFn - Async function that performs the actual request
1080
1085
* @returns {Promise} Resolves when request completes
1081
1086
*/
1082
-
// NOTE: constructor initializes all stateful request-management fields, including:
1083
-
// this.inFlightRequests = {};
1084
-
// Constructor must include: this.inFlightRequests = {};
0 commit comments