feat: navigation store feat: implement OPDS entry caching system Add comprehensive caching for OPDS publications with local image storage and Dublin Core Terms metadata extraction. This enables offline viewing, fixes Library screen to show book titles and covers, and improves overall UX. - Add publications table with full metadata (title, authors, series, publisher, ISBN, language) - Implement local image cache service for covers and thumbnails - Extract DCTerms metadata (series, publisher, language, ISBN) from OPDS feeds - Link reading progress to cached publications - Update Library screen to display cached publication data and covers - Cache publications automatically when starting to read - Fix navigation stack issues by using context.push() instead of context.go() - Add explicit back button to EPUB reader with proper PopScope handling - Implement UNIQUE constraint on reading_progress to prevent duplicates - Save reading progress on screen dispose for both EPUB and image readers Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
22 lines
448 B
Dart
22 lines
448 B
Dart
class EnhancedMetadata {
|
|
final String? series;
|
|
final double? seriesPosition;
|
|
final String? publisher;
|
|
final String? language;
|
|
final String? isbn;
|
|
|
|
const EnhancedMetadata({
|
|
this.series,
|
|
this.seriesPosition,
|
|
this.publisher,
|
|
this.language,
|
|
this.isbn,
|
|
});
|
|
|
|
const EnhancedMetadata.empty()
|
|
: series = null,
|
|
seriesPosition = null,
|
|
publisher = null,
|
|
language = null,
|
|
isbn = null;
|
|
}
|