Donor Lookup Feature -- Search Functionality
@Anoushka444 ya está trabajando en esto.
Desde el 9/5/2023.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.

- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 34
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ChicoState/PantryNode
-
feature Urgent
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ChicoState/PantryNode#234 ·
-
feature Urgent
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
ChicoState/PantryNode#233 ·
-
On-demand report generationPosiblemente ocupada @jayrevolinskyjr la tomó hace 1279 días. Abiertofeature Urgent
ChicoState/PantryNode#223 · 3 comentarios · 2 asignados ·
-
Testing feed.js backendAbiertoTesting
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
ChicoState/PantryNode#208 ·
-
Testing summary.js frontendQuizá libre de nuevo @sachinprasad1998mav la tomó hace 1283 días y no hay ningún pull request abierto. AbiertoMedium Priority Testing
ChicoState/PantryNode#207 · 1 asignado ·
Todos los issues de ChicoState/PantryNode
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NousResearch/hermes-agent#147433 ·
Los mantenedores suelen responder en 1 día
-
needs-triage🔍
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Dokploy/dokploy#5836 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
guards: accept readonly arrays (and other array-likes) in isEmpty / hasElements / safeLengthAbiertoenhancement tech debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ehmpathy/rhachet-roles-bhrain#739 ·
Los mantenedores suelen responder en 1 día