Phases 28-31 archived to milestones/v2.2-phases/ Requirements and roadmap snapshots archived to milestones/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.0 KiB
2.0 KiB
phase, plan, subsystem, tags, key-files, metrics
| phase | plan | subsystem | tags | key-files | metrics | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 29 | 02 | frontend |
|
|
|
Plan 29-02 Summary: GearImage Component + Surface Updates
What was built
- Created
GearImageshared component with three modes: contain (default), cover (tiny thumbnails), and crop (CSS transform) - Created
imageContainerBg()helper for consistent dominant color backgrounds - Updated all 12 gear image surfaces to use GearImage
- Default rendering now uses
object-containinstead ofobject-cover - Parent containers use dominant color background for letterbox/pillarbox fill
- LinkToGlobalItem uses
covermode for 32px thumbnails (intentional exception)
Commits
| Task | Commit | Description |
|---|---|---|
| 1 | 06d3984 |
Create GearImage component |
| 2-3 | 2865e65 |
Update ItemCard and GlobalItemCard |
| 4-5 | 05c0918 |
Update CandidateCard and CandidateListItem |
| 6-8 | 91846b5 |
Update ComparisonTable, CatalogSearchOverlay, ImageUpload |
| 9-13 | 66d9c41 |
Update detail pages and LinkToGlobalItem |
| lint | 9636033 |
Lint fixes for formatting and unused parameter |
Deviations
None.
Self-Check: PASSED
- GearImage component exists: YES
- object-cover removed from all gear surfaces: YES (only remains in GearImage internal, ProfileSection avatar, users avatar)
- Build passes: YES
- Lint passes: YES