Add app info drop target for dash app icon drags#93
Open
RobinJ1995 wants to merge 1 commit into
Open
Conversation
Dragging an app icon from the dash to the trash did nothing (the dash always shows every installed app, so there is nothing to delete) — it was effectively a cancel. The launcher bar now shows an "app info" button in the trash's place while an app icon (loose or launcher-pinned, including dash search results) is dragged from the dash; dropping the icon on it opens the system's App info screen for that app (via LauncherApps for apps in another profile). Dash folders and folder members keep the trash, where dropping still has a purpose (delete the folder / leave it). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GP3qoGWaw2SXDWy4sQuy1m
RobinJ1995
force-pushed
the
claude/dash-icon-info-button-9leak5
branch
from
July 17, 2026 07:04
19662d7 to
904806c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an "app info" drop target to the launcher bar that appears in place of the trash when dragging app icons from the dash. This allows users to quickly access the system's App Info screen for any installed app.
Key Changes
AppInfoDragListenerclass: Implements drag-and-drop handling for the app info target, supporting both regular dash apps and pinned launcher bar appsopenAppInfo()method inAppclass: Opens the system's App Info screen, with special handling for work profile apps using LauncherApps APILauncherBarBinderto show/hide the app info target and trash based on drag sourcedragShowsAppInfoflag to track when a dash app icon is being draggeddragStartedFromDashApp()method to mark app icon dragsstartedDragging()andstoppedDragging()to manage visibility accordinglyAppLauncherLongClickListener: CallsdragStartedFromDashApp()when initiating app icon drags from the dashlauncher_appinfo.xmldrawable (Material info_outline icon)lalAppInfoAppLauncher view to activity layoutAppInfoDragListenerTestwith tests for highlight behavior, app info opening, and payload handlingImplementation Details
https://claude.ai/code/session_01GP3qoGWaw2SXDWy4sQuy1m