Commit Graph

130 Commits

Author SHA1 Message Date
b1ek b5828134a9
create form using states instead of formik
formik (or any other form framework) doesn't support setting field value programmatically. filter form uses 2 fields that are triggered by clicking a button, and that's the reason there's no other workaround. probably needs a rewrite
2023-05-08 20:32:50 +10:00
b1ek ff321143aa
style submit button 2023-05-08 20:21:16 +10:00
b1ek edc784b273
half-baked index page 2023-05-08 20:13:57 +10:00
b1ek 11198ea1a3
add font-awesome icons 2023-05-08 15:18:44 +10:00
b1ek 415b41ff2a
refactor styles in questions 2023-05-08 15:02:43 +10:00
b1ek 925b5b855a
shorten import paths 2023-05-08 14:32:44 +10:00
b1ek fee5d43007
refactor Header.jsx 2023-05-08 14:29:42 +10:00
b1ek 995d4349fc
add lost file 2023-05-08 14:22:27 +10:00
b1ek 656b058031
fix import error 2023-05-08 14:21:47 +10:00
Александр Манаенков 613ea46479 Merge branch 'dev_unstable' of github.com:vvsu-rent-project/dev_rent into dev_unstable 2023-05-08 14:15:12 +10:00
Александр Манаенков b910716d7d add questions component 2023-05-08 14:14:44 +10:00
b1ek d76bfe7dca
refactor styles & icons in Header.jsx 2023-05-08 14:14:02 +10:00
b1ek 5b3250a2bb
refactor CardApartment.jsx
- use styled-components instead of plain css files
 - use tables instead of flexboxes
 - move SVGs to external files
2023-05-08 11:54:31 +10:00
b1ek 026c18f1bd
refactor imports for router 2023-05-07 21:24:55 +10:00
b1ek 16b7ce607e
refactor imports (shorten paths) 2023-05-07 21:15:13 +10:00
b1ek c9781a0ced
fix errors 2023-05-07 21:10:46 +10:00
blek! cf39b342e3
Merge pull request #13 from vvsu-rent-project/vite_proposal
[Proposal] Switch to vite for react
2023-05-07 21:04:16 +10:00
Денис Сарапулов 556c859753 change ApartamentComparisonAPIView to ApartamentComparisonViewSet 2023-05-07 20:42:06 +10:00
Денис Сарапулов e7278bc378 Merge branch 'dev_unstable' of github.com:vvsu-rent-project/dev_rent into dev_unstable 2023-05-07 19:53:16 +10:00
Денис Сарапулов 76321d4306 made API for comparison 2023-05-07 19:48:53 +10:00
b1ek 5ab3a91fdb
display studio apartments correctly 2023-05-07 16:41:58 +10:00
blek! c1b2e32c04
Merge branch 'dev_unstable' into vite_proposal 2023-05-07 16:38:43 +10:00
b1ek f728f0c4cd
attempt to fix conflict 2023-05-07 16:37:27 +10:00
b1ek 767ed3538a
fix faker 2023-05-07 16:35:50 +10:00
Александр Манаенков c6a4784cd2 add router
add navigate
add comparisons page (empty page)
update favorites page
2023-05-07 10:54:41 +10:00
b1ek f63e70c8f6
change readme.md 2023-05-07 10:17:16 +10:00
b1ek e9b608d296
switch to vite 2023-05-07 09:51:40 +10:00
b1ek 46e56f5e6b
fix error 2023-05-07 09:07:12 +10:00
b1ek a4e8e3dcc6
remove unused imports 2023-05-06 22:08:41 +10:00
b1ek 21fa7e73b9
change to factory 2023-05-05 22:08:27 +10:00
b1ek 7b93c6970e
remove orphan fields 2023-05-05 21:21:17 +10:00
b1ek 6eaaf50ac5
add apartment faker 2023-05-05 21:03:33 +10:00
b1ek d3d594577a
change ciryllic 'С' to 'C' in variable names 2023-05-05 21:03:18 +10:00
b1ek 4da4719f8e
fix manage.py permissions 2023-05-05 18:47:00 +10:00
b1ek a504d0b53a
load api root path from a constant 2023-05-05 17:55:40 +10:00
Александр Манаенков 9b9956dcaa update page favorites react 2023-05-04 22:16:25 +10:00
Александр Манаенков 7568268621 Merge branch 'dev_unstable' of github.com:vvsu-rent-project/dev_rent into dev_unstable 2023-05-04 20:50:27 +10:00
Александр Манаенков c278f6b988 fix model apartament 2023-05-04 20:25:19 +10:00
b1ek 012fd67768
change class property to className 2023-05-04 13:52:54 +10:00
b1ek 8606633223
add type annotations 2023-05-04 13:52:30 +10:00
Александр Манаенков f30c2bc1de add CardApartament and Favorites components react 2023-05-03 22:47:25 +10:00
Александр Манаенков 67eac3f405 fix app.js 2023-05-03 20:12:24 +10:00
Александр Манаенков 097778e426 update backend API, update structure dir react-app 2023-05-03 19:56:13 +10:00
Александр Манаенков c7d15b1943 add header and footer react 2023-05-02 23:03:18 +10:00
Александр Манаенков cbd29f5ba0 add react app and setup rest framework 2023-05-01 20:39:34 +10:00
kimboot f06673022d fixing src folder 2023-04-28 20:47:49 +10:00
kimboot 3dfca9b2d9 frontend added 2023-04-28 19:35:58 +10:00
b1ek b2ad00dcca
add few more routes 2023-04-24 20:43:46 +10:00
Александр Манаенков 9638619fe2 add model photo and ipaddresses and change model apartament 2023-04-17 22:48:32 +10:00
Александр Манаенков bd35be6cd3 Merge branch 'dev_unstable' of github.com:vvsu-rent-project/dev_rent into dev_unstable 2023-04-10 17:37:17 +10:00