Skip to content

feat: add license plate image upload management (LicensePlate/ on part2)#52

Open
pabloromeu wants to merge 3 commits intomphacker:mainfrom
pabloromeu:main
Open

feat: add license plate image upload management (LicensePlate/ on part2)#52
pabloromeu wants to merge 3 commits intomphacker:mainfrom
pabloromeu:main

Conversation

@pabloromeu
Copy link
Copy Markdown

Adds a License Plates section to the Media hub — upload, download, delete
custom PNG license plate images served from LicensePlate/ on the LightShow
drive (part2, usb_lightshow.img). Follows the same pattern as Wraps.

New files:

  • license_plate_service.py — validates/manages PNGs in LicensePlate/;
    mode-aware (quick_edit_part2 in present mode, direct write in edit mode);
    warns if not 420x100px but does not reject.
  • license_plates.py blueprint — list, download, upload (single + multi),
    delete routes; gated on IMG_LIGHTSHOW_PATH.
  • license_plates.html — drag-drop desktop UI, mobile card layout, mirrors wraps.html.

Modified: partition_service.py (feature flag), base.html, media_hub_nav.html
(Plates tab with credit-card icon), blueprints/init.py, web_control.py,
lucide-sprite.svg (icon-credit-card added), readme.md, CLAUDE.md,
docs/UI_UX_DESIGN_SYSTEM.md.

icc-romeu added 3 commits May 1, 2026 10:54
- New service: license_plate_service.py validates/uploads/deletes PNG files
  in LicensePlate/ folder on part2 (usb_lightshow.img).
  Accepts any PNG ≤1 MB; warns (not rejects) if not 420x100px.
- New blueprint: license_plates.py with routes for list, download,
  upload (single + multi), and delete. Gated on IMG_LIGHTSHOW_PATH.
- New template: license_plates.html — mirrors wraps UI with drag-drop,
  mobile card layout, and dimension warning support.
- Add icon-credit-card to lucide-sprite.svg for nav tab.
- Wire feature availability flag (license_plates_available) through
  partition_service, base.html, media_hub_nav.html, web_control.py,
  and blueprints/__init__.py.
- Update CLAUDE.md and docs/UI_UX_DESIGN_SYSTEM.md to document the
  new feature and LicensePlate/ folder on LUN 1.
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.

2 participants