DogStark / DogStark/petChain-Frontend

[Frontend] Add emergency QR rendering integrity checks

Open
#959 1 comment 0 reactions 0 assignees View on GitHub
Stellar Wave
Dominant language
TypeScript
Stars
3
Forks
158
Avg merge
3d 6h
Merged PRs (30d)
36

Description

## Problem
A QR generated from a stale or truncated payload can look valid while resolving to the wrong or incomplete emergency profile.
## Acceptance criteria
- QR payloads are generated from a canonical versioned schema with integrity data.
- The UI verifies decode round-trip before offering download/print.
- Revoked, expired, and oversized payloads are blocked with actionable errors.
- Tests cover round-trip vectors, truncation, encoding, print scaling, and dark mode.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing QR generation, decode round-trip, and download/print UI paths; the issue names no files or test paths. Use the acceptance criteria to define the canonical versioned payload and integrity behavior, then cover round-trip, truncation, encoding, print scaling, dark mode, and revoked, expired, and oversized payload errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.