How petko-todorov/activity-log works
Activity Log is a PySide6 desktop app for recording activities with dates, reviewing a sortable recency list and per-activity history, and editing or deleting entries. The workflow starts at the desktop user, enters through the Qt application and main window, then updates the activity model and persists JSON through storage. The graph separates UI, activity operations, and persistence. Source excerpts show the main runtime wiring; no separate domain or service layer is present.
Main entry points: storage.py JSON persistence · main_window.py Main window · main.py Qt entry point · ui_main_window.py Window widgets
Components 12
Application runtime
- Qt entry point
main.py
Desktop interface
- Main window
ui/main_window.py - Window widgets
ui/ui_main_window.py
Activity management
- Activity entry
ui/main_window.py - Sortable activity list
ui/main_window.py - Activity history details
ui/main_window.py - Name suggestions
ui/main_window.py - Rename activity
ui/main_window.py - Delete entries
ui/main_window.py
Local persistence
- JSON persistence
storage.py - Activity data file
activities.json
Other components
- Desktop user
Connections 16
- Desktop user → Qt entry point: launches
README.md - Qt entry point → Main window: creates
main.py - Main window → Window widgets: configures
ui/main_window.py - Desktop user → Activity entry: enters activity
ui/main_window.py - Activity entry → JSON persistence: saves
ui/main_window.py - Main window → JSON persistence: loads data
ui/main_window.py - JSON persistence → Activity data file: reads and writes
storage.py - Activity entry → Sortable activity list: refreshes
ui/main_window.py - Desktop user → Sortable activity list: views and sorts
README.md - Sortable activity list → Activity history details: selection updates
ui/main_window.py - Main window → Name suggestions: configures
ui/main_window.py - Desktop user → Rename activity: requests rename
ui/main_window.py - Rename activity → JSON persistence: saves changes
ui/main_window.py - Desktop user → Delete entries: requests deletion
ui/main_window.py - Delete entries → JSON persistence: saves changes
ui/main_window.py - Delete entries → Sortable activity list: refreshes
ui/main_window.py