CCExtractor / CCExtractor/taskwarrior-flutter

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

オープン
#614 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Dart
スター
244
フォーク
179
平均マージ
12時間 42分
マージ済み PR(30日)
2

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

アプリの起動フロー、GetX コントローラー、AddTaskSheet、および '/reports' ルートを特定します。まず、onReady() でコントローラーがどのように初期化されているか、また現在ナビゲーションがどのように接続されているかを確認します。quick_actions リスナーを統合し、add_task で AddTaskSheet を開き、reports で '/reports' に遷移するようにしてから、ネイティブアプリアイコンメニューから両方のアクションを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile-dev
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。