* Migrate History screen to Compose
- Migrate screen
- Strip logic from presenter into use cases and repository
- Setup for other screen being able to migrate to Compose with Theme
* Changes from review comments
* added duplicate manga check
When adding a manga to your library, the app will go through each manga previously added and compare their names. If a match is detected, it will prompt the user and ask for confirmation. On this prompt there is also an option to view the other manga.
* added german translations for newly added strings
* Revert "added german translations for newly added strings"
This reverts commit 71ada620671651daeeb2546aecd02400a4bc86bc.
* changed `AlertDialog.Builder` to `MaterialAlertDialogBuilder`
* using SQL query instead of filtering entire library with Kotlin
* Imported implementation for updating library by next expected update from Neko. This sort uses the last 4 updates for a manga to compute an average time between updates and then extrapolates when the next update should occur.
Currently seems to work perfectly. However, I may have silently messed something up along the way.
All code and algorithms are credited to kyjibo on GitHub. The original commit adding this functionality is here: https://github.com/CarlosEsco/Neko/commit/681003926ae1e07b925155d4e1f43972bbe2b843
* Imported implementation for updating library by next expected update from Neko. This sort uses the last 4 updates for a manga to compute an average time between updates and then extrapolates when the next update should occur.
Currently seems to work perfectly. However, I may have silently messed something up along the way.
All code and algorithms are credited to kyjibo on GitHub. The original commit adding this functionality is here: https://github.com/CarlosEsco/Neko/commit/681003926ae1e07b925155d4e1f43972bbe2b843
* Remove commented-out line from LibraryUpdateRanker
I missed removing this when first committing. The removed line is a holdover from Neko, which requires 7+, but I removed the function that requires this.
* Add flags for sorting per category
* Add logic to LibrarySettingsSheet
* Add logic to LibraryPresenter
* Minor tweaks
* Use enum instead of variables
Also deprecates LibrarySort in favour of the new enum classes
* Remove debug log and suppress deprecation
* Convert DisplayMode setting to enum
Also fix bug were adapter would get de-synced with the current per category setting
* Fix migration crashing app due to values being access before migration
* Add manga-wised rotation mode settings
Based on #3522
Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
* Fix small mistakes
* Complete TODOs
* Rename functions
rotation -> orientation
* Fix orientation icon not changing
Bug from video
* Fix bug with force portrait not being force if a default value
Bug from video
* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash
* Make viewer_flags nullable so old backups viewer gets restored
* Add migration for old rotation and viewer to new defaults ones
* Rename variable in enums
* Fix migration after OrientationType was changed
* Remove untrue comment
Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
Spamming the list post-migration is currently a more common usecase than sources without chapter dates. We'll need to figure out a better way of handling both scenarios.
* - [feature] add ability to set global filter/sort/display for Manga chapters
* - move default chapter settings functionality to overflow menu
- code clean up
* - show confirmation dialog when user selects "Set as Default" option in Chapter Settings
* - hide overflow menu in LibrarySettingsSheet
* - apply default chapter settings if manga is added to Library from a Source's browsing screen
Co-authored-by: arkon <arkon@users.noreply.github.com>
* cover caching overhaul
* add ui for removing custom cover
* skip some loading work
* minor cleanup
* allow refresh library metadata to refresh local manga
* rename metadata_date to cover_last_modified
* rearrange removeMangaFromLibrary
* change custom cover directory
add setting for updating cover when refreshing library
* remove toggle and explicit action for updating covers
* Started working on MAL support
* Added date picker UI
* Replaced Date with Calendar
* Added MAL remote update functionality
* Join url methods listEntryUrl and editUrl
* Removed unused methods
* Renamed mangaEditPayload to mangaEditPostBody
* Moved code to separate method
* Uniformed code to project conventions
* Removed wildcard import
* Moved MyAnimeListTrack to private class
* Improved MyAnimeListTrack name
* Removed redundant code
* Add start/finish date in local database
* Fixed format and improved codestyle
* Fixed typo and fixed TrackHolder's format
* Improved code style
* Ran linter
* Add database updating methods
* Change date format to fit new layout
* Review Commits
* Improve SetTrackReadingDatesDialog readability
* Move private methods after public ones
* Fixed SQL error
* Fixed remove date button
* Updated MaterialDesign methods to latest version
* Replaced dismissDialog() with dialog.Dismiss()
* Fixed wrong string resource usage.