feat: add license plate image upload management (LicensePlate/ on part2)#52
Open
pabloromeu wants to merge 3 commits intomphacker:mainfrom
Open
feat: add license plate image upload management (LicensePlate/ on part2)#52pabloromeu wants to merge 3 commits intomphacker:mainfrom
pabloromeu wants to merge 3 commits intomphacker:mainfrom
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
mode-aware (quick_edit_part2 in present mode, direct write in edit mode);
warns if not 420x100px but does not reject.
delete routes; gated on IMG_LIGHTSHOW_PATH.
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.