Cuong-Tran
bdf81596e9
chore: Avoid race conditions and improve bulk selection ( #1606 )
...
* avoid race conditions
* Improve Bulk selection
* Consolidate selection mode updates and list clearing into a single state update.
2026-04-23 16:30:55 +07:00
Cuong-Tran
6c530e4fca
fix(recommendation): Fix null RecommendationSource & refactoring ( #1000 )
...
* Remove redundant condition & refactor class
* Batch networkToLocalManga
* Fix null source
* Simplify by creating RecommendationSource to match with upstream
* Add comment
2025-06-12 15:39:09 +07:00
Tim Schneeberger
9a31ffcc41
feat(recommendation): batch processing for recommendations & sort by relevancy ( jobobby04/TachiyomiSY#1383 )
...
* refactor: use NoResultsException
* refactor: cleanup RecommendationPagingSources
* refactor: turn wake/wifi lock functions into reusable extensions
* feat: implement batch recommendation (initial version)
* fix: serialization issues
* fix: wrong source id
* refactor: increase performance using virtual paging
* refactor: update string
* refactor: handle 404 of MD source correctly
* style: add newline
* refactor: create universal throttle manager
* refactor: throttle requests
* chore: remove unused strings
* feat: rank recommendations by match count
* feat: add badges indicating match count to batch recommendations
* fix: handle rec search with no results
* fix: validate flags in pre-search bottom sheet
* feat: implement 'hide library entries' for recommendation search using custom SmartSearchEngine for library items
* style: run spotless
* fix: cancel button
* fix: racing condition causing loss of state
* Avoid runBlocking in a property getter
* Remove unnecessary `synchronized`
* Fixes screen staying on in library tab. (jobobby04/TachiyomiSY#1451 )
(cherry picked from commit 254980695bc39fe064e7aeb181ecdbf70c1eff95)
---------
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
Co-authored-by: NGB-Was-Taken <76197326+NGB-Was-Taken@users.noreply.github.com>
2025-06-12 15:19:34 +07:00
Cuong-Tran
3d2ad327bc
chore(manga-repository): Revert (in-memory) fast browsing ( #965 )
...
* Revert "fix(manga-repository): Fix selected entries while bulk-selection won't show as selected (#927 )"
This reverts commit 303a266720 .
* Revert "refactor(network-to-local): simplify networkToLocalManga (#910 )"
This reverts commit d33efced68 .
* Revert "chore(network-local-manga): Reintroduce (in-memory) fast browsing (#909 )"
This reverts commit 3310784faf .
* Add updateInfo parameter to insertNetworkManga method
2025-05-31 11:41:20 +07:00
Cuong-Tran
d33efced68
refactor(network-to-local): simplify networkToLocalManga ( #910 )
2025-05-14 15:14:25 +07:00
Cuong-Tran
3310784faf
chore(network-local-manga): Reintroduce (in-memory) fast browsing ( #909 )
...
* measure time
* Revert "Revert "Fast browsing (#612 )""
This reverts commit d23130b317 .
* Fix networkToLocal for bulk-selection selectAll/reverseSelection
* fix comments
2025-05-13 23:18:01 +07:00
Cuong-Tran
4fcbd88618
refactor(bulk-selection): optimize selectAll/reverseSelection logic ( #898 )
2025-05-10 01:12:13 +07:00
Cuong-Tran
78f03f8207
fix(toolbar): do not bulk-selection on BrowseRecommends ( #897 )
2025-05-10 00:44:33 +07:00
Cuong-Tran
fa7b18590e
Allow migrate mangas when using Bulk-favorite ( #824 )
...
* Combine ChangeMangaCategoryDialog
* Allow migrating a single manga when using Bulk-favorite
* Allow migrating mangas one by one when using Bulk-favorite
* set visibility
* Fix duplicate toggleSelection after migration
* After migration, continue adding favorites if there are more to bulk-favorite or push new Manga screen if it's a single manga being added by long-click
* fix usage of ChangeMangaCategory
* improve toggleSelection code
* refactoring ChangeMangasCategory
* switch LocalNavigator.currentOrThrow to current
* split composable to `presentation`
* hoisting the state to a common parent composable
* Fix migration dialog dismissed when clicking on Show entry
* Don't push new Manga screen after migration of duplicated entries everywhere
2025-04-09 11:42:43 +07:00
Cuong-Tran
d89180fb10
Combine Bulk-favorite's dialogs into one reusable compose
2025-04-07 21:22:56 +07:00
Cuong-Tran
28fae3657a
Bulk-favorite fully uses new multi-Duplicate dialog
2025-04-06 22:45:32 +07:00
Cuong-Tran
d23130b317
Revert "Fast browsing ( #612 )"
...
Also bring back selectAll/selectReverse on BulkSelection
This reverts commit 5fc9e202e8
and f37a7b1580
and 7e16b56911 .
2025-04-05 23:20:31 +07:00
Jobobby04
24f7d133f7
Minor cleanup
...
(cherry picked from commit 456db526538d67773ee939850fa435d52d785a29)
2025-01-24 03:07:15 +07:00
Cuong-Tran
c643d8a55b
Add bulk-selection & improve display mode in RecommendsScreen
2025-01-24 03:06:59 +07:00
Tim Schneeberger
7b30a2a10f
feat: unify recommendation screens and add more sources ( jobobby04/TachiyomiSY#1376 )
...
* feat(recommendations): add mangaupdates.com support
* feat(recommendations): display all tracker recommendation sources
* refactor(recommendations): apply spotless
* refactor: split RecommendationPagingSources
* feat(recommendations): unify MangaDex & community recommendations
* refactor: remove old screen
* fix: update comment
* style: fix formatting
* refactor: move onClick handlers
* fix: handle external recommendation links correctly
* fix: apply spotless
* feat: add comick recommendation source
* fix: mark recs from comick as not initialized to force fetching missing metadata
* Update app/src/main/java/exh/recs/BrowseRecommendsScreen.kt
---------
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
(cherry picked from commit d80ad3f145868f9c79bc6d94c08ed847c650e6d6)
2025-01-24 03:06:59 +07:00