Enhance usability and localization across components: Update USABILITY_CONCEPT.md with new focus areas, improve user feedback in AppFooter and FamilyView components, and refine text in various UI elements for better clarity and consistency. Replace console logs with user-friendly messages, correct German translations, and streamline interaction logic in multiple components.
This commit is contained in:
@@ -224,11 +224,9 @@ const store = createStore({
|
||||
}
|
||||
|
||||
const maxRetries = 10;
|
||||
console.log(`Backend-Reconnect-Versuch ${state.backendRetryCount + 1}/${maxRetries}`);
|
||||
|
||||
if (state.backendRetryCount >= maxRetries) {
|
||||
// Nach maxRetries alle 5 Sekunden weiter versuchen
|
||||
console.log('Backend: Max Retries erreicht, versuche weiter alle 5 Sekunden...');
|
||||
state.backendRetryTimer = setTimeout(() => {
|
||||
state.backendRetryCount = 0; // Reset für nächsten Zyklus
|
||||
state.backendRetryTimer = null;
|
||||
@@ -241,7 +239,6 @@ const store = createStore({
|
||||
|
||||
state.backendRetryCount++;
|
||||
const delay = 5000; // Alle 5 Sekunden versuchen
|
||||
console.log(`Backend: Warte ${delay}ms bis zum nächsten Reconnect-Versuch...`);
|
||||
|
||||
state.backendRetryTimer = setTimeout(() => {
|
||||
state.backendRetryTimer = null;
|
||||
@@ -259,8 +256,6 @@ const store = createStore({
|
||||
// Vite bindet Umgebungsvariablen zur Build-Zeit ein, daher Fallback-Logik basierend auf Hostname
|
||||
let daemonUrl = getDaemonSocketUrl();
|
||||
|
||||
console.log('[Daemon] Finale Daemon-URL:', daemonUrl);
|
||||
|
||||
const connectDaemonSocket = () => {
|
||||
// Cleanup existing socket and timer
|
||||
if (state.daemonSocket) {
|
||||
|
||||
Reference in New Issue
Block a user