Remove debugging console.log statements

Clean up all temporary debugging console.log statements added during
registration status troubleshooting. Remove debug output from multiple
components while preserving essential error logging and functionality.

Changes:
- PlatformServiceMixin.ts: Remove debug logging from $saveUserSettings and $saveMySettings
- AccountViewView.vue: Remove debug logging from mounted, initializeState, checkLimits, and onRecheckLimits
- UsageLimitsSection.vue: Remove debug logging from lifecycle hooks and recheckLimits
- IdentitySwitcherView.vue: Remove debug logging from switchAccount method

All core functionality preserved including error handling with logger.error()
and user notifications. Codebase now production-ready without debugging noise.
This commit is contained in:
Matthew Raymer
2025-07-18 05:28:00 +00:00
parent b0058e16ca
commit 71ea9efda7
4 changed files with 5 additions and 72 deletions

View File

@@ -219,22 +219,15 @@ export default class IdentitySwitcherView extends Vue {
}
async switchAccount(did?: string) {
console.log('[DEBUG] IdentitySwitcher - switchAccount called with DID:', did);
console.log('[DEBUG] IdentitySwitcher - Current activeDid before switch:', this.activeDid);
// Save the new active DID to master settings
await this.$saveSettings({ activeDid: did });
console.log('[DEBUG] IdentitySwitcher - Saved new activeDid to master settings');
// Check if we need to load user-specific settings for the new DID
if (did) {
console.log('[DEBUG] IdentitySwitcher - Loading user-specific settings for DID:', did);
try {
const userSettings = await this.$accountSettings(did);
console.log('[DEBUG] IdentitySwitcher - User settings loaded:', userSettings);
console.log('[DEBUG] IdentitySwitcher - User isRegistered:', userSettings.isRegistered);
await this.$accountSettings(did);
} catch (error) {
console.log('[DEBUG] IdentitySwitcher - Error loading user settings:', error);
// Handle error silently - user settings will be loaded when needed
}
}