97 Commits

Author SHA1 Message Date
MM20
26366e8b23
Fix crash 2023-03-15 16:35:36 +01:00
MM20
6741ad92ac
Fix favorites in favorite widget hidden even when clock widget favorites are disabled 2023-03-15 16:31:20 +01:00
MM20
3301f1042d
Revert: use popup for bottom sheet dialogs
Fix textfield not focusable issue
2023-03-14 20:44:45 +01:00
MM20
c4f001cc1c
Hide launch count search mode from preferences 2023-03-14 20:24:46 +01:00
MM20
d4749aab8d
Compact clock widget: remove caret
Close #269
2023-03-14 20:13:45 +01:00
MM20
88d27cf06d
Improve grid item highlight 2023-03-14 20:07:19 +01:00
MM20
9f6444ef77
Change app launch animatinon 2023-03-14 18:31:46 +01:00
MM20
2af64000de
Add back handler to customize icon picker 2023-03-14 18:00:09 +01:00
MM20
5f31ded8c3
Improve bottom sheets 2023-03-13 18:33:22 +01:00
MM20
824ae9bba2
Hide top row of favorites in favorites widget if it is directly below the clock widget favorites part 2023-03-11 13:16:29 +01:00
MM20
6424bf7b92
Track item usage when it is launched with enter 2023-03-11 12:54:27 +01:00
MM20
264ef3e4aa
Remove unused function 2023-03-11 12:53:18 +01:00
MM20
c37b280d29
Add ability to expand pinned tags to multiple lines 2023-03-11 00:26:02 +01:00
Christoph
2c9cba72a9
Search: introduce weighted reordering (#272)
* Database: backend for weights & timestamps

- Migration 21->22
- SearchableLaunchTimestampEntity.kt
- `weight`-column in SavedSearchableEntity
- Queries for sorting by and adjusting weight
- Queries for sorting by recent use

* move weightfactor access to favoritesRepository

* reorder calls in SearchVM

* no more datahoarding

* add settings screen for ordering

* ui fix, animations

* move ordering settings out of own screen

* remove unused localization

* weight factors

* larger factor for WeightFactor.High

* cleanup

* sort favorites by weight

* icons for favorite screen

* I hate coming up with descriptive strings

* add default weight factor to settings migration

* Add default values for search result ordering preferences

* Favorites settings: change order of preferences

* Change strings

* Replace favorites variability slider with list preference

* migration initial weight

* Change labels

* Include searchable weight column in backup

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2023-03-10 22:17:03 +01:00
MM20
3df44b2f22
Stop updating time when app is paused 2023-03-06 13:29:14 +01:00
MM20
ea08584656
Rename HomeTransition and related classes to EnterHomeTransition 2023-03-03 17:13:21 +01:00
MM20
314e4f0736
Update icon pack picker automatically when an icon pack has been installed or uninstalled 2023-03-03 14:42:08 +01:00
MM20
31e250c826
Reduce padding 2023-03-01 20:43:54 +01:00
Christoph
0b2aa716ec
Search: reorder results by launchCount (#267)
* add app search result ordering by launchCount

* add reordering for other domains

* add preference in settings

* bruh moment

- database optimizaiton
- fixing obvious fallacy while reordering

* no reordering on empty queries && reordering early return

* avoiding deserialization

* listpreference

* search settings screen icons & categories

* regrouping

* early-return tweak

* Change ranking algorithm

* Pepega

* Prioritize launchCount over pinned for relevance sorting

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2023-02-28 20:45:25 +01:00
MM20
600e319c99
Fix icon highlighting causing poor contrast on non adaptive icons 2023-02-28 17:28:03 +01:00
MM20
7168169e35
Restructure / cleanup / improve icon pack handling 2023-02-27 22:36:46 +01:00
MM20
6adbee224e
Icon picker: add icon pack filter 2023-02-27 14:39:18 +01:00
MM20
81c542d777
Searchable Picker: single line search field 2023-02-27 13:31:19 +01:00
MM20
96182c88c3
Improve launch app gesture transition 2023-02-26 17:54:07 +01:00
MM20
883c372315
Pager swipe fling improv 2023-02-26 13:43:59 +01:00
MM20
b01eb151f8
Improve swipe gesture cancellation in pager layout 2023-02-26 13:40:02 +01:00
MM20
348c969c19
Improve app launch gesture feedback 2023-02-26 13:16:09 +01:00
MM20
51aa25834e
Improve splash screen adaptive icon support 2023-02-26 12:54:29 +01:00
MM20
88bbfc41f4
Fake splash screen: add support for legacy splash screens 2023-02-26 01:04:57 +01:00
MM20
608d73706a
Add fake splash screen for launching apps by gestures 2023-02-26 00:12:56 +01:00
MM20
c664f2e777
Fuck you Android studio, please fix your goddamn focus, I wanted to type into the terminal, not the editor 2023-02-25 17:57:16 +01:00
MM20
9a4a9a294f
Add handler for launch app gesture action 2023-02-25 17:55:48 +01:00
MM20
77e22e5f2b
Add preferences for launch app gesture 2023-02-24 22:39:32 +01:00
MM20
d54b904c0a
Bring back the option to disable the clock widget's date part 2023-02-24 17:33:08 +01:00
MM20
e82fd23619
Use grid in tag item selector 2023-02-22 17:04:04 +01:00
MM20
9c318fecf4
Fix enter to launch in pager scaffold 2023-02-21 19:52:27 +01:00
MM20
df45efdbe0
Fix search result order 2023-02-21 19:04:32 +01:00
MM20
884103dab3
Revert "Modify black and white themes"
This reverts commit 065e6b828d813fad90426debc194a722125f19e1.
2023-02-21 19:04:09 +01:00
MM20
3f7c2dbb8a
Weather: use null to indicate invalid values 2023-02-21 17:34:36 +01:00
MM20
065e6b828d
Modify black and white themes 2023-02-21 16:53:52 +01:00
MM20
b0ce225c87
Apply card opacity preference to widget surfaces 2023-02-21 16:48:01 +01:00
MM20
dbea4a4bec
Fix item elevation transition 2023-02-20 14:59:25 +01:00
MM20
df49cff350
Add highlight to single result 2023-02-20 14:39:12 +01:00
MM20
238a01c15e
Adjust highlight priority to match order of search results 2023-02-20 14:21:58 +01:00
MM20
5c44276b26
Unhighlight highlightes search result on scroll 2023-02-20 14:18:06 +01:00
MM20
7dbe9d4d6f
Migrate SearchVM from LiveData to Compose states 2023-02-20 00:08:35 +01:00
MM20
e5fe3a8816
Optimizations 2023-02-19 23:39:56 +01:00
Christoph
b11ba9e23a
Searchbar: Launch on enter / done (#258)
* Search: add launch action on keyboard-done

* Add switch in settings

* :)

* fix dataStore-update, pull bestMatch from multiple sources

* launch searchAction when no other match is found

* update localization

* switch to .firstNotNullOfOrNull { }

* switch imeAction based on launchOnEnter == true

* localization

* adding highlighting for bestMatch

* Remove unused code

* Store hightlighted search result in viewmodel

* Add highlight for list item, tweak grid item highlight

* Highlight search action that is launched on enter

* localizaton

* switch to IconShape / hairline border

* remove border / outlineVariant-background

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2023-02-19 18:51:31 +01:00
MM20
51716eae64
Tweak weather widget typography 2023-02-18 13:50:42 +01:00
Christoph
8880f859e2
Weather-Widget: replace drop-down selectors with scrollable rows (#253)
* adding details bar with icons and animations

* adding lazy-rows, again

* adding switch for compact mode / adjust padding

* corner adjustments

* Adjust alignment and typography

* [Fix] Add missing outlineVariant to platform material3 dynamic color schemes

* Adjust colors

* Increase icon weight

* Increase time selector touch target size

* Change divider color

* Adjust selection highlight color

* add checks for valid details / display location icon on lat-lon location

* removing redundant check for valid precipitation

* Add colors argument to weather icons

* Add Blend from material-color-utilities library

* Blend weather icon colors towards theme color

* Remove C/F

* Add item blending when scrolling into / out of view

* Create :ui:ktx:LazyListLayoutInfo.kt / increase provider padding

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
2023-02-17 22:07:51 +01:00