Skip to content

feat: Downloads tab, Download with Flow share option and swipe to delete (#1415) - #1454

Merged
A-EDev merged 3 commits into
mainfrom
feat/downloads-tab-share-swipe-delete
Oct 26, 2026
Merged

A-EDev merged 3 commits into
mainfrom
feat/downloads-tab-share-swipe-delete

Conversation

@A-EDev

@A-EDev A-EDev commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Downloads tab: a new switch in Settings › Appearance › Navigation bar adds Downloads to the bar or rail (off by default). When the tab is on, the Library row, the offline snackbar and the Downloads widget open the tab; otherwise Downloads opens as a page, as before.
  • Download with Flow: a new share-menu entry (an activity-alias of MainActivity) opens the download sheet for a shared video or Short, filled in with its title and channel.
  • Swipe to delete ([Feature]: Add a delete action to the Downloads context menu (long-press) #1415): finished video and song downloads delete with a swipe (M3 SwipeToDismissBox). Every delete of a finished download shows Undo on the app snackbar, and the files are removed once the snackbar closes, the screen closes, or another delete starts.
  • Ask before deleting ([Feature]: Add a delete action to the Downloads context menu (long-press) #1415): a switch (on by default) controls the dialog for menu and multi-select deletes. A swipe never asks.
  • Storage summary: a switch hides the space-used card at the top of Downloads.
  • The v3.0.1 changelog is now marked as a pre-release, dated 27 October.

Related issue

Closes #1415

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug passed
  • ./gradlew :app:testGithubDebugUnitTest passed (4,441 tests, 0 failures, 2 skipped)
  • I ran any additional flavor-specific build or test tasks affected by this change: ktlintCheck, :app:compileFossDebugKotlin, :app:compileGithubDebugAndroidTestKotlin and python3 .github/scripts/nightly_notes.py --check all passed
  • I manually tested the affected behavior on an Android device or emulator.

Test device and Android version: Android emulator (tablet), Android 17

Screenshots or recordings

Risk and compatibility

  • Three new preferences: downloads_nav_tab_enabled (default off), downloads_storage_card and downloads_confirm_delete (both default on). Tab id 7 is added to the default tab order.

  • A delete held for Undo is committed on an application-scoped coroutine scope (new @ApplicationScope provider), so leaving the screen cannot cancel it.

  • LauncherAliasManifestTest now checks only aliases with a LAUNCHER category, so the share alias is not treated as an app icon.

  • No Room schema change.

  • The change does not introduce secrets, private data, or unexpected telemetry.

  • New user-facing text uses Android string resources.

  • Dependency and lockfile changes are intentional and limited to this PR.

  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.

  • Breaking changes and upgrade steps are clearly documented.

Copilot AI balanced review requested due to automatic review settings October 26, 2026 22:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@github-actions github-actions Bot added documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces labels Oct 26, 2026
@A-EDev
A-EDev merged commit bad74d4 into main Oct 26, 2026
9 checks passed
@A-EDev
A-EDev deleted the feat/downloads-tab-share-swipe-delete branch October 29, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add a delete action to the Downloads context menu (long-press)

2 participants