Parcourir la source

remove redundant console.logs

jelveh il y a 8 heures
Parent
commit
93645cd0ae

+ 0 - 1
src/gui/src/UI/Settings/UIWindowSettings.js

@@ -122,7 +122,6 @@ async function UIWindowSettings(options){
         if (options.tab) {
             const $tabToOpen = $el_window.find(`.settings-sidebar-item[data-settings="${options.tab}"]`);
             if ($tabToOpen.length > 0) {
-                console.log('tabToOpen', $tabToOpen);
                 setTimeout(() => {
                     $tabToOpen.trigger('click');
                 }, 50);

+ 1 - 4
src/gui/src/UI/UIWindowLogin.js

@@ -469,16 +469,13 @@ async function UIWindowLogin(options){
                         resolve(true);
                     $(el_window).close();
                 },
-                error: function (err){
-                    console.log('Login AJAX request error:', err.status, err.statusText);
-                    
+                error: function (err){                    
                     // First, ensure URL is clean in case of error (prevent password leakage)
                     if (window.location.search && (
                         window.location.search.includes('password=') || 
                         window.location.search.includes('username=') || 
                         window.location.search.includes('email=')
                     )) {
-                        console.log('Cleaning sensitive data from URL');
                         const cleanUrl = window.location.origin + window.location.pathname;
                         history.replaceState({}, document.title, cleanUrl);
                     }

+ 0 - 1
src/gui/src/helpers.js

@@ -1660,7 +1660,6 @@ window.move_items = async function(el_items, dest_path, is_undo = false){
 
     // log stats to console
     let move_duration = (Date.now() - move_init_ts);
-    // console.log(`moved ${el_items.length} item${el_items.length > 1 ? 's':''} in ${move_duration}ms`);
 
     // -----------------------------------------------------------------------
     // DONE! close progress window with delay to allow user to see 100% progress

+ 0 - 4
src/gui/src/services/ExecService.js

@@ -139,10 +139,6 @@ export class ExecService extends Service {
             throw new Error('Caller process not found');
         }
 
-        console.log(
-            caller_process.name,
-            app_name,
-        );
         // TODO: permissions integration; for now it's hardcoded
         if ( caller_process.name !== 'phoenix' ) {
             throw new Error('Connection not allowed.');

+ 0 - 1
src/gui/src/services/LaunchOnInitService.js

@@ -34,7 +34,6 @@ export class LaunchOnInitService extends Service {
 
         if ( launch_options.on_initialized ) {
             for ( const command of launch_options.on_initialized ) {
-                console.log('running', command)
                 this.run_(command);
             }
         }