Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclaimed codes #932

Merged
merged 8 commits into from
Apr 30, 2024
Merged

Unclaimed codes #932

merged 8 commits into from
Apr 30, 2024

Conversation

DonKoko
Copy link
Contributor

@DonKoko DonKoko commented Apr 26, 2024

  • made it so userId and organizationId are not required for qr codes
  • updated some services that needed change due to different fields
  • created new services for generating unclaimed codes
  • created admin dashboard index for qrs
  • created endpoint to generate and print unclaimed codes
  • created a util that takes an array of Prisma.Qr and generates a zipBlob with svgs of those codes
  • changed batch from a field within Qr to its own model with Relation to Qr
  • updated qr codes index for admin to have better data
  • added filter based on batch name/id
  • added a form that allows to mark a batch as printed

DonKoko and others added 7 commits April 26, 2024 08:38
- made it so userId and organizationId are not required for qr codes
- updated some services that needed change due to different fields
- created new services for generating unclaimed codes
- updated DB to include 'printed' and 'batch' fields for qr codes
- created admin dashboard index for qrs
- created endpoint to generate and print unclaimed codes
- created a util that takes an array of Prisma.Qr and generates a zipBlob with svgs of those codes
- changed batch from a field within Qr to its own model with Relation to Qr
- updated qr codes index for admin to have better data
- added filter based on batch name/id
- added a form that allows to mark a batch as printed
- updating organization-select to make it re-usable
- updating flow after scanning a qr to handle unclaimed codes
- updated the flow of qrId.link to handle linking and claiming codes, aside from only linking
- updated contact-owner to handle the case when someone lands there for a code which doesnt have an owner
@jurrejansen
Copy link

jurrejansen commented Apr 30, 2024

@DonKoko
Copy link
Contributor Author

DonKoko commented Apr 30, 2024

@jurrejansen issue is fixed. Deploying now: https://github.com/Shelf-nu/shelf.nu/actions/runs/8893042370

I also improved the pagination component cuz i found another bug and improved the code to make it smaller and smoother.

@DonKoko DonKoko changed the title preparing app for fully unclaimed codes: Unclaimed codes Apr 30, 2024
@DonKoko DonKoko merged commit ab80839 into main Apr 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants