Commit Graph

19 Commits

Author SHA1 Message Date
de29f5445e feat(postcard): split create into sent/received, add pending status and mark-sent flow 2026-07-15 19:04:54 +08:00
599a95ee12 fix(ui): fix field name corruption (country_to_from -> country_from) and ensure all flag displays show country code 2026-07-07 13:54:00 +08:00
ad6f2b2ff2 refactor(model): rename Postcard.country -> country_to for clear semantics - country_from: origin country (where postcard was sent from) - country_to: destination country (where postcard was sent to) - Profile.country remains as user's home country - Updated all routes, schemas, templates, and API endpoints 2026-07-07 13:43:39 +08:00
a071b3dde4 feat(postcard): profile country, country_from, per-user card number uniqueness, public page overhaul - Profile: add country field for default origin country - Postcard: add country_from field, auto-fill from profile.country on create - card_number uniqueness: change from global to per-user (profile_id + card_number) - Public pages: remove card_number display, only show cards with image_front - Public pages: show country as from→to format - Index page: no time display, add register button, fix lightbox with prev/next - Infinite scroll: add /api/public/cards endpoints and IntersectionObserver - Internal pages: update postcards list/detail for country_from display - i18n: add profiles.country_ph, pc_form.country_from, pc_detail.route 2026-07-07 12:32:24 +08:00
f448a900f5 feat(i18n): add English localization with per-user language preference and navbar toggle 2026-07-06 22:07:05 +08:00
e7b109ab6d fix(postcards): move notes to right side before action buttons in list, use dl grid format in detail page 2026-07-06 21:13:01 +08:00
68c88a7910 feat(postcards): add notes field to postcards with edit, detail, and truncated list display 2026-07-06 21:07:28 +08:00
a7c5082ff6 chore: rename app to 星笺 (Mailova) 2026-07-06 00:41:24 +08:00
d7780ea6ad feat(ui): move detail page badge next to card number title 2026-07-05 23:16:11 +08:00
23c61363a6 fix(ui): shorten mark-delivered button text to 已送达 2026-07-05 23:15:38 +08:00
a502c14c99 fix(ui): improve detail page mobile layout - smaller title, compact back button, action buttons in one row 2026-07-05 23:15:10 +08:00
a4cd204237 fix(ui): remove duplicate back link from detail page, keep top-left back button 2026-07-05 23:12:59 +08:00
71a029057a feat(ui): add back button left of card number on detail page 2026-07-05 23:11:05 +08:00
fc55507019 i18n: change all page titles and nav text to Chinese 2026-07-05 22:40:49 +08:00
5607485c6a feat(ui): add mark-delivered button on sent postcards with auto today date 2026-07-05 21:45:32 +08:00
7a62ff0818 feat(ui): show country flag emoji next to country codes 2026-07-05 21:40:46 +08:00
e66515ce72 fix(ui): shrink badges, card_number format XX-1234567, date-only fields 2026-07-05 16:26:22 +08:00
4ad37a71f7 fix(ui): fix button text wrapping, upload layout, and image placeholders 2026-07-05 16:23:31 +08:00
0eca60300f feat: initial postcard manager - FastAPI + Jinja2 + SQLite 2026-07-05 16:06:03 +08:00