Commit Graph

1286 Commits

Author SHA1 Message Date
Aayush Gupta
0167ddbb92 Download: Rename and simplify column status parameter
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-10-09 17:20:58 +08:00
Aayush Gupta
0274027f4d DownloadWorker: Always return success regardless of failure
The worker has done it's job properly, its a success. We have a separate database
to track download's status. This will also allow to chain downloads while not making
them inter-dependent.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-10-09 15:23:04 +08:00
Aayush Gupta
1453fa38ac Drop installation error bottom sheet for notifications
Post user-readable error message in the notification as we already log the exception
in the logcat.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-10-09 15:18:26 +08:00
Aayush Gupta
bde20f6677 libs: Bump to latest stable dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-10-09 14:37:03 +08:00
Aayush Gupta
5eaa09ed41 compose: commons: Better topbar title for permission requests
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-29 16:23:50 +08:00
Aayush Gupta
711e523234 libs: Bump dependencies to latest stable release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-29 15:43:59 +08:00
Aayush Gupta
3069665dab CertUtil: Consider neo store and droid-ify as fdroid stores as well
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-23 16:01:19 +08:00
Aayush Gupta
a7a2d2f180 compose: Play short animation on removing items
Compose makes it easy to animate items. Play a short animation when
items are removed from downloads and favourites.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-22 15:49:18 +08:00
Aayush Gupta
e8a1e18750 compose: favourite: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-22 14:46:38 +08:00
Aayush Gupta
78d029b8e8 paging: Merge and rename methods
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-22 12:58:51 +08:00
Aayush Gupta
851211b4af compose: downloads: Show relative download date again
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-22 12:11:25 +08:00
Aayush Gupta
041fa2970f compose: Optimize imports
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-22 11:26:25 +08:00
Aayush Gupta
db82b85832 compose: details: Actually let purchase get cancelled
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-22 11:26:25 +08:00
Aayush Gupta
812d13cb44 compose: details: Better handle purchase state
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 18:55:10 +05:30
Aayush Gupta
8212566dbf compose: about: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 15:35:16 +05:30
Aayush Gupta
620ca9cc48 compose: downloads: Add missing weight modifier
Ensure UI looks fine on high DPI

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 13:55:12 +05:30
Aayush Gupta
9721b55bdf compose: downloads: Replace text button with icons
Text can be quite long in translations, better use icons

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 12:38:03 +05:30
Aayush Gupta
d9623f16b7 DownloadHelper: Fetch all downloads when doing operations
Depending upon flow isn't reliable as subscription change due to lifecycle

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 12:27:20 +05:30
Aayush Gupta
b993700f8f compose: accounts: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 12:17:21 +05:30
Aayush Gupta
ea9827c6df compose: Minor improvements for download/install
Make purchase action noncancellable to allow it to happen even if user navigates
away from the screen after requesting it.

Also, don't allow expanding at all if no files are available as both actions at the
moment requires files to be available.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 14:31:20 +05:30
Aayush Gupta
4de974e7c4 compose: details: Emit downloading state during purchase
Purchase can take a while making user believe there is no progress happening.
Emit Downloading status with 0s to show loading indicator.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 14:11:36 +05:30
Aayush Gupta
acc8e5da4e compose: downloads: Use download manager icon on no downloads message
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 14:03:09 +05:30
Aayush Gupta
a5cc60ca31 compose: downloads: Make all clear and cancel tasks non-cancellable
We want to keep the task running even if user navigates away from the screen

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 13:50:09 +05:30
Aayush Gupta
e0eaa055c2 compose: downloads: Rework expanded options a bit
No need for sharing option as we have removed the ability to copy direct
download link for file long time ago.

Make the remaining buttons as TextButton too.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 13:45:59 +05:30
Aayush Gupta
ff51620ab2 compose: details: Hide suggestions on single pane
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 13:15:29 +05:30
Aayush Gupta
1823cbcd82 compose: details: Extract extra pane logic to local function
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 13:08:52 +05:30
Aayush Gupta
e45999b9bc viewmodel: details: Relocate and rename viewmodels
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 11:14:41 +05:30
Aayush Gupta
36bc7a868a fixup! compose: details: Also map child screen viewmodels with key
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-17 09:47:21 +05:30
Aayush Gupta
306dcd92a0 compose: downloads: Show toast with error when files are not available
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-16 18:23:28 +05:30
Aayush Gupta
66ed08c502 compose: menu: Encapsulate menu with screens
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-16 17:45:13 +05:30
Aayush Gupta
e1b3f5be73 compose: downloads: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-16 15:49:56 +05:30
Aayush Gupta
54b7bf502e compose: details: Also map child screen viewmodels with key
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-15 13:16:41 +05:30
Aayush Gupta
566cc8dfbd compose: Move compact window checks to extension
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 20:55:39 +08:00
Aayush Gupta
fc7ef5e345 compose: PermissionsScreen -> PermissionRationaleScreen
Avoid confusion with the child PermissionScreen of AppDetailsScreen

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 17:13:10 +08:00
Aayush Gupta
16cacdeeb7 compose: blacklist: Switch to new search appbar API
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 17:03:08 +08:00
Aayush Gupta
fe79b2db94 compose: commons: Relocate permissions screen to commons package
It now works as a permission rationale screen which we ought to show more
when requesting for permissions

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 15:34:21 +08:00
Aayush Gupta
cd087e5c89 compose: details: Animate when state changes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 15:30:38 +08:00
Aayush Gupta
07f7c3cccf compose: details: Handle imePadding properly during manual download
AndroidManifest values doesn't works for compose

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 15:03:46 +08:00
Aayush Gupta
697c83c8cc compose: details: Only request required permissions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-10 21:09:21 +08:00
Aayush Gupta
88ba2f4718 compose: onboarding: Initial permissions screen work
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-09 15:46:00 +08:00
Aayush Gupta
52d6c9ce56 compose: details: Show local app version name and code when installed and not updateable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-08 15:08:24 +08:00
Aayush Gupta
8547ff64ce compose: Switch to new library for hiltViewModel
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-08 14:06:30 +08:00
Aayush Gupta
0e4184f434 compose: details: Also map requested version code to shared libraries
Forward port e766c8000b but for compose

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-01 22:57:06 +08:00
Aayush Gupta
63b7bbb031 compose: details: Show download speed and version on same line
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-01 15:58:17 +08:00
Aayush Gupta
0afc9cc0fd compose: search: Make search bar fixed
Looks bad otherwise due to edge to edge and filters

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-01 15:45:03 +08:00
Aayush Gupta
5711e6db3b compose: details: Show error on entering non-digit characters for manual download
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-01 14:22:23 +08:00
Aayush Gupta
eeff0a65aa compose: details: Expose actual error message when possible
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-31 12:44:17 +08:00
Aayush Gupta
22c6c81b8f compose: search: Show error when no apps are available
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-30 20:52:53 +08:00
Aayush Gupta
10b9e5a182 compose: details: Setup and use app state properly
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-30 19:59:56 +08:00
Aayush Gupta
0dde304938 compose: search: Preserve filter header state
No need to layout new header for every search

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-30 19:45:18 +08:00