Skip to content

Polish UI flows and unify API handling#4

Merged
leoz9 merged 8 commits into
mainfrom
codex
Apr 10, 2026
Merged

Polish UI flows and unify API handling#4
leoz9 merged 8 commits into
mainfrom
codex

Conversation

@leoz9

@leoz9 leoz9 commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Improve frontend UX/UI flows with low-risk updates across Entry, Wardrobe, Outfit, Recommendation, Home, and TabBar (mobile-first clarity, actionable empty states, smoother interactions).
  • Centralize frontend API/image URL building through frontend/src/utils/api.js and migrate pages/contexts to remove duplicate hardcoded URL logic.
  • Apply lightweight backend optimizations without API contract changes:
    • cache config reads by file mtime in backend/storage/config_store.py
    • streamline wardrobe/category query path in backend/api/wardrobe.py
    • reduce repeated category normalization in backend/services/recommendation.py
  • Refresh README (EN/ZH/JA) with new UI screenshot layout, add GitHub stars badge, and fix Star History chart parameter consistency (type=Date).

Test plan

  • Frontend build passes: cd frontend && npm run build
  • Changed backend modules compile: python3 -m py_compile backend/storage/config_store.py backend/api/wardrobe.py backend/services/recommendation.py
  • Manual smoke test on key pages: Entry / Wardrobe / Outfit / Recommendation / Home
  • Verify README rendering on GitHub (images, badges, star chart)

leoz9 added 8 commits March 25, 2026 22:26
This improves mobile-first interaction clarity, fixes README star history rendering, and reduces backend overhead in wardrobe/category and config-loading paths without changing API contracts.
Pass optional goal from recommendation page to backend scoring, include goal echo in response, and localize new goal/voice UI across zh/en/ja.
Embed updated input, landing, and wardrobe images in the README for quick UI preview.
@leoz9
leoz9 merged commit 51a2fce into main Apr 10, 2026
1 check passed
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.

1 participant