Improvements v0.0.2 #1

Merged
rdenadai merged 3 commits from improvements-v0.0.2 into main 2026-08-17 18:01:29 +00:00
Owner

Summary

Prepare TILens v0.0.2 with curated AI subtopics, visible app versioning, and installable mobile/PWA support.

Changes

  • Added AI children: ai-labs, huggingface, ai-research, ai-tools under ai.
  • Reclassified existing AI sources (openai-blog, anthropic-blog, google-ai-blog, hf-papers, huggingface-blog, gh-pytorch, gh-langchain, gh-pgvector, thegradient, youtube-anthropic, youtube-deepmindcode, youtube-huggingface, arxiv-cs-ai/lg/cl).
  • Added verified feed: google-research-blog.
  • Canonicalized openai-blog endpoint to https://openai.com/news/rss.xml.
  • Marked anthropic-blog unsupported because no working RSS endpoint was found.
  • Added migration 007_ai_subtopics.sql to insert child topics, update source primary topics, backfill source/entry topics, and refresh FTS labels.
  • Source directory and detail views now order topics with primary first, then parent ai, then the rest.
  • Added tag styles for the new topics and gh-pgvector AI subtopic membership.
  • Bumped app version to 0.0.2 and render v0.0.2 in the footer.
  • Added installable PWA support:
    • Web manifest at /static/site.webmanifest.
    • Android icons 192x192 and 512x512.
    • Mobile app metadata and theme color in the base template.
    • Root-scoped /service-worker.js route with Service-Worker-Allowed: /.
    • Static-only service worker cache for /static/... assets.
    • No HTML/news page caching, so digest content stays network-first.
    • PWA registration script copied by npm run build:js.
## Summary Prepare TILens v0.0.2 with curated AI subtopics, visible app versioning, and installable mobile/PWA support. ## Changes - Added AI children: `ai-labs`, `huggingface`, `ai-research`, `ai-tools` under `ai`. - Reclassified existing AI sources (`openai-blog`, `anthropic-blog`, `google-ai-blog`, `hf-papers`, `huggingface-blog`, `gh-pytorch`, `gh-langchain`, `gh-pgvector`, `thegradient`, `youtube-anthropic`, `youtube-deepmindcode`, `youtube-huggingface`, `arxiv-cs-ai/lg/cl`). - Added verified feed: `google-research-blog`. - Canonicalized `openai-blog` endpoint to `https://openai.com/news/rss.xml`. - Marked `anthropic-blog` `unsupported` because no working RSS endpoint was found. - Added migration `007_ai_subtopics.sql` to insert child topics, update source primary topics, backfill source/entry topics, and refresh FTS labels. - Source directory and detail views now order topics with primary first, then parent `ai`, then the rest. - Added tag styles for the new topics and `gh-pgvector` AI subtopic membership. - Bumped app version to `0.0.2` and render `v0.0.2` in the footer. - Added installable PWA support: - Web manifest at `/static/site.webmanifest`. - Android icons `192x192` and `512x512`. - Mobile app metadata and theme color in the base template. - Root-scoped `/service-worker.js` route with `Service-Worker-Allowed: /`. - Static-only service worker cache for `/static/...` assets. - No HTML/news page caching, so digest content stays network-first. - PWA registration script copied by `npm run build:js`.
Add ai-labs, huggingface, ai-research, ai-tools under AI. Reclassify existing AI sources, backfill source/entry topics via migration 007, refresh entries_fts labels for affected entries, and order source topics with primary first in directory and detail views.
Bump version to 0.0.2 and render v0.0.2 in the footer with the new tl-footer-version class.
- Add web manifest with standalone display, /static/site.webmanifest.
- Add Android icons (192x192, 512x512) generated from tilens.png.
- Serve /service-worker.js with Service-Worker-Allowed: / so the worker claims full app scope while its fetch handler still only caches /static/.
- Register worker from dist/pwa.js with scope /.
- Split precache into required and optional assets; tolerate missing optional files.
- Render manifest link, theme-color, and mobile/app-capable metadata in _base.html.
- Copy pwa.js during npm run build:js.
- Cover manifest, registration script, service worker, rendered HTML, and the new route in tests/test_pwa.py.
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!1
No description provided.