Commit Graph

31 Commits

Author SHA1 Message Date
ca6b12bfb9 fixing add property
All checks were successful
Build frontend / build (push) Successful in 57s
2026-07-16 10:56:59 -07:00
747e42dc00 Edit owner
All checks were successful
Build frontend / build (push) Successful in 1m9s
2026-07-15 20:03:38 +03:00
bb47b05858 Added api for add property
All checks were successful
Build frontend / build (push) Successful in 1m39s
2026-07-04 12:24:13 +03:00
3bef951d5c Added city and document type
All checks were successful
Build frontend / build (push) Successful in 54s
2026-07-04 02:53:34 +03:00
dab5b62fb7 Added translation to all site with edit style
All checks were successful
Build frontend / build (push) Successful in 1m40s
2026-07-01 15:43:58 +03:00
4f58519bac Added dark and light theme
All checks were successful
Build frontend / build (push) Successful in 56s
Added navbar
2026-06-28 16:08:46 +03:00
df5801ee25 Edit properties for owner
All checks were successful
Build frontend / build (push) Successful in 57s
2026-06-28 15:16:32 +03:00
9dcbb940c6 Edit button nav
All checks were successful
Build frontend / build (push) Successful in 1m26s
Edit add properties for owner
2026-06-28 14:55:23 +03:00
61e527fab3 removing console.log
All checks were successful
Build frontend / build (push) Successful in 54s
2026-06-17 06:46:57 -07:00
439f69419f fixed the details
All checks were successful
Build frontend / build (push) Successful in 43s
2026-05-26 04:16:53 +03:00
71ce933c6a fixed the details
All checks were successful
Build frontend / build (push) Successful in 45s
2026-05-26 03:22:14 +03:00
5045e69191 fixed the details
All checks were successful
Build frontend / build (push) Successful in 1m36s
2026-05-26 02:59:20 +03:00
f91c78f759 added the allowedPaymentPeriod
All checks were successful
Build frontend / build (push) Successful in 42s
2026-05-26 02:35:41 +03:00
80ea9af86b fixed the details
All checks were successful
Build frontend / build (push) Successful in 42s
2026-05-26 02:34:18 +03:00
4c350d7589 fixed the details
All checks were successful
Build frontend / build (push) Successful in 42s
2026-05-26 01:48:12 +03:00
ca94c5fd87 fixed the details
All checks were successful
Build frontend / build (push) Successful in 43s
2026-05-26 01:44:23 +03:00
c40486b99e fixed the details
All checks were successful
Build frontend / build (push) Successful in 44s
2026-05-26 01:20:05 +03:00
2c4a163cdb editing the add rent property mouaz is the best in the west
All checks were successful
Build frontend / build (push) Successful in 44s
2026-05-25 23:18:03 +03:00
00ccf5f262 the best in the west is mouaz
All checks were successful
Build frontend / build (push) Successful in 55s
2026-05-25 21:27:39 +03:00
2998a6bd75 fix: import useMapEvents as hook instead of dynamic component
All checks were successful
Build frontend / build (push) Successful in 45s
2026-04-01 19:07:22 +00:00
9d671f1985 Fix: add missing imports and currencies fetch in add property form
All checks were successful
Build frontend / build (push) Successful in 41s
- Import getCurrencies and uploadPicture were missing from import statement
- Added currencies state and fetch call in useEffect
- Added debug log in handleImageUpload
2026-03-30 01:25:48 +00:00
505dcd4bb0 Fix image upload field name: 'file' -> 'image'
All checks were successful
Build frontend / build (push) Successful in 40s
Endpoint expects field named 'image', returns path like /Pictures/abc123.jpg
2026-03-30 01:15:57 +00:00
8f700d0957 Fix missing uploadedImagePaths state declaration
All checks were successful
Build frontend / build (push) Successful in 38s
2026-03-30 01:06:23 +00:00
39193337b3 Display property images from API using full URLs
All checks were successful
Build frontend / build (push) Successful in 1m3s
- All mappers extract images from propertyInformation.images
- Paths prefixed with API base URL (http://45.93.137.91/api)
- Falls back to placeholder if no images
- Updated: main page, properties listing, property detail, owner properties
2026-03-30 01:01:42 +00:00
4299968764 Add image upload to property form via FilesController
All checks were successful
Build frontend / build (push) Successful in 52s
- Added uploadPicture() API function for POST /Files/UploadPicture
- Images uploaded immediately on selection, paths stored
- PropertyInformation.images sent with server-side paths
- Remove image also removes from uploaded paths
2026-03-30 00:57:52 +00:00
00dab824c3 Fix add property page to match Flutter request body structure
Some checks failed
Build frontend / build (push) Failing after 39s
- Remove 'For sale' offer type (rent only)
- Remove salePrice field and UI
- Fix rentTypeMap: 0=Monthly, 1=Daily (was wrong)
- Fix propertyType: uses RentPropertyCondition (furnished/unfurnished)
- Fix type field: uses RentPropertyType (furnished/unfurnished)
- Fix services: use enum API names in detailsJSON (Electricity, Internet...)
- Fix terms: use enum API names in detailsJSON (NoSmoking, NoAnimals...)
- Fix detailsJSON structure to match Flutter (services array, terms array, room object)
- Replace getCurrencies with static Currency enum dropdown
- Remove duplicate MapClickHandler
- Use all new enums from enums/index.js
2026-03-29 15:48:48 +00:00
16038a80dd Add currency dropdown and deposit field to add property form
All checks were successful
Build frontend / build (push) Successful in 53s
- Added getCurrencies() API function for /Currency/GetAll
- Currency dropdown fetched on mount, populated with available currencies
- Added deposit input field (مبلغ الضمان)
- CurrencyId sent in RentPropertyDto instead of hardcoded 1
2026-03-28 19:40:03 +00:00
6df7548611 Fix missing mapZoom state variable in add property page
All checks were successful
Build frontend / build (push) Successful in 37s
2026-03-28 18:12:41 +00:00
d94b32a670 Add property form submits to API as RentPropertyDto
All checks were successful
Build frontend / build (push) Successful in 43s
- Added addRentProperty() API function for POST /RentProperties/AddRentProperty
- handleSubmit builds correct RentPropertyDto with nested PropertyInformation
- Maps UI fields to API enums (BuildingType, RentType, RentPropertyType, PropertyStatus)
- Services/terms stored in DetailsJSON as JSON string
- Console logs the full payload before sending
2026-03-28 18:00:44 +00:00
c14c28141f Add loading.js and error.js for all routes, secure admin page with 404
All checks were successful
Build frontend / build (push) Successful in 40s
- Added loading.js (dark/light variants) for all 14 routes
- Added error.js (dark/light variants) for all 14 routes
- Added global not-found.js and loading.js at root
- Admin page shows 404 illustration for non-admin users instead of redirecting
2026-03-28 16:12:21 +00:00
1c8e888ea3 Added Admin page, Login, forgot password, register and owner with profile 2026-03-17 20:36:59 +03:00