From 204b04230f2db2ead9c6ebe1ca572e23cd89a119 Mon Sep 17 00:00:00 2001 From: Claude Project Manager Date: Mon, 7 Jul 2025 22:42:47 +0200 Subject: [PATCH] Anpassungen Einstellungen --- CLAUDE_PROJECT_README.md | 6 ++-- data/projects.json | 6 ++-- data/vps_readme/VPS_README.md | 2 +- gitea_push_debug.txt | 39 ++++++---------------- gui/settings_dialog.py | 63 ++++++++++++++++++++++++++++------- 5 files changed, 69 insertions(+), 47 deletions(-) diff --git a/CLAUDE_PROJECT_README.md b/CLAUDE_PROJECT_README.md index fbecda1..6dfb8d0 100644 --- a/CLAUDE_PROJECT_README.md +++ b/CLAUDE_PROJECT_README.md @@ -5,9 +5,9 @@ ## Project Overview - **Path**: `C:/Users/hendr/Desktop/IntelSight/ClaudeProjectManager-main` -- **Files**: 219 files +- **Files**: 220 files - **Size**: 76.9 MB -- **Last Modified**: 2025-07-07 21:50 +- **Last Modified**: 2025-07-07 22:34 ## Technology Stack @@ -194,3 +194,5 @@ This project is managed with Claude Project Manager. To work with this project: - README updated on 2025-07-07 08:30:39 - README updated on 2025-07-07 21:38:23 - README updated on 2025-07-07 21:50:23 +- README updated on 2025-07-07 22:12:28 +- README updated on 2025-07-07 22:34:45 diff --git a/data/projects.json b/data/projects.json index 9702c5a..1e61693 100644 --- a/data/projects.json +++ b/data/projects.json @@ -5,7 +5,7 @@ "name": "VPS Server", "path": "claude-dev@91.99.192.14", "created_at": "2025-07-01T20:14:48.308074", - "last_accessed": "2025-07-07T14:42:04.952013", + "last_accessed": "2025-07-07T22:17:53.963308", "readme_path": "claude-dev@91.99.192.14\\CLAUDE_PROJECT_README.md", "description": "Remote VPS Server with Claude", "tags": [ @@ -51,12 +51,12 @@ "name": "ClaudeProjectManager-main", "path": "C:/Users/hendr/Desktop/IntelSight/ClaudeProjectManager-main", "created_at": "2025-07-07T21:38:23.820122", - "last_accessed": "2025-07-07T21:50:23.795214", + "last_accessed": "2025-07-07T22:34:45.602409", "readme_path": "C:/Users/hendr/Desktop/IntelSight/ClaudeProjectManager-main\\CLAUDE_PROJECT_README.md", "description": "", "tags": [], "gitea_repo": null } ], - "last_updated": "2025-07-07T21:50:23.795214" + "last_updated": "2025-07-07T22:34:45.602409" } \ No newline at end of file diff --git a/data/vps_readme/VPS_README.md b/data/vps_readme/VPS_README.md index 2021061..f015fa3 100644 --- a/data/vps_readme/VPS_README.md +++ b/data/vps_readme/VPS_README.md @@ -60,4 +60,4 @@ This VPS server provides: ## Connection Log -- README generated on 2025-07-07 14:42:04 +- README generated on 2025-07-07 22:17:53 diff --git a/gitea_push_debug.txt b/gitea_push_debug.txt index a98a37b..944c0af 100644 --- a/gitea_push_debug.txt +++ b/gitea_push_debug.txt @@ -1,4 +1,4 @@ -Push Debug Info - 2025-07-03 22:41:27.267926 +Push Debug Info - 2025-07-07 22:11:38.340552 Repository: ClaudeProjectManager-main Owner: IntelSight Path: C:\Users\hendr\Desktop\IntelSight\ClaudeProjectManager-main @@ -7,35 +7,16 @@ Git remotes: origin https://IntelSight_Admin:3b4a6ba1ade3f34640f3c85d2333b4a3a0627471@gitea-undso.intelsight.de/IntelSight/ClaudeProjectManager-main.git (fetch) origin https://IntelSight_Admin:3b4a6ba1ade3f34640f3c85d2333b4a3a0627471@gitea-undso.intelsight.de/IntelSight/ClaudeProjectManager-main.git (push) Git status before push: -?? .claude/ -?? CLAUDE_PROJECT_README.md -?? ClaudeProjectManager.spec -?? README.md -?? __pycache__/ -?? build.bat -?? build/ -?? build_exe.py -?? data/ -?? dist/ -?? gui/ -?? main.py -?? nul -?? process_manager.py -?? project_manager.py -?? project_process_tracker.py -?? readme_generator.py -?? requirements.txt -?? src/ -?? start.bat -?? terminal_launcher.py -?? test_git_detection.py -?? utils/ -?? vps_connection.py +Clean Push command: git push --set-upstream origin master:main -v -Push result: Failed +Push result: Success Push stdout: - +branch 'master' set up to track 'origin/main'. Push stderr: +POST git-receive-pack (151391 bytes) +remote: . Processing 1 references +remote: Processed 1 references in total Pushing to https://gitea-undso.intelsight.de/IntelSight/ClaudeProjectManager-main.git -error: src refspec master does not match any -error: failed to push some refs to 'https://gitea-undso.intelsight.de/IntelSight/ClaudeProjectManager-main.git' \ No newline at end of file +To https://gitea-undso.intelsight.de/IntelSight/ClaudeProjectManager-main.git + * [new branch] master -> main +updating local tracking ref 'refs/remotes/origin/main' \ No newline at end of file diff --git a/gui/settings_dialog.py b/gui/settings_dialog.py index dd44060..65d523d 100644 --- a/gui/settings_dialog.py +++ b/gui/settings_dialog.py @@ -19,8 +19,8 @@ class SettingsDialog(ctk.CTkToplevel): # Window setup self.title("Einstellungen") - self.geometry("450x400") - self.resizable(False, False) + self.minsize(500, 450) + self.resizable(True, True) # Make modal self.transient(parent) @@ -32,6 +32,9 @@ class SettingsDialog(ctk.CTkToplevel): # Setup UI self.setup_ui() + # Update window size to fit content + self.update_idletasks() + # Center window self.center_window() @@ -137,15 +140,28 @@ class SettingsDialog(ctk.CTkToplevel): activity_section, text="", font=FONTS['small'], - text_color=COLORS['text_secondary'] + text_color=COLORS['text_secondary'], + height=20 ) self.connection_status_label.pack(pady=(0, 10)) # Buttons button_frame = ctk.CTkFrame(main_frame, fg_color="transparent") - button_frame.pack(side="bottom", fill="x", pady=(20, 0)) + button_frame.pack(fill="x", pady=(20, 0)) - # Apply button + # Cancel button (left side) + cancel_btn = ctk.CTkButton( + button_frame, + text="Abbrechen", + command=self.destroy, + fg_color=COLORS['bg_tile'], + hover_color=COLORS['bg_tile_hover'], + text_color=COLORS['text_primary'], + width=100 + ) + cancel_btn.pack(side="left", padx=(0, 5)) + + # Apply button (right side) apply_btn = ctk.CTkButton( button_frame, text="Anwenden", @@ -156,17 +172,17 @@ class SettingsDialog(ctk.CTkToplevel): ) apply_btn.pack(side="right", padx=(5, 0)) - # Cancel button - cancel_btn = ctk.CTkButton( + # Save button (right side, before Apply) + save_btn = ctk.CTkButton( button_frame, - text="Abbrechen", - command=self.destroy, - fg_color=COLORS['bg_tile'], - hover_color=COLORS['bg_tile_hover'], + text="Speichern", + command=self.save_settings_only, + fg_color=COLORS['accent_secondary'], + hover_color=COLORS['accent_hover'], text_color=COLORS['text_primary'], width=100 ) - cancel_btn.pack(side="right") + save_btn.pack(side="right", padx=(5, 0)) def load_settings(self): """Load settings from file""" @@ -189,6 +205,29 @@ class SettingsDialog(ctk.CTkToplevel): except Exception as e: logger.error(f"Failed to save UI settings: {e}") + def save_settings_only(self): + """Save settings without applying to service or closing dialog""" + # Get values + server_url = self.server_url_var.get().strip() + api_key = self.api_key_var.get().strip() + user_name = self.user_name_var.get().strip() + + # Update settings + self.settings["activity_server_url"] = server_url + self.settings["activity_api_key"] = api_key + self.settings["activity_user_name"] = user_name + self.save_settings() + + # Show confirmation + self.connection_status_label.configure( + text="✅ Einstellungen gespeichert!", + text_color=COLORS['accent_success'] + ) + logger.info("Settings saved successfully") + + # Clear status after 2 seconds + self.after(2000, lambda: self.connection_status_label.configure(text="")) + def apply_settings(self): """Apply the selected settings""" import uuid