Commit graph

8549 commits

Author SHA1 Message Date
Cuong-Tran
7dd57c54bc
chore(storage): check valid data folder location & handle permission for device without FilePicker (#906)
* fix(storage): setting app's data folder on Android TV

Also check if set location is actually accessible then update UI compose accordingly (for all devices) in some cases (e.g. location set but actual folder was deleted or permission revoked)

(cherry picked from commit ef56b7f11ef0d243ef14816e85afa360f1137fe8)

* chore(storage): improve permission handling for older Android version & Fire TV

(cherry picked from commit 5ee009a6db73d33687e55ee8f4ad6412a9e320d4)
2025-05-11 23:24:16 +07:00
Cuong-Tran
0db7b47bcf
fix(migrate-dialog): Fix migrate-dialog reappear before migration actual complete (#905)
refactor MigrateDialog to use rememberScreenModel for state management
2025-05-11 20:32:02 +07:00
Cuong-Tran
615c9fa259
feat(incognito): add incognito mode for local sources (#903) 2025-05-11 16:07:36 +07:00
Cuong-Tran
8a2b063cd9
feat(incognito): add toggle for incognito mode in BrowseSource & SourceFeed (#902)
* feat(incognito): add `toggle for incognito` mode in BrowseSource & SourceFeed

* fix null check
2025-05-11 15:52:01 +07:00
Jery
a862bda9d5
feat(incognito): Add incognito mode for EH based sources (#901)
* Add incognito mode for eh based sources

(cherry picked from commit bdf848ebb721394ff1b7b7006e538f6f60056b76)

* simplify GetIncognitoState parameters and logic

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-05-11 14:22:30 +07:00
Cuong-Tran
ee1418c7fc
fix(source-feed): update last used source was not working, show incognito status bar (#900) 2025-05-11 03:08:33 +07:00
Jery
3d9dd9d7b1
feat(incognito): add animated incognito mode indicator and icon (#899)
* Add indicator for source incognito mode

Adds an indicator to the manga info header to show if a source is running in incognito mode.
Also moves the source incognito check logic to `SourceExtensions`.

(cherry picked from commit 5e547efda51cdeaa7bc71198b932c8ac9aecc312)

* Replaced incognito icon with animated glasses_with_hat icon.

This commit introduces an animated vector drawable for the incognito mode icon and updates the related icons in the app.

- Adds `anim_incognito.xml`, a new animated vector drawable for incognito mode.
- Adds `ic_glasses_with_hat_24dp.xml`, a new icon for incognito mode.
- Updates the incognito mode icon in the following places:
    - MoreScreen
    - ExtensionDetailsScreen
    - App notification
    - Manga info header
- Updates `SwitchPreferenceWidget` and `TextPreferenceWidget` to accept any type of icons.

(cherry picked from commit 2a28673e078ff15fe0a7c2a030ffc6ce6cbe6b31)

* move incognito icon

* issue: Use stringResource for contentDescription to support localization

* Wrap the ImageVector.vectorResource call in remember to avoid inflating the drawable on every recomposition.

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2025-05-11 02:38:17 +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
c962584f19
fix(notification): cleanup 2025-05-09 00:54:10 +07:00
Cuong-Tran
8be38ce077
fix(tracker-anilist): format property in ALSearchItem nullable (#890) 2025-05-08 02:05:20 +07:00
AntsyLich
6562ab0018
Add autofill support to tracker login dialog and update processing text (mihonapp/mihon#2069)
(cherry picked from commit 7deeabe844d41d2b5e918ad747ddd548163c9fe3)
2025-05-08 02:05:20 +07:00
Cuong-Tran
ed6cb1c44c
Revert "feat(tracker-login): Enhance tracking login dialog with autofill and loading state (#884)"
This reverts commit 29cf391ede.
2025-05-08 02:05:20 +07:00
AntsyLich
e39354926c
Fix downloader stopping after failing to create download directory of a manga (mihonapp/mihon#2068)
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
(cherry picked from commit 536393a6d9941fac282f10b825aa611b91e1fcdb)
2025-05-08 02:05:20 +07:00
AntsyLich
4fe7ef9abb
Cleanup MarkdownRender
Co-authored-by: p
(cherry picked from commit 98230ed30f04fe754fd4bd407356c8c03d8d8719)
2025-05-07 21:58:55 +07:00
Mend Renovate
1be6c1a3ee
Update dependency androidx.compose:compose-bom to v2025.04.01 (mihonapp/mihon#2040)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
(cherry picked from commit d721a4321bdc6fafdd32e7bfd451b61b2bdd66b7)
2025-05-07 21:58:55 +07:00
Cuong-Tran
5f762beb90
feat(reader): add smaller tap zone preference for navigation regions (#867) 2025-05-04 01:07:47 +07:00
Cuong-Tran
24b6c4aa3c fix(custom-theme): fix cursor color in migration-bottom-sheet (#885) 2025-05-03 23:56:29 +07:00
Cuong-Tran
e40abcf40b chore(custom-color): refactor EditText and TextInputLayout color handling (#885) 2025-05-03 23:56:29 +07:00
Cuong-Tran
29cf391ede
feat(tracker-login): Enhance tracking login dialog with autofill and loading state (#884)
* fix(tracker-login): allow autofill on tracker's login dialog

* add loading state to tracking login dialog

* improve error color handling and dynamic height measurement in login dialog

* enable autofill for email and password fields in login dialog

* improve code

* refactor: optimize state management and improve dialog width measurement

* refactor: optimize dialog height measurement and error state handling
2025-05-03 23:50:53 +07:00
Cuong-Tran
8b03233c45
fix(MangaUpdates): prevent showing last chapter read if it's in Wish list 2025-04-29 18:15:47 +07:00
NarwhalHorns
376a13fb1c
Fix empty layout not appearing in browse source screen in some cases (mihonapp/mihon#2043)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 37e19edf8a5f6a15a95f160390cbcf22d8133380)
2025-04-28 03:06:29 +07:00
AntsyLich
18dd02d71b
Fix crash when trying use source sort filter without a pre-selection (mihonapp/mihon#2036)
(cherry picked from commit 1c982c2a01c1bba5ec4a955c9bf61cb346c752e7)
2025-04-28 03:06:21 +07:00
AntsyLich
39280a6f54
Fix content under source browse screen top appbar is interactable (mihonapp/mihon#2026)
(cherry picked from commit 9750c1e4bd6b931e71b7b348abbe2638a8cf317b)
2025-04-28 03:06:18 +07:00
Mend Renovate
27915073da
Update aboutlib.version to v12 (major) (mihonapp/mihon#2016)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a036407c75d83ef0ba5350cb1825b615361316c3)
2025-04-28 02:42:30 +07:00
Secozzi
d8057f927c
Update markdown to 0.33.0 and tweak visuals (mihonapp/mihon#2024)
- Update markdown to 0.33.0
- Use github flavour for github changelog
- Fix bullet list alignment

(cherry picked from commit e2915a1f69340cad515962de8a0b9d11ecff8d42)
2025-04-20 01:38:45 +07:00
Cuong-Tran
e398d9b156
Improve getting staff name with Anilist 2025-04-20 01:38:45 +07:00
Cuong-Tran
98f93bfbad
refactor checksum regex in GH release notes (#858) 2025-04-20 01:38:45 +07:00
AwkwardPeak7
3e7e6c4dd1
Remove Okhttp networking from WebView Screen (mihonapp/mihon#2020)
(cherry picked from commit df2b4c754bab9dd96fe2199b9f6df62d87b7175e)
2025-04-20 01:38:45 +07:00
KokaKiwi
b3efb5fbac
Fix ReaderViewModel::updateChapterProgress
The condition for updating progress is wrong since fefa8f84982b537ca930438f7976087844d5bb9c
2025-04-17 12:28:05 +07:00
Cuong-Tran
438be9d942
Fix: crash in Updates tab due to possible duplicate headers 2025-04-17 10:03:29 +07:00
Cuong-Tran
e2181307ca
simplify What's New dialog 2025-04-14 17:57:30 +07:00
ArthurKun
daf64aa0b9
Replace Modifier.composed with Composable Modifier (mihonapp/mihon#1959)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a31b3b7bbf2c5164baf76ac4b36f1d27c5d43135)
2025-04-14 17:15:11 +07:00
AwkwardPeak7
a99652a775
Include source headers when opening failed images from reader (mihonapp/mihon#2004)
(cherry picked from commit fea85241afac5a849aa418d01710f5cdc0c25b54)
2025-04-14 17:15:08 +07:00
Secozzi
1e0a37014b
Use simpler markdown flavour in manga description (mihonapp/mihon#2000)
(cherry picked from commit e273a26c9b7f0a9dd9f8847cfc65e69453fa5905)
2025-04-14 17:15:05 +07:00
AwkwardPeak7
25f3229a98
Fix duplicate requests in WebView due to empty reasonPhrase (mihonapp/mihon#2003)
(cherry picked from commit 818e6931c6bc89e0bb111e77418542a88f8db37c)
2025-04-14 17:15:01 +07:00
AwkwardPeak7
55dc08d330
Add option to keep read manga when clearing database (mihonapp/mihon#1979)
(cherry picked from commit ecc6ede0815a89b7f8288e47c607c57bacc47e71)
2025-04-14 17:14:58 +07:00
AwkwardPeak7
6e966746db
Surface image loading error in Reader (mihonapp/mihon#1981)
(cherry picked from commit fefa8f84982b537ca930438f7976087844d5bb9c)
2025-04-14 17:14:51 +07:00
AwkwardPeak7
c72a4ab265
Change Page.State to sealed interface (mihonapp/mihon#1988)
(cherry picked from commit f1e2efcb37e2c623b769e979fa1c7e9e5ad7117d)
2025-04-14 17:14:48 +07:00
Cuong-Tran
b8d3d7f3d4
Fix navigation issue after migrating a duplicated entry from History tab
(cherry picked from commit d9c4b56336c21db96a835630a48c46ee7a480342)
2025-04-14 15:14:22 +07:00
Cuong-Tran
284ee890b4
update version & changelog 2025-04-10 00:22:25 +07:00
NarwhalHorns
f685e6d5fc
Display total chapters on duplicates list items (mihonapp/mihon#1963)
(cherry picked from commit 12abd9938b7c235d6a1c02391624703476c1f339)
2025-04-09 12:21:45 +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
8d94c09a43
Fix: selection-mode was turned on after add-anyway using Duplicate dialog in Bulk-favorite 2025-04-08 01:02:06 +07:00
Cuong-Tran
271680bd03
Bring back original Mihon's migration dialog (#823) 2025-04-08 00:01:47 +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
ea418b9517
Fix: NaN when dragging Start/Resume reading button in MangaScreen 2025-04-06 21:31:26 +07:00
Cuong-Tran
8c45ac552f
Show new multi-Duplicate dialog when Bulk-favorite with only 1 manga 2025-04-06 21:31:26 +07:00
Cuong-Tran
d58523161f
Panorama cover for the new Duplicate dialog 2025-04-06 01:50:21 +07:00