Commit Graph

80090 Commits

Author SHA1 Message Date
SuperDragonXD
ffefb8fe55 docs: Establish public roadmap and professionalize contribution workflows (#5695)
* docs: Add roadmap
* docs: Update contributing guide to add new dev workflow
* docs: Cleanup visual guidelines
* docs: Add section for Open Collective supporters
2025-07-31 07:07:38 +00:00
renovate[bot]
4ca6f08f98 fix(deps): update dependency androidx.test.ext:junit to v1.3.0 (#5694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 09:36:13 +08:00
renovate[bot]
55b1efd61e fix(deps): update dependency androidx.test.espresso:espresso-core to v3.7.0 (#5693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 09:33:54 +08:00
renovate[bot]
92ca464313 fix(deps): update dependency androidx.benchmark:benchmark-macro-junit4 to v1.4.0 (#5692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 09:26:25 +08:00
renovate[bot]
3c2240de87 chore(deps): update plugin androidx.baselineprofile to v1.4.0 (#5691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 09:26:12 +08:00
renovate[bot]
5710262516 fix(deps): update dependency androidx.navigation:navigation-compose to v2.9.3 (#5690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 09:25:57 +08:00
SuperDragonXD
aad477f621 fix(search): Correct state handling and connect settings to providers (#5687)
* fix(search): apply max result to web suggestion provider
* fix(search): apply file search toggle to FileSearchProvider
* fix(search): apply font settings to empty state search result
* fix(settings): uncheck ContactsSearchProvider switch when permissions are not granted
* refactor(search): migrate clear history button to search settings

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 21:57:52 +08:00
SuperDragonXD
a4a17a607d chore(workflow): Introduce new PR template 2025-07-30 12:50:25 +08:00
SuperDragonXD
40c074d756 fix(search): return empty list instead of empty flow for WebSearchProvider
Fixes #5684
2025-07-30 12:49:57 +08:00
SuperDragonXD
bac85d2915 refactor(permissions): Unify file and media permission handling (#5683)
This commit completes the work started in the search refactor by migrating all remaining legacy file/media permission checks to the new, centralized `FileAccessManager`.

Previously, features like the wallpaper preview and backup system used the side-effect based permission model that created a poor user experience, especially on modern Android versions.

This change unifies all file and media access logic under the new, observable `StateFlow`-based system. This includes:

- Refactoring the wallpaper drawable access logic to correctly handle the various states of media permissions on Android 13+. This is disabled by default on Play Store builds, due to lack of `MANAGE_EXTERNAL_STORAGE` permission.
- Updating the backup/restore system to use the new manager.
- Updating the blur wallpaper feature to use the new manager.
- Migrating the OTA update check to use the new manager.
- Replacing the "Notification Dots" permission bottom sheet with the new, simpler `PermissionDialog` for UI consistency.

Credit-to: @lebao3105 for the initial analysis of the wallpaper permission issue.

Fixes #5632
Fixes #5676
2025-07-30 12:43:37 +08:00
Zongle Wang
3450fbaf36 Improve build performance by enabling R8 parallelism (#5682) 2025-07-30 11:14:09 +08:00
SuperDragonXD
08bd85c6c4 fix(search): annotate SearchProviderId with @Keep
Fixes #5678
2025-07-29 22:28:05 +08:00
SuperDragonXD
5d00aab878 fix(search): mark SearchProviderId as serializable
Fixes #5678
2025-07-29 21:17:13 +08:00
Zongle Wang
a11c31b19c Replace ViewModelFactory with using AndroidViewModel (#5677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-29 18:00:31 +08:00
SuperDragonXD
b92f9adbb8 fix(search): address feedback from PR review 2025-07-29 17:55:41 +08:00
SuperDragonXD
0a40691711 fix(search): Correct regressions found during final testing 2025-07-29 17:55:41 +08:00
SuperDragonXD
64f0d29671 feat(search): refactor search settings UI
TODO: improve permission handling for other parts of the UI
2025-07-29 17:55:41 +08:00
SuperDragonXD
47cce0d7a3 feat(search): improve empty search results UX 2025-07-29 17:55:41 +08:00
SuperDragonXD
77cc5422bb feat(search): update LayoutType to include new results 2025-07-29 17:55:41 +08:00
SuperDragonXD
0cbc6e8a3e feat(search): rename new algorithm to LawnchairLocalSearchAlgorithm 2025-07-29 17:55:40 +08:00
SuperDragonXD
e94658f424 feat(search): simplify permissions handling 2025-07-29 17:51:18 +08:00
SuperDragonXD
ccafdec7cc feat(search): Implement empty state and search settings UI 2025-07-29 17:51:18 +08:00
SuperDragonXD
cacabee4e0 style(search): Apply spotless 2025-07-29 17:51:18 +08:00
SuperDragonXD
169aadefc0 feat(search): use SectionBuilder for search results 2025-07-29 17:51:18 +08:00
SuperDragonXD
90900142f8 feat(search): migrate files to algorithms directory 2025-07-29 17:51:17 +08:00
SuperDragonXD
78f3e40689 feat(search): update search bar to support new zero state 2025-07-29 17:50:28 +08:00
SuperDragonXD
4ac0e6b7c5 feat(search): add actions results to new algorithm 2025-07-28 23:32:34 +08:00
SuperDragonXD
7126dc049b feat(search): remove legacy web suggestion result 2025-07-28 23:32:34 +08:00
SuperDragonXD
4709b38faa feat(search): migrate results from legacy data sources 2025-07-28 23:32:34 +08:00
SuperDragonXD
34eccd4340 feat(search): update legacy web provider 2025-07-28 23:32:34 +08:00
SuperDragonXD
d9c4bce44a feat(search): implement new search algorithm 2025-07-28 23:32:34 +08:00
SuperDragonXD
98f97ba33f feat(search): remove unneeded allApps parameter in query function 2025-07-28 23:32:34 +08:00
SuperDragonXD
228fae84de feat(search): Implement and encapsulate HistorySearchProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
4f6b42454f feat(search): Implement and encapsulate AppSearchProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
a7e65845a5 style(search): Apply spotless to new providers 2025-07-28 23:32:34 +08:00
SuperDragonXD
7c5ad39383 feat(search): Implement and encapsulate WebSuggestionProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
f0fcee8a9d feat(search): Implement and encapsulate SettingsSearchProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
9e7fadd381 feat(search): Implement and encapsulate FileSearchProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
092d87b7da feat(search): Implement and encapsulate ContactsSearchProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
f492650eac feat(search): Implement and encapsulate CalculatorSearchProvider 2025-07-28 23:32:34 +08:00
SuperDragonXD
c8b2683118 feat(search): Define core models for new search architecture 2025-07-28 23:32:34 +08:00
Lawnchair Bot
025658c049 New Crowdin translations by GitHub Action (#5663)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-07-27 04:00:48 +03:30
Le Bao Nguyen
dd2d4514c2 Fix the search bar needing 2 taps sometimes (#5654) 2025-07-25 12:13:19 +08:00
renovate[bot]
90258ff1f2 fix(deps): update dependency com.google.errorprone:error_prone_annotations to v2.41.0 (#5656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-25 12:12:41 +08:00
Le Bao Nguyen
c846ce0761 Fix About screen showing update button on latest nightly version (#5653) 2025-07-24 14:03:36 +08:00
renovate[bot]
a75998623f fix(deps): update dependency io.nlopez.compose.rules:ktlint to v0.4.26 (#5648)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-23 14:52:08 +08:00
renovate[bot]
55bf9f239e chore(deps): update plugin com.diffplug.spotless to v7.2.1 (#5647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-22 13:51:24 +08:00
renovate[bot]
0a96a1526d fix(deps): update dependency io.nlopez.compose.rules:ktlint to v0.4.25 (#5645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-22 13:51:08 +08:00
renovate[bot]
9ae343866f chore(deps): update plugin com.diffplug.spotless to v7.2.0 (#5644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 14:46:32 +08:00
renovate[bot]
bddd5fc38c fix(deps): update dependency io.nlopez.compose.rules:ktlint to v0.4.24 (#5643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 14:46:24 +08:00