Donor Lookup Feature -- Search Functionality
@Anoushka444 ci sta già lavorando.
Dal 9/5/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
This is an issue spawned from #193
More specifically, spawned from the original 'Lookup Button' task and Dr. Buffardi's requested feature.
- On a click, the 'Lookup' button needs to pass an input value, the donor's name or id, from a form in order to return an updated list on the 'Donor Lookup Page' where a valid lookup will update the list to show the donor's name/relevant names.
- If the 'Donor Lookup' fails to return a valid name, the user will be prompted with a 'Failure to find name' and then given an opportunity to input a new donor's name and donation.
Currently, the 'Donor Lookup' page returns a list of Donors populated from PantryNode's backend. So, the tasks will be broken down as follows:
- Pass input from form linked to 'Lookup Donor' button into the /lookupDonor route.
- Retrieve JSON/List used to populate 'Donor Lookup'.
- Search JSON/List used to populate 'Donor Lookup' values and check for indices that match value return by /lookupDonor route.
- 'Filter' the searched values by appending values which match /lookupDonor into a new 'searched' list.
- IF values are added to the 'searched' list then update the 'Donor Lookup Page' with the new list.
- ELSE prompt the user that the search failed and ask them to make a new donor.
This is a fairly low-level break down to get a proof-of-concept working. Any design that abstracts these above tasks and still produces the same result of, "search for donor, if found make a new list to populate Donor Lookup page, if not found then prompt user to add new donor" then that implementation is viable.
Original UML Diagram from #193 included for reference to 'Donor Lookup' page.

- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 34
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ChicoState/PantryNode
-
feature Urgent
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ChicoState/PantryNode#234 ·
-
feature Urgent
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ChicoState/PantryNode#233 ·
-
On-demand report generationForse già presa @jayrevolinskyjr l’ha presa 1264 giorni fa. Apertafeature Urgent
ChicoState/PantryNode#223 · 3 commenti · 2 assegnatari ·
-
Testing feed.js backendApertaTesting
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ChicoState/PantryNode#208 ·
-
Testing summary.js frontendForse di nuovo libera @sachinprasad1998mav l’ha presa 1269 giorni fa e non c’è nessuna pull request aperta. ApertaMedium Priority Testing
ChicoState/PantryNode#207 · 1 assegnatario ·
Tutte le issue di ChicoState/PantryNode
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
umami-software/umami#4637 ·
I maintainer di solito rispondono entro 3 giorni
-
Hotkeys fire when pressed with the Ctrl key, so browser shortcuts also trigger player actionsForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
muxinc/media-chrome#1332 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
polarsource/polar#15580 ·
I maintainer di solito rispondono entro 1 giorno
-
accepted bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
pingdotgg/t3code#20931 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug/1-unconfirmed kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno