Improvements v0.0.3 #2

Merged
rdenadai merged 6 commits from improvements-v0.0.3 into main 2026-08-17 22:56:46 +00:00
Owner

Summary

Refactors TILens into a clearer backend/frontend layout, updates imports/docs/tooling, bumps version to 0.0.3, and improves external article link behavior.

Changes

  • Reorganized app structure:
    • app/backend/ for core, routes, presentation, services, queries, storage, adapters, and migrations
    • app/frontend/ for static assets and templates
    • Kept app/main.py as the FastAPI composition root
  • Removed legacy root modules and facades:
    • Removed unused app/hn.py and app/fixtures.py
    • Removed root app/queries.py and app/storage.py
  • Split large modules into focused layers:
    • Routes moved under app/backend/routes/
    • Query read layer moved under app/backend/queries/
    • Worker persistence moved under app/backend/storage/
    • Presentation helpers moved under app/backend/presentation/
  • Updated templates into grouped folders:
    • layouts/
    • pages/
    • partials/
    • macros/
  • Updated Docker, compose, scripts, docs, tests, and build paths for the new layout.
  • Bumped version to 0.0.3 across Python/package metadata and lockfiles.
  • Website footer now renders v0.0.3.
  • Article and discussion links now open in a new browser tab with target="_blank" and rel="noopener noreferrer".
  • Tuned Calendar dropdown typography so year, month, and day labels are visually closer in size.
  • Added regression tests for:
    • Frontend/backend paths
    • Docker/compose entrypoints
    • Version sync
    • External link target behavior
    • CSP header behavior
## Summary Refactors TILens into a clearer backend/frontend layout, updates imports/docs/tooling, bumps version to `0.0.3`, and improves external article link behavior. ## Changes - Reorganized app structure: - `app/backend/` for core, routes, presentation, services, queries, storage, adapters, and migrations - `app/frontend/` for static assets and templates - Kept `app/main.py` as the FastAPI composition root - Removed legacy root modules and facades: - Removed unused `app/hn.py` and `app/fixtures.py` - Removed root `app/queries.py` and `app/storage.py` - Split large modules into focused layers: - Routes moved under `app/backend/routes/` - Query read layer moved under `app/backend/queries/` - Worker persistence moved under `app/backend/storage/` - Presentation helpers moved under `app/backend/presentation/` - Updated templates into grouped folders: - `layouts/` - `pages/` - `partials/` - `macros/` - Updated Docker, compose, scripts, docs, tests, and build paths for the new layout. - Bumped version to `0.0.3` across Python/package metadata and lockfiles. - Website footer now renders `v0.0.3`. - Article and discussion links now open in a new browser tab with `target="_blank"` and `rel="noopener noreferrer"`. - Tuned Calendar dropdown typography so year, month, and day labels are visually closer in size. - Added regression tests for: - Frontend/backend paths - Docker/compose entrypoints - Version sync - External link target behavior - CSP header behavior
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rdenadai/tilens!2
No description provided.