CCExtractor / CCExtractor/taskwarrior-flutter
Feature Request: Add Native App Shortcuts (Quick Actions) for Add Task & Reports
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Dart
- Star
- 244
- Fork
- 179
- Merge trung bình
- 12 giờ 42 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
### 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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Xác định luồng khởi động ứng dụng, các controller GetX, AddTaskSheet và route '/reports'; trước tiên hãy kiểm tra cách các controller được khởi tạo trong onReady() và cách điều hướng hiện đang được kết nối. Tích hợp listener quick_actions để add_task mở AddTaskSheet và reports điều hướng đến '/reports', sau đó xác minh cả hai thao tác từ menu biểu tượng ứng dụng gốc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- dart, flutter
- Lĩnh vực
- mobile-dev
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100