68 Commits

Author SHA1 Message Date
013c80791e added onDelete cascade on regions, subregions, producers and wines 2024-06-03 11:36:56 +02:00
aa209bc0a8 not throwing error on duplicates, but also not creating zoderror 2024-06-02 12:43:10 +02:00
a065e6b592 updated error handling and added red border on error 2024-06-02 12:02:40 +02:00
ec47559cd2 Merge branch 'main' of https://gitea.rannes.dev/rannes.dev/wine-shop 2024-06-02 11:43:13 +02:00
6271e5e033 npm 2024-06-02 11:43:12 +02:00
067c31d745 fixing forms 2024-06-02 11:41:55 +02:00
c90eedcabd made subregions unique to regions 2024-06-02 09:27:40 +02:00
14b14f9f26 updated create region form 2024-06-02 08:14:30 +02:00
2c5fcbcbdb fixed conflict handling 2024-06-02 07:56:39 +02:00
7590e54392 updated schema so same region name can exist in differentcountries 2024-06-02 07:54:09 +02:00
f0125fd472 added form validation to regions form. 2024-06-01 09:45:54 +02:00
4f5a9c429c imports etc 2024-05-30 23:31:41 +02:00
762ce3c90d fixed imports 2024-05-30 19:35:51 +02:00
d7a835987e removed unused imports 2024-05-29 06:24:18 +02:00
8a3d62a43d lucide delete icon 2024-05-28 23:01:43 +02:00
0bab29653a created delete function 2024-05-28 22:41:55 +02:00
dbdb5356e2 updated components for pending 2024-05-28 22:16:39 +02:00
e70ff89833 added card to show all wines in db 2024-05-28 15:39:21 +02:00
2f158c49d6 added form to create country 2024-05-28 15:22:06 +02:00
ef08c000ec updated searchbar to retain state on refresh 2024-05-28 14:10:56 +02:00
a61a65aab0 fixed inputs to bind to value rather than state.
fixed min and max for inputs
2024-05-28 12:37:58 +02:00
f266c590f5 added shadcn and filtermenu back in 2024-05-28 12:28:09 +02:00
fb35d90d9e rolled back react and next js from rc 2024-05-28 12:21:27 +02:00
0bb5cdc760 updated schema 2024-05-27 22:33:25 +02:00
1a9c96381e removed radix/shadcn 2024-05-27 22:30:29 +02:00
e7b6bb9d9c removed unused imports 2024-05-27 21:39:28 +02:00
4914e314c9 added wine types and subregions. removed indexes for now 2024-05-27 21:26:48 +02:00
cf33077aa0 Merge pull request 'Final schema \u2705' () from full-schema into main
Reviewed-on: 
2024-05-26 20:32:47 +00:00
2149cda2e4 Final schema \u2705 2024-05-26 22:30:48 +02:00
0df891fc3b finished implementing searchQuery to store, and added search bar input handleInput 2024-05-26 12:03:41 +02:00
0a4f5017ea Merge pull request 'Searchbar, state mngmt. etc..' () from searchbar into main
Reviewed-on: 
2024-05-25 23:51:25 +00:00
0d7b8a3db7 added filter update to maxPriceChange 2024-05-26 01:48:56 +02:00
be98abb776 price slider now updates store filter 2024-05-26 01:41:28 +02:00
3faa9fe73b added state persistance 2024-05-26 01:30:26 +02:00
d4e7ee8cf8 added store for all filter along with actions to add, remove and reset all. 2024-05-26 01:03:26 +02:00
890595f24c added zustand 2024-05-26 00:16:27 +02:00
dded3e821b added searchbar - no functionality as state management is next 2024-05-26 00:11:55 +02:00
fcfc848719 Merge branch 'main' of https://gitea.rannes.dev/christian/wine-shop 2024-05-25 22:13:49 +02:00
02769e3e15 updated readme 2024-05-25 22:13:47 +02:00
5209923a5e Merge pull request 'initial top filter menu' () from shadcn into main
Reviewed-on: 
2024-05-25 20:13:32 +00:00
8b98ff75cf Finished initial price slider 2024-05-25 22:07:10 +02:00
a3586f3059 created filter menu 2024-05-25 19:42:48 +02:00
d7ebcb8558 finished add wine card until db scheme is done 2024-05-25 18:36:03 +02:00
a04ceb616c Fixed add wine form 2024-05-25 14:54:17 +02:00
f85c15f380 installed shadcn 2024-05-25 12:30:26 +02:00
466b89e7af Merge pull request 'added working create form and useActionState logic' () from forms into main
Reviewed-on: 
2024-05-25 10:26:39 +00:00
f72c525701 removed janky list all card and added formcard 2024-05-25 12:06:19 +02:00
39e6d86420 moved force-dynamic into component 2024-05-25 09:11:48 +02:00
fda212f8da Its working and i am officially the greatest (for the next 2 minutes) 2024-05-25 08:59:50 +02:00
3977e406c6 updated next to 15-rc0 and react to 19-rc 2024-05-25 08:37:49 +02:00