Skip to content

Add dynamic app shortcuts for top cards with overlay card view#76

Closed
Claude wants to merge 2 commits intostagingfrom
claude/add-app-shortcuts-overlay-card-view
Closed

Add dynamic app shortcuts for top cards with overlay card view#76
Claude wants to merge 2 commits intostagingfrom
claude/add-app-shortcuts-overlay-card-view

Conversation

@Claude
Copy link

@Claude Claude AI commented Feb 19, 2026

Implements fast access to frequently-used cards via Android app shortcuts. Long-pressing the launcher icon reveals up to 4 cards based on the current sort mode, tapping a shortcut displays the card in a translucent overlay activity.

Implementation

ShortcutManager - Manages dynamic shortcuts for top 4 cards

  • Sorts by current mode (intelligent/alphabetical/recent/most-used)
  • Updates reactively when cards or sort order changes
  • Uses ShortcutManagerCompat for API compatibility

CardShortcutActivity - Translucent overlay for single-card display

  • Reuses existing ViewCardSheet composable
  • Respects biometric settings, prompts for authentication when enabled
  • Increments card usage counter on access
  • Tap outside to dismiss

Integration - Added LaunchedEffect in CardListScreen

LaunchedEffect(cardsFiltered, sortBy) {
  sortBy?.let { currentSortBy ->
    ShortcutManager.updateShortcuts(currentContext, cardsFiltered, currentSortBy)
  }
}

Files Changed

  • ShortcutManager.kt (new) - Shortcut management logic
  • CardShortcutActivity.kt (new) - Overlay activity
  • AndroidManifest.xml - Register CardShortcutActivity with translucent theme, singleInstance mode
  • CardListScreen.kt - Reactive shortcut updates
Original prompt

This section details on the original issue you should resolve

<issue_title>Add App Shortcuts for Top Cards and Overlay Card View</issue_title>
<issue_description>## Overview
Introduce two features for fast card access:

  1. App Shortcuts for Top Cards

    • Dynamic app shortcuts representing the most relevant cards (top results according to the last sorting mode).
    • Users should see their most-used or recently-accessed cards directly in the app shortcuts menu (on long-press of the launcher icon).
    • Clicking the shortcut should open the overlay created in step 2
  2. Custom Overlay Activity for Cards

    • Shortcuts should launch a new secondary activity that overlays the homescreen, styled as a bottom sheet (maybe reuse ViewCardSheet).
    • The overlay should display only the selected card details (not the main app UI).
    • Show the card content in a focused, scannable sheet.
    • If fingerprint/biometric protection is enabled in settings, the overlay activity should require authentication before revealing card contents.

Acceptance Criteria

  • Dynamic app shortcuts update based on current sort mode and card usage.
  • Tapping a shortcut launches a dedicated bottom-sheet style activity with just the card view.
  • Overlay activity should dismiss easily (tap outside or swipe down).
  • Respect fingerprint/biometric security settings before showing card content.</issue_description>

Comments on the Issue (you are @claude[agent] in this section)

Add ShortcutManager to manage top 4 cards as app shortcuts.
Add CardShortcutActivity to display single card as overlay.
Integrate biometric authentication in overlay activity.
Update shortcuts automatically when cards or sort order changes.

Co-authored-by: pawcoding <78467484+pawcoding@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Add app shortcuts for top cards and overlay card view Add dynamic app shortcuts for top cards with overlay card view Feb 19, 2026
@Claude Claude AI requested a review from pawcoding February 19, 2026 19:57
@pawcoding
Copy link
Owner

@pawcoding pawcoding closed this Feb 22, 2026
@pawcoding pawcoding deleted the claude/add-app-shortcuts-overlay-card-view branch February 22, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants