refactor/api-v1-frontend-cleanup #3

Merged
hume merged 17 commits from refactor/api-v1-frontend-cleanup into main 2026-08-11 13:51:25 +00:00
Owner
No description provided.
hume self-assigned this 2026-08-11 13:51:15 +00:00
hume added 17 commits 2026-08-11 13:51:15 +00:00
refactor: API v1 prefix migration + frontend PropertiesView componentization
Some checks failed
Backend / backend (push) Failing after 38s
Frontend / frontend (push) Failing after 35s
b2ffb9fbed
Backend:
- Add /api/v1/ prefix to all routes (properties, tenants, bookings, imports, exports, financials, admin_official_data, property_pricing)
- Fix typo: tenants_routeur -> tenants_router
- Standardize naming: PascalCase -> camelCase in tenants.py (get_tenant, update_tenant, delete_tenant)
- Fix parameter names: Tenant_id -> tenant_id, BookingId -> bookingId

Frontend:
- Split PropertiesView.vue into 4 components:
  - PropertyForm.vue - creation/edit form
  - PropertyCard.vue - property card with pricing dialog
  - PricingSummary.vue - pricing rules summary
  - PropertiesView.vue - main view orchestrating components
- Update all API clients to use /api/v1/ endpoints
- Fix error messages in tenants.ts (property -> locataire)

Cleanup:
- Remove backup files (PropertiesView.vue.backup*, property.py, debug_template.py, extract_contract.py, test_contract.db)
- Update tests to use new API endpoints
test: Fix test URLs to use /api/v1/ prefix
Some checks failed
Backend / backend (push) Successful in 40s
Frontend / frontend (push) Failing after 15s
92ece97d6a
fix: TypeScript/Vue build errors - add @ alias, fix PropertyForm template, remove duplicate script blocks
All checks were successful
Backend / backend (push) Successful in 38s
Frontend / frontend (push) Successful in 16s
8292e6cc73
chore: Remove debug test files from backend
All checks were successful
Backend / backend (push) Successful in 36s
Frontend / frontend (push) Successful in 17s
3b7c6ad38c
fix: PropertiesView UI improvements - remove header, align form fields, move base price to card body, add spacing
All checks were successful
Backend / backend (push) Successful in 36s
Frontend / frontend (push) Successful in 16s
11d3250158
fix: Add missing PricingSummary import in PropertyCard
All checks were successful
Backend / backend (push) Successful in 35s
Frontend / frontend (push) Successful in 16s
10ca23138f
fix: Use v-model:visible for Dialog (PrimeVue 4+ syntax)
All checks were successful
Backend / backend (push) Successful in 36s
Frontend / frontend (push) Successful in 17s
8aa19dabe3
fix: Update all API URLs to use /api/v1/ prefix + fix Vite proxy config
All checks were successful
Backend / backend (push) Successful in 43s
Frontend / frontend (push) Successful in 17s
66e72aebd2
fix: Update ImportFilePanel and ImportsView to use /api/v1/ prefix
All checks were successful
Backend / backend (push) Successful in 36s
Frontend / frontend (push) Successful in 16s
703b1c7cd2
fix: Remove leading slash from route paths to avoid 307 redirects (use "" instead of "/")
All checks were successful
Backend / backend (push) Successful in 37s
Frontend / frontend (push) Successful in 18s
eb2eff7c6d
fix: Fix all route paths - ensure proper slash usage for nested routes
All checks were successful
Backend / backend (push) Successful in 36s
Frontend / frontend (push) Successful in 17s
831dad29f3
fix: Update ContractsView.vue to use /api/v1/exports/contrat/{id}
All checks were successful
Backend / backend (push) Successful in 37s
Frontend / frontend (push) Successful in 16s
1e5e4ad66a
fix: Move Dialog outside Card component for PrimeVue 4+ compatibility
All checks were successful
Backend / backend (push) Successful in 37s
Frontend / frontend (push) Successful in 17s
c6ee222a56
fix: Align dialog fields in PropertyCard, add dates to PricingSummary display
All checks were successful
Backend / backend (push) Successful in 39s
Frontend / frontend (push) Successful in 17s
8a3a7e0133
fix: Display pricing rules vertically in PricingSummary for better readability
All checks were successful
Backend / backend (push) Successful in 40s
Frontend / frontend (push) Successful in 21s
0d04ac7515
fix: Load pricing rules on component mount instead of dialog open
All checks were successful
Backend / backend (push) Successful in 37s
Frontend / frontend (push) Successful in 17s
2f60385705
fix: Add price per night to pricing rules display in PricingSummary
All checks were successful
Backend / backend (push) Successful in 37s
Frontend / frontend (push) Successful in 17s
abf2ff9d09
hume merged commit b7fd516b50 into main 2026-08-11 13:51:25 +00:00
hume deleted branch refactor/api-v1-frontend-cleanup 2026-08-11 13:51:26 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hume/sci-rental-manager!3
No description provided.