A task's contact cannot be linked, changed or removed after the task is created
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go, graphql, react, sql, typescript
調査の方向性
Read TaskScreen.tsx, NewTaskScreen.tsx and operations.ts for the contact field and save flow, then trace UpdateTaskInput through tasks.go, changes.go and the UpdateTask query. Run the named graph and task detail tests to check setting, changing, clearing and preserving a contact when contactId is absent. Done means the task page supports those contact actions with a persistent label, and invalid or cross-tenant contacts are rejected.
索引モデルが issue の本文から書いたものです。
説明
What happens
The New task form has a "Link a contact" field. The task page has none. A linked contact shows only as a bare link above the Title field, with no label. A task with no contact shows nothing. So you cannot link a contact later, swap it or remove it. On the New task form, the label also goes once a contact is picked.
The graph cannot do it either. UpdateTaskInput has no contactId, task.Changes has no contact, and the UpdateTask query never sets contact_id.
What should happen
The task page shows the contact field after Priority, as the New task form does. With no contact it shows the search. With one, it shows Maria Perez as a link to her contact page and a "Remove Maria Perez" button. The field keeps one visible label in both states, on both screens.
WordPress draws one form for a new page and a saved page. Its Parent field keeps its label, shows None or the parent's title, and lets you search for another page or clear it, before and after the first save.
updateTask takes contactId the way it takes dueTime: absent keeps the contact, null clears it, an id sets it. Save sends it only when it changed, as timeChange does for the time. The resolver reads the contact through the contact store first, so a deleted contact or one from another tenant is refused with a plain error.
A graph test sets, changes and clears the contact, and proves an absent contactId keeps it. Detail tests link, swap and remove a contact.
Where
frontend/src/tasks/TaskScreen.tsx,TaskFormandContactLinkfrontend/src/tasks/NewTaskScreen.tsx,ContactPicker, moved to its own filefrontend/src/index.css,.alphone-tasks__contactand.alphone-tasks__pickedfrontend/src/tasks/operations.ts,updateTaskMutationgraph/schema/tasks.graphqls,UpdateTaskInputinternal/graphres/tasks.go,taskChangesinternal/task/changes.go,ChangesandApplyinternal/postgres/queries.sql,UpdateTaskinternal/graphres/mutations_test.goandfrontend/src/test/task-detail.test.tsx
- 主要言語
- Go
- スター
- 287
- フォーク
- 64
- 平均マージ
- 13時間 19分
- マージ済み PR(30日)
- 62
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gopherium/AlphOne のほかの issue
-
good first issue help wanted javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
gopherium/AlphOne の issue をすべて見る
似ている issue
-
Project submission:オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
slavakurilyak/awesome-ai-agents#845 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
[BUG] deploy.restart_policy without condition drops the restart policy対応中かも @akshat-lakhera が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
docker/compose#14383 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
Azure/azure-storage-fuse#2429 ·
メンテナーはふだん 1 日以内に返信