rss-reader/TODO.md
Greg Shuflin 89f249a3d5 TODO
2025-02-16 01:49:42 -08:00

1.6 KiB

TODO List

Improve Session Management

Current session management is basic and needs improvement:

  • Add session expiry and renewal logic
  • Store sessions in the database with proper cleanup
  • Add ability to revoke sessions
  • Consider adding "remember me" functionality
  • Add session tracking (last used, IP, user agent, etc.)

Network Performance

Asset Management

  • Bundle Font Awesome with static assets instead of using CDN
    • Download and serve Font Awesome files locally
    • Include only the icons we actually use to reduce bundle size
    • Consider using Font Awesome's SVG+JS version for better performance
    • Update CSS and HTML references to use local assets

Testing

OPML Import Tests

  • Add unit tests for OPML parsing and validation

  • Add integration tests for the import endpoint

    • Test file size limits
    • Test invalid XML handling
    • Test empty OPML files
    • Test OPML files with no feeds
    • Test OPML files with invalid feed URLs
  • Add job status endpoint tests

    • Test authentication requirements
    • Test job ownership verification
    • Test status updates during import
    • Test completion status
  • Add UI tests for OPML import flow

    • Test progress indicator
    • Test error handling
    • Test successful import workflow
    • Test mobile view (job status hidden)
  • Add a timeout to external RSS feed fetching to prevent hanging on slow feeds

    • Use reqwest's timeout feature
    • Consider making the timeout configurable
    • Add error handling for timeout cases