CCExtractor / CCExtractor/taskwarrior-flutter

Feature Request: Add Native App Shortcuts (Quick Actions) for Add Task & Reports

Offen
#614 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Dart
Sterne
244
Forks
179
Ø Merge
12 Std. 42 Min.
Gemergte PRs (30 T.)
2

Beschreibung

### Describe your improvement idea or feature request

To improve user experience and navigation speed, we should add native home screen **App Shortcuts** (the quick actions menu that appears when a user long-presses the app icon).

Specifically, we need to add two quick actions:
1. **Add Task:** Instantly opens the app and triggers the `AddTaskSheet` bottom sheet.
2. **Reports Page:** Opens the app and routes the user directly to the Reports dashboard.

### How would you like to see it implemented?

This should be implemented using the official [`quick_actions`](https://pub.dev/packages/quick_actions) Flutter package, integrated cleanly with our GetX architecture.

**1. Controller Logic:** Create a dedicated GetX controller (e.g., `AppShortcutController`) initialized in `onReady()` to handle the shortcut listeners. This prevents race conditions during the app's boot sequence and keeps `main.dart` clean.

**2. Routing Details:**
- Wire the `add_task` action to `Get.bottomSheet(AddTaskSheet())`.
- Wire the `reports` action to `Get.toNamed('/reports')`.

### Put here any screenshots or videos (optional)

_No response_

### How can we contact you (optional)

You can tag me right here on GitHub, or reach me on Zulip (User ID: 1017036).

### Would you like to work on this issue?

Yes

### By submitting this issue, I have confirmed that:

- [x] I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Locate the app startup flow, GetX controllers, AddTaskSheet, and the '/reports' route; begin by checking how controllers are initialized in onReady() and how navigation is currently wired. Integrate the quick_actions listener so add_task opens AddTaskSheet and reports navigates to '/reports', then verify both actions from the native app icon menu.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart, flutter
Bereich
mobile-dev
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.