Commit e2ce4e9
refactor: API server modularization - route modules, extracted services; dashboard spectrogram end-of-clip fix
Content snapshot of dev (f524937..ad9191a):
- api.py shrinks from ~4,700 lines to a slim composition root: routes
move into core/routes/ (auth, settings, system, migration, media,
images, species, observations, detections) and shared logic into
focused services (api_infra, bird_image_service, detection_presenter,
settings_store, update_service)
- Logging is configured before the import-time DatabaseManager
construction so its startup messages reach the configured handlers
- Dashboard call player: the rolling spectrogram no longer scrolls a
strip of blank columns in at the right edge when playback ends — a
digital-silence gate on the analyser's raw waveform stops the scroll
exactly when the signal ends
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqhLxxU3aSJcRAHLJSLs2p1 parent d0d34ff commit e2ce4e9
34 files changed
Lines changed: 5555 additions & 5025 deletions
File tree
- backend
- core
- routes
- tests/api
- frontend
- src/views
- tests/views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments