Shared QR and label printing for pathway nodes #310
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
platform specific
question
wontfix
workflow
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Perth-Artifactory/member_portal#310
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
#261 (QR per node) and #263 (physical stickers) are the same feature at two fidelities. Materials already do this end-to-end:
util/qr.py,generate_material_label_png, andutil/label_printer.py. Tools also deferred QR/labels into the same gap.Proposal
Generalise the Materials pattern rather than a Pathways-only printer:
base_url_shortwhere configured.generate_pathway_node_label_png(or a shared label helper parameterised by title + QR target) mirroring material labels: QR + node title (+ optional pathway/parent crumb).Do not invent a second print stack. Prefer extracting shared bits from Materials if Pathways would otherwise copy-paste.
Acceptance criteria
Related
util/materials.py(generate_material_label_png),util/label_printer.py