Donor Lookup Feature -- Edit Donation Functionality
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- full-stack
Línea de trabajo
Comienza con las páginas Donor Lookup y Donor View referenciadas en la issue y, a continuación, sigue los endpoints y las rutas de la API de Sequelize para los datos de donaciones. Se considera terminado cuando la edición, el ajuste de cantidad, la confirmación de eliminación y los comportamientos de confirmar y cancelar actualicen los datos del donante mostrados y el backend según lo especificado; el diagrama ER del prototipo sigue marcado como WIP.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.

- 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 ·
-
Donor Lookup Feature -- Search FunctionalityQuizá libre de nuevo @Anoushka444 la tomó hace 1268 días y no hay ningún pull request abierto. Abiertofeature Urgent
ChicoState/PantryNode#232 · 1 asignado ·
-
On-demand report generationPosiblemente ocupada @jayrevolinskyjr la tomó hace 1276 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 1281 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
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrorsPosiblemente ocupada @as992949791 la tomó hoy. Abiertogood first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
reticlehq/reticle#2033 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:quality p3-medium ready-for-agent type:docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
fderuiter/deruiter.dev#3589 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
manfredsteyer/angular-oauth2-oidc#1514 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
marmelab/react-admin#11431 ·
Los mantenedores suelen responder en 1 día