Anpassungen GUI

Dieser Commit ist enthalten in:
Claude Project Manager
2025-07-08 14:56:05 +02:00
Ursprung 5f32daf3a4
Commit b3eb96566f
6 geänderte Dateien mit 51 neuen und 882 gelöschten Zeilen

Datei anzeigen

@ -315,8 +315,9 @@ class MainWindow:
# Get all projects
projects = self.project_manager.get_all_projects()
# Update count
project_count = len([p for p in projects if p.id not in ["vps-permanent", "admin-panel-permanent", "vps-docker-permanent"]])
# Update count (only local projects)
vps_ids = ["vps-permanent", "admin-panel-permanent", "vps-docker-permanent", "activity-server-permanent"]
project_count = len([p for p in projects if p.id not in vps_ids])
self.count_label.configure(text=f"{project_count} project{'s' if project_count != 1 else ''}")
if differential and self.project_tiles:
@ -371,9 +372,41 @@ class MainWindow:
self.create_project_tile_flow(vps_docker_project, current_row_frame, is_vps=True)
tiles_in_current_row += 1
# Add project tiles
# Add Activity Server tile fourth
activity_project = next((p for p in projects if p.id == "activity-server-permanent"), None)
if activity_project:
if tiles_in_current_row >= tiles_per_row:
create_new_row()
self.create_project_tile_flow(activity_project, current_row_frame, is_vps=True)
tiles_in_current_row += 1
# Add separator line between VPS tiles and local projects
separator_frame = ctk.CTkFrame(self.flow_frame, fg_color="transparent")
separator_frame.pack(fill="x", pady=15)
# Use a more visible separator
separator_line = ctk.CTkFrame(
separator_frame,
height=2, # Thicker line
fg_color=COLORS['accent_secondary'] # More visible blue-gray color
)
separator_line.pack(fill="x", padx=20)
# Label for local projects section
local_label = ctk.CTkLabel(
self.flow_frame,
text="Lokale Projekte",
font=FONTS['tile_text'],
text_color=COLORS['text_secondary']
)
local_label.pack(pady=(0, 10))
# Start new row for local projects
create_new_row()
# Add local project tiles
for project in projects:
if project.id not in ["vps-permanent", "admin-panel-permanent", "vps-docker-permanent"]:
if project.id not in vps_ids:
if tiles_in_current_row >= tiles_per_row:
create_new_row()
self.create_project_tile_flow(project, current_row_frame)

Datei anzeigen

@ -104,8 +104,8 @@ def get_button_styles():
# Window Configuration
WINDOW_CONFIG = {
'title': 'Claude Project Manager',
'width': 1200,
'height': 800,
'width': 1600, # Increased to fit 4 VPS tiles side by side
'height': 1000, # Increased to show Gitea repos without scrolling
'min_width': 800,
'min_height': 600,
}