Commit Graph

507 Commits

Author SHA1 Message Date
arkon
766f9e37b5
#3520 Searchable Settings (#3683)
* Adding class stubs for settings search, UI elements.

* -  implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen

* Remove unneeded SettingsControllerFactory.

* Set query hint, clean up code smell.

* Add search button to MoreController, stop infinite recursion.

* - initialize SearchResultCollection once in Activity.onCreate

* - implement prefernce highlighting after settings search

* - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings

* Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review.

* - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController

* Code review cleanup and refactoring.

* Inlined non-reused key strings.

* Adding more UI polish, add comments for future enhancements.

* - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)

Co-authored-by: mpm11011 <markuscicero5@gmail.com>
Co-authored-by: lmj0011 <9396189+lmj0011@users.noreply.github.com>
2020-09-22 22:23:38 -04:00
arkon
a9bed90d02 Move manga info summary more/less button toggle 2020-09-22 22:20:29 -04:00
arkon
01ad405dd2 Center reader transition text properly (fixes #3819) 2020-09-20 12:56:04 -04:00
mpm11011
528c1b90c2
Merge branch 'dev' into dev-settings-search 2020-09-16 14:56:34 -04:00
arkon
da5f10a2f1 Clean up global chapter settings code 2020-09-14 16:23:42 -04:00
lmj0011
64050e8266
[feature] add ability to set global filter/sort/display for Manga chapters (#3622)
* - [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>
2020-09-14 15:58:34 -04:00
arkon
791a7d5a01 Start updating manga info view header design 2020-09-14 15:56:27 -04:00
arkon
c0789cd6ba Use background color for some lists 2020-09-12 15:40:40 -04:00
mpm11011
a5098e5b5b Code review cleanup and refactoring. 2020-09-05 14:28:41 -04:00
Andreas E
5e2e177aa9
Add spacing on top of sources/extensions/migrate lists (#3751) 2020-09-04 16:28:22 -04:00
arkon
86e59977de Refactor common chapter transition views into separate view 2020-09-04 16:25:08 -04:00
arkon
8bedc8f456 Move share manga button to toolbar menu 2020-08-29 17:13:02 -04:00
lmj0011
8c82b766e3 - implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen
2020-08-19 10:28:04 -05:00
mpm11011
22518f173f Adding class stubs for settings search, UI elements. 2020-08-16 19:11:23 -04:00
arkon
b657bba96e Add 18+ warnings in extensions list 2020-08-10 11:53:23 -04:00
arkon
912687ac78 Adjust download badge color again 2020-08-02 23:03:24 -04:00
arkon
9e396e1624 Fix history item icon tint in light blue theme 2020-08-02 10:29:04 -04:00
arkon
6a5af438dd Temporarily unrevert crop borders unification (closes #3487)
Reverts 1920568057
2020-07-31 14:59:34 -04:00
arkon
e990ad25eb Fix tap region for manga summary 2020-07-31 12:58:13 -04:00
arkon
b9488645d4 Hide cutout option when appropriate in reader settings sheet (closes #2982) 2020-07-30 22:38:10 -04:00
arkon
34aaa7fb0a Remove explicit source browse button, tint pin icon when pinned 2020-07-26 16:28:58 -04:00
arkon
a52fbb012a Add pin icon to sources list (closes #2862) 2020-07-25 18:25:30 -04:00
arkon
e95a5be21d Show message when searching with no pinned sources 2020-07-25 17:14:34 -04:00
arkon
9a55cf880e More consistent library list view padding (closes #3509) 2020-07-25 10:52:23 -04:00
arkon
bf22e69250 Pad manga info tag chips properly to avoid overlapping scrollbar 2020-07-23 18:09:47 -04:00
arkon
08dc57fd02 Revert ViewPager2 library 2020-07-19 21:33:19 -04:00
arkon
2a202bd510 Migrate library to ViewPager2 2020-07-19 11:48:41 -04:00
arkon
dcd8ed08fc Rename chapters_controller to manga_controller 2020-07-19 11:32:26 -04:00
arkon
d3ebedeef2 Explicitly show "No results found" in global search instead of hiding row 2020-07-18 17:46:29 -04:00
arkon
d2e2ebbe45 Add ripple to global search source title 2020-07-18 17:39:29 -04:00
arkon
ccd0e0cdfe Manga about section layout tweaks 2020-07-18 10:57:11 -04:00
arkon
9278ca3f5e Move chapter filter/sort/display settings into a sheet 2020-07-17 17:01:16 -04:00
arkon
8ba426350f Fix checked state for manga header buttons 2020-07-17 14:20:36 -04:00
arkon
148f8e6d11 Tweak track search dialog list item paddings 2020-07-16 23:01:24 -04:00
arkon
88ee86b7ef Move edit categories to overflow 2020-07-16 22:22:06 -04:00
arkon
135c371d88 Fix manga info actions being cut off 2020-07-12 17:16:13 -04:00
arkon
beaffc3870 Remove redundant layout for reader color filter sheet 2020-07-11 19:16:49 -04:00
arkon
8536ecb611 Remove color filter preview image 2020-07-11 19:09:13 -04:00
arkon
d7a89b0f8c Remove 32-bit color setting from reader sheet 2020-07-11 18:58:04 -04:00
arkon
e33cacf6a4 Use root FAB/CoordinatorLayout in MangaController 2020-07-11 12:32:17 -04:00
arkon
23fe848a35 Move tracking to manga info actions
Currently just opens a separate view. To be iterated upon later.
2020-07-11 12:13:05 -04:00
arkon
b363b9fc1a Make page transitions setting apply to webtoon viewer as well 2020-07-10 22:24:55 -04:00
arkon
1920568057 Unify crop borders settings 2020-07-10 22:19:08 -04:00
arkon
763da19c9d Add shortcut to global search query from library (closes #2183) 2020-07-10 19:31:23 -04:00
arkon
479eb1ba71 Attach some FABs and snackbars to root CoordinatorLayout
Fixes some issues around snackbars sometimes being out of view.
2020-07-10 11:15:57 -04:00
arkon
16fc58bd16 Use custom view to handle manga info cover size (fixes #3354) 2020-07-04 16:08:01 -04:00
arkon
68df2f4ce7 Point to GitHub releases for stable changelogs 2020-07-04 14:36:56 -04:00
arkon
c6d29fc19b Move MaterialFastScroll to widget package 2020-07-04 13:45:01 -04:00
arkon
04d83e9a6a
Add option to reverse tapping (#3360)
* Add option to reverse tapping

* Fix string for preference key

* Invert tapping for Webtoon and Vertical

* Use enum instead of boolean

* Add option to reader sheet

* Hide from reader sheet if tapping disabled and remove hard coded string

* Hide option if tapping disabled
2020-06-25 18:12:12 -04:00
arkon
f2f6628693 Separate out chapters heading into separate adapter 2020-06-24 22:48:20 -04:00