Commit Graph

198 Commits

Author SHA1 Message Date
andrzej e0b47622ce partially implement del function 2024-06-19 19:46:30 +02:00
andrzej 37aad4605c add deleteStory function, fix schema to allow it 2024-06-19 18:01:42 +02:00
andrzej 53fbddd846 clean up imports 2024-06-19 13:14:41 +02:00
andrzej d34fb324bd style table 2024-06-19 13:14:23 +02:00
andrzej e05142999f add genre badges 2024-06-19 13:14:12 +02:00
andrzej 4b7549020e normalize typing 2024-06-19 13:13:54 +02:00
andrzej 5de197dfe0 merge in laptop work
Merge branch 'main' of 192.168.0.184:andrzej/subman-nextjs
2024-06-19 12:40:06 +02:00
andrzej 74c8e04fcb tweaks 2024-06-19 11:54:07 +02:00
andrzej bd4a690d95 split getStory function
it's a waste to be fetching genres unless we're going to use them
2024-06-19 11:53:58 +02:00
andrzej 4353536986 add definablei, reusable filtering 2024-06-19 11:34:57 +02:00
andrzej f3472d2a55 add fetched data to story table 2024-06-19 11:33:53 +02:00
andrzej a8f68ff737 include genres in getStory api call 2024-06-19 11:33:27 +02:00
andrzej a8a4538513 db updates 2024-06-17 23:31:24 +02:00
andrzej f1422b5b24 add create server actions 2024-06-17 23:23:09 +02:00
andrzej 0d25299ba6 extracted genre picker experiment
I need to properly handle refs for this to work, but this may be more trouble than it's worth
2024-06-17 22:56:24 +02:00
andrzej 3d571a871e delete test entries 2024-06-17 13:52:09 +02:00
andrzej 0a5095bd5f add createStory server action 2024-06-17 13:51:24 +02:00
andrzej a5e5c8c246 add radix components to publication create form 2024-06-17 12:41:21 +02:00
andrzej b1da7a6856 Revert "add fully abstracted genrePicker"
This reverts commit 3a56b1f31e.
2024-06-17 12:20:52 +02:00
andrzej 9e01f1d4ad add fully abstracted genrePicker 2024-06-17 10:47:44 +02:00
andrzej a650bd7183 abstract genre checkbox components 2024-06-16 23:08:17 +02:00
andrzej 7a7cd39f6e improve genres popover 2024-06-16 17:16:43 +02:00
andrzej c0428e2312 add rudimentary popover for checkboxes 2024-06-14 22:44:13 +02:00
andrzej 6f97e243e2 make checkboxes submit correct data 2024-06-14 22:41:41 +02:00
andrzej 0c4b3167ce working shadcn date picker 2024-06-14 11:42:31 +02:00
andrzej 4cb077e7b9 radix select boxes working 2024-06-14 11:25:18 +02:00
andrzej 87ec3c99c4 still trying to get shadcn selects to work dynamically 2024-06-13 21:52:44 +02:00
andrzej 4f53932f9c add dynamically fetched checkboxes 2024-06-13 12:11:09 +02:00
andrzej 6e640b3181 trial shadcn form 2024-06-12 17:53:19 +02:00
andrzej 114d59e9ed build / import table 2024-06-12 17:15:22 +02:00
andrzej 9585c4843f install and setup shadcn 2024-06-12 14:59:31 +02:00
andrzej c0ec0b0940 install and set up tailwind 2024-06-12 14:48:37 +02:00
andrzej bbea849de9 move get functions to lib 2024-06-12 12:19:44 +02:00
andrzej 34a18cae54 add forms+ 2024-06-12 11:32:15 +02:00
andrzej 877fc08bd6 add createStory action 2024-06-11 19:21:14 +02:00
andrzej 43b75b53b8 add create story page 2024-06-11 19:14:30 +02:00
andrzej f186f32846 fix imports 2024-06-11 19:14:08 +02:00
andrzej 495d6e2311 rename db with .ts extension
(it turns out typescript/nextjs is buggy with mjs)
2024-06-11 19:13:37 +02:00
andrzej db26cb602c add lettercase function 2024-06-11 19:12:52 +02:00
andrzej 7d5540a5f9 attempt to fix imports 2024-06-11 17:17:01 +02:00
andrzej f1d53b93b6 prisma env 2024-06-11 15:37:41 +02:00
andrzej df0e037b52 first route 2024-06-11 15:37:22 +02:00
andrzej 2dbff21921 initial config 2024-06-11 15:37:14 +02:00
andrzej 0afe6dae3c import submissions db 2024-06-11 15:37:03 +02:00
andrzej 23bc45fb24 first route 2024-06-11 15:36:28 +02:00
andrzej a180d05382 setup prisma client 2024-06-11 15:36:12 +02:00
andrzej ed67cb9aa1 prisma initial setup 2024-06-11 15:35:56 +02:00
andrzej 2375a1fd58 Initial commit from Create Next App 2024-06-11 10:16:34 +02:00