Commit graph

129 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
0f6bfedd77 remove temp code 2023-07-13 18:11:41 +01:00
Khalim Conn-Kowlessar
aff31f2128 Updated user input to ask for housing type and fixed download bug with nextJS Link component causing subsequent downloads after the first when hovering over 2023-07-13 18:05:19 +01:00
Khalim Conn-Kowlessar
d4252cff16 fix the order of useMutation so the hook isn't called conditionally 2023-07-13 17:50:15 +01:00
Khalim Conn-Kowlessar
6748d0a625 Fixing bug with hardcoded userId and creation of portfolio| 2023-07-13 17:23:29 +01:00
Khalim Conn-Kowlessar
261a8179f5 remove reqired asterix next to budget 2023-07-13 14:43:53 +01:00
Khalim Conn-Kowlessar
605784e722 Added csv download example 2023-07-13 14:39:43 +01:00
Khalim Conn-Kowlessar
7aa3c930da restrict input to just csv file 2023-07-13 14:09:03 +01:00
Khalim Conn-Kowlessar
3b66371bb1 Updated button enable logic to require upload of a csv 2023-07-13 14:04:56 +01:00
Khalim Conn-Kowlessar
a99b492e2b fixed build issue with apstrophe 2023-07-13 12:33:38 +01:00
Khalim Conn-Kowlessar
ede76627d1 function documentation and changed styling of create button 2023-07-13 12:31:47 +01:00
Khalim Conn-Kowlessar
efea3662ea Implemented button disabled logic 2023-07-13 12:29:18 +01:00
Khalim Conn-Kowlessar
1bb8406f2e Finally got the ui for the uploader roughly working and bug free 2023-07-13 11:45:37 +01:00
Khalim Conn-Kowlessar
d1ae0c8470 Working on rough upload csv ui - added float menu for headless-ui 2023-07-13 10:56:28 +01:00
Khalim Conn-Kowlessar
c89060650d fix quotes 2023-07-12 23:41:41 +01:00
Khalim Conn-Kowlessar
a7e131119c Added in the template for csv upload 2023-07-12 18:58:07 +01:00
Khalim Conn-Kowlessar
109d2dee30 installed shadcn input for file upload 2023-07-12 18:34:32 +01:00
Khalim Conn-Kowlessar
0e9509ae42 Added template for uploading csv modal 2023-07-12 18:33:53 +01:00
Khalim Conn-Kowlessar
c1f4f3ca60 additional formatting 2023-07-12 18:17:23 +01:00
Khalim Conn-Kowlessar
8d2db50d1c Tidying up layout on portfolio screen 2023-07-12 18:04:13 +01:00
Khalim Conn-Kowlessar
40926b7106 Added layout of toolbar n portfolio page 2023-07-12 15:41:58 +01:00
Khalim Conn-Kowlessar
c022c813a0 Adding simple toolbar to porfolio page 2023-07-12 14:09:46 +01:00
Khalim Conn-Kowlessar
d3dc668dd0 commiting missing utils file 2023-07-12 13:18:26 +01:00
Khalim Conn-Kowlessar
b5ab39cb09 Added get portfolio id api 2023-07-12 12:22:36 +01:00
Khalim Conn-Kowlessar
0ce99e0f94 Implemented create protfolio api 2023-07-12 11:53:03 +01:00
Khalim Conn-Kowlessar
1e305912f6 Set up persistence of user id in session on client and server and pass userid to db call 2023-07-11 22:48:03 +01:00
Khalim Conn-Kowlessar
6224c303c8 Fixed missing types 2023-07-11 21:57:51 +01:00
Khalim Conn-Kowlessar
c7edac7fb6 commiting missing files 2023-07-11 21:14:36 +01:00
Khalim Conn-Kowlessar
293738f89d created initial api call to database to get portfolios 2023-07-11 20:37:28 +01:00
Khalim Conn-Kowlessar
ac24c48331 created portfolio and portfolioUsers schemas with drizzle 2023-07-11 17:52:46 +01:00
Khalim Conn-Kowlessar
4db0ce0091 Added some documentation 2023-07-11 15:49:19 +01:00
Khalim Conn-Kowlessar
9a3b067478 WOOOO After so much pain, it's working 2023-07-11 15:38:25 +01:00
Khalim Conn-Kowlessar
e0b0fa993e full login automated testing still not working - will come back to this and probably run in docker 2023-07-11 15:00:19 +01:00
Khalim Conn-Kowlessar
0f8d63f588 Creating automated testing - blocked until we have a test account 2023-07-11 12:14:48 +01:00
Khalim Conn-Kowlessar
732cc8e688 getting cypress working - in progress 2023-07-11 11:18:46 +01:00
Khalim Conn-Kowlessar
bc742a8ecb setup cypress template 2023-07-11 11:00:27 +01:00
Khalim Conn-Kowlessar
d864afb244 Fixed silly sign in bug 2023-07-11 10:43:39 +01:00
Khalim Conn-Kowlessar
64f5649db1 Added better error handling for sign in api 2023-07-11 10:31:26 +01:00
Khalim Conn-Kowlessar
d1e9d8949d implemented user sign in against database 2023-07-11 10:24:46 +01:00
Khalim Conn-Kowlessar
b3cdf6ac27 Added shortcut for creating user 2023-07-10 19:19:08 +01:00
Khalim Conn-Kowlessar
6d81f131b9 revert tsconfig 2023-07-10 19:14:31 +01:00
Khalim Conn-Kowlessar
a1a578c97f Added create_user and also making users table schema changes 2023-07-10 19:14:06 +01:00
Khalim Conn-Kowlessar
ec8da0e40b Added create_user script with documentation on how to create a user 2023-07-10 18:49:04 +01:00
Khalim Conn-Kowlessar
43617f3944 Added drizzle orm documentation 2023-07-10 17:57:34 +01:00
Khalim Conn-Kowlessar
39695232c6 Got drizzle orm working 2023-07-10 17:48:37 +01:00
Khalim Conn-Kowlessar
f405c0174f Setting up db connection 2023-07-10 16:22:51 +01:00
Khalim Conn-Kowlessar
2de80ee8ab setting up db wip 2023-07-10 10:49:35 +01:00
Khalim Conn-Kowlessar
50ee1db7a0 Allow any user to log into demo 2023-06-05 17:55:06 +01:00
Khalim Conn-Kowlessar
d053273020 reverted portfolio page 2023-06-04 20:16:26 +01:00
Khalim Conn-Kowlessar
bfb2f600d4 Trying to get budget modal working on portfolio page 2023-06-04 19:55:07 +01:00
Khalim Conn-Kowlessar
c0161eb657 Added missing portfolio cost 2023-06-02 19:24:42 +01:00