ChicoState / ChicoState/PantryNode

Donor Lookup Feature -- Scanner Functionality

Open
#234 0 comments 0 reactions 0 assignees View on GitHub
feature Urgent
Dominant language
TypeScript
Stars
3
Forks
34
PR merge metrics
No merged PRs in 30d

Description

## This is an issue spawned from #193

#### Note: First two subtasks 1. and 2. will implement a lot of the features in the current 'Scanner' functionality.
- [ ] On a click, the 'Scan' button will load a window/prompt that loads the Quagga camera scanner, a barcode form input, and a 'Lookup' button.
- [ ] From the newly-opened 'Scan' window, a user can scan/input a barcode.
- A successful scan/input will return the name of the scanned item via the Scanner API endpoints.
- update a 'Name' variable with the scanned item.
- [ ] When the user presses 'Lookup' button
- Close the 'Scan' Window
- Automatically open the 'Add Item' window
- Populate the 'Name' in the 'Add Item' window with the 'Name' variable.

Original UML Diagram from #193 included for reference to 'Donor Lookup' page.

![UpdatedDonorLookup](https://user-images.githubusercontent.com/98365370/235050788-8bc99136-2abf-4b20-83ea-7da7d1a4a8c8.png)

Contributor guide

Open the contributing guide

Research direction

Read issue #193 and the current Scanner functionality first; no file or test entry point is named here. Verify the Scan window's Quagga/barcode input flow and Scanner API lookup, then confirm completion when Lookup closes it, opens Add Item, and pre-fills Name.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.