CCExtractor / CCExtractor/taskwarrior-flutter
Feature Request: Add Native App Shortcuts (Quick Actions) for Add Task & Reports
- Langage dominant
- Dart
- Étoiles
- 244
- Forks
- 179
- Merge moyen
- 12 h 42 min
- PR mergées (30 j)
- 2
Description
### 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Repérez le flux de démarrage de l’application, les contrôleurs GetX, AddTaskSheet et la route '/reports' ; commencez par vérifier comment les contrôleurs sont initialisés dans onReady() et comment la navigation est actuellement câblée. Intégrez le listener quick_actions afin que add_task ouvre AddTaskSheet et que reports navigue vers '/reports', puis vérifiez les deux actions depuis le menu natif de l’icône de l’application.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter
- Domaine
- mobile-dev
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100