Skip to content

Feature/code cleanup#4

Merged
oxivanisher merged 4 commits into
masterfrom
feature/code_cleanup
Jun 3, 2026
Merged

Feature/code cleanup#4
oxivanisher merged 4 commits into
masterfrom
feature/code_cleanup

Conversation

@oxivanisher

Copy link
Copy Markdown
Owner

Using claude code, the code is reworked and reorganized. Not really functional changes, but way cleaner project structure.

oxivanisher and others added 4 commits June 3, 2026 17:52
- Replace all mod_* directories with infowindow/ package
- display/: Canvas (pure PIL), RealEPD (e-ink + change-detection),
  MockEPD (composite preview PNG for local dev); auto-detects hardware
- sources/: typed backends via TypedDict + Protocol; importlib-driven
  loader respects enabled flags without static imports
- layout.py: extracted draw_layout(), render_todos(),
  render_calendar_column(), render_weather(), fetch_all() from main()
- config.py: centralised config loading via pathlib
- utils/paths.py: PROJECT_ROOT, FONTS_DIR, ICONS_DIR, cache_path()
- Todoist backend stubbed (v8 API discontinued)
- Teamwork base64 encoding fixed (str → bytes)
- infowindow.py kept as thin shim so systemd ExecStart unchanged
- screensaver uses get_display() for mock-aware hardware calls
- Delete clearScreen.py, requirements.txt, setup.py
- Add pyproject.toml with optional dep groups: rpi, google, caldav, todoist

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@oxivanisher oxivanisher merged commit 12ee984 into master Jun 3, 2026
@oxivanisher oxivanisher deleted the feature/code_cleanup branch June 3, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant