Donor Lookup Feature -- Edit Donation Functionality
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- full-stack
調査の方向性
issueで参照されているDonor LookupページとDonor Viewページから始め、寄付データに関するSequelize APIのエンドポイントとルートを追跡します。編集、数量調整、削除確認、確認、キャンセルの各動作によって、表示される寄付者データとバックエンドが仕様どおりに更新されれば完了です。プロトタイプのER図には引き続きWIPのマークが付いています。
索引モデルが issue の本文から書いたものです。
説明
This is an issue spawned from #193
More specifically, spawned from the original 'Edit Button' task.
- When a user hits the 'Edit' button on a given 'Donor View' page, the 'Edit' button will disappear from the corresponding row and be replaced by a '-' button, a '+' button, a 'Delete' button, and a 'Confirm/Cancel' button.
- Given that the row is assigned a specific index/key, pass the index/key that corresponds to the newly-edited column to the list/map used to populate 'Donor View' page.
- Retrieve the Date, Name, and Quantity returned from the object located within the list used to populate the 'Donor View' page.
- Store those values into a 'prototype' JSON that tracks the Date, Name, Quantity, and original index/key.
- When the user presses the '-' button reduce the quantity of the given item by one in the 'prototype' JSON.
- When the user presses the '+' button increase the quantity of the given item by one in the 'prototype' JSON.
- When the user presses the 'Delete' button, prompt the user that 'This will remove the item from the Database, are you sure?'
- If the user presses 'Yes' on the prompt:
- Issue a Sequelize DELETE request/route on the item based on the attributes found within the 'prototype' JSON.
- Re-populate the map/list used to display the 'Donor View' page.
- Dump the current 'prototype' JSON.
- If the user presses 'No' on the prompt, simply close the prompt window. - If the 'Prototype' JSON is different from the Item Quantity and Availability,
- Then the 'Confirm/Cancel' button will display 'Confirm'
- If pressed as a 'Confirm' Button
- Issue a Sequelize UPDATE request/route on the donation based on the attributes found within the 'prototype' JSON.
- Revert to the original 'Edit' button state.
- Re-populate the 'Donor View' page with the appropriate backend call. - If the 'Prototype' JSON is NOT different from the Item Quantity and Availability
- Then the 'Confirm/Cancel' button renders as a 'Cancel' button
- If pressed as the 'Cancel' button, the 'Donor View' page reverts to the 'Edit' button state.
Note: The Sequelize API endpoints will need to match up with the Item's Date, Name, and Quantity exactly in order to work properly.
The list above can be copy-pasted into tasks if necessary. 'Prototype' ER Diagram is WIP.
Original UML Diagram from #193 included for reference to 'Donor Lookup' and 'Donor View' pages.

- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 34
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ChicoState/PantryNode のほかの issue
-
feature Urgent
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ChicoState/PantryNode#234 ·
-
Donor Lookup Feature -- Search Functionality再び着手できるかも @Anoushka444 が 1268 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンfeature Urgent
ChicoState/PantryNode#232 · 担当者 1 名 ·
-
On-demand report generation対応中かも @jayrevolinskyjr が 1276 日前に担当しました。 オープンfeature Urgent
ChicoState/PantryNode#223 · コメント 3 件 · 担当者 2 名 ·
-
Testing
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
ChicoState/PantryNode#208 ·
-
Testing summary.js frontend再び着手できるかも @sachinprasad1998mav が 1280 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンMedium Priority Testing
ChicoState/PantryNode#207 · 担当者 1 名 ·
ChicoState/PantryNode の issue をすべて見る
似ている issue
-
bug ui-dashboard
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
caelestia-dots/caelestia#534 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: scripts bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
tdk-landscape/tdk-cli-core#2706 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bobadilla-tech/biasmarket.com#402 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
javvadivijayprasad/sel2pw#28 ·