Commit Graph

53 Commits

Author SHA1 Message Date
andrzej fdf05f2b4c add delete dialog 2024-06-19 23:21:51 +02:00
andrzej ec96a1e988 add inspect button 2024-06-19 22:11:09 +02:00
andrzej 6dc05d2610 better delete icon 2024-06-19 21:58:19 +02:00
andrzej d8a2f3df7e install badge 2024-06-19 21:53:42 +02:00
andrzej b891780881 fix post-delete revalidation 2024-06-19 21:53:36 +02:00
andrzej 525f716f16 partially implement del function 2024-06-19 19:46:30 +02:00
andrzej 7b68a7451e add deleteStory function, fix schema to allow it 2024-06-19 18:01:42 +02:00
andrzej f454f6739e clean up imports 2024-06-19 13:14:41 +02:00
andrzej 99b2fb9628 style table 2024-06-19 13:14:23 +02:00
andrzej 7b994ec06e add genre badges 2024-06-19 13:14:12 +02:00
andrzej 52a30ec141 normalize typing 2024-06-19 13:13:54 +02:00
andrzej 3a91fd7cb4 merge in laptop work
Merge branch 'main' of 192.168.0.184:andrzej/subman-nextjs
2024-06-19 12:40:06 +02:00
andrzej 6839c1c369 tweaks 2024-06-19 11:54:07 +02:00
andrzej 285cef524c 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 9583d0da16 add definablei, reusable filtering 2024-06-19 11:34:57 +02:00
andrzej b5b8d8ad09 add fetched data to story table 2024-06-19 11:33:53 +02:00
andrzej 13a9407caa include genres in getStory api call 2024-06-19 11:33:27 +02:00
andrzej 0eb09073ca db updates 2024-06-17 23:31:24 +02:00
andrzej de2c8991c6 add create server actions 2024-06-17 23:23:09 +02:00
andrzej fff436f87c 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 e7f0cf3fb6 delete test entries 2024-06-17 13:52:09 +02:00
andrzej 1f3655f14c add createStory server action 2024-06-17 13:51:24 +02:00
andrzej 6080037d83 add radix components to publication create form 2024-06-17 12:41:21 +02:00
andrzej 688c260f4b Revert "add fully abstracted genrePicker"
This reverts commit 3a56b1f31e.
2024-06-17 12:20:52 +02:00
andrzej 3a56b1f31e add fully abstracted genrePicker 2024-06-17 10:47:44 +02:00
andrzej 2d340983e6 abstract genre checkbox components 2024-06-16 23:08:17 +02:00
andrzej 3151236ca0 improve genres popover 2024-06-16 17:16:43 +02:00
andrzej d4d73750b3 add rudimentary popover for checkboxes 2024-06-14 22:44:13 +02:00
andrzej 5ad03054a9 make checkboxes submit correct data 2024-06-14 22:41:41 +02:00
andrzej 7539b8a577 working shadcn date picker 2024-06-14 11:42:31 +02:00
andrzej 02d111098d radix select boxes working 2024-06-14 11:25:18 +02:00
andrzej b604ed48da still trying to get shadcn selects to work dynamically 2024-06-13 21:52:44 +02:00
andrzej f503647469 add dynamically fetched checkboxes 2024-06-13 12:11:09 +02:00
andrzej f3e5233171 trial shadcn form 2024-06-12 17:53:19 +02:00
andrzej 47756280d9 build / import table 2024-06-12 17:15:22 +02:00
andrzej 58d1fd1ed4 install and setup shadcn 2024-06-12 14:59:31 +02:00
andrzej ce8b52cb87 install and set up tailwind 2024-06-12 14:48:37 +02:00
andrzej c3ae4721d4 move get functions to lib 2024-06-12 12:19:44 +02:00
andrzej 438599a530 add forms+ 2024-06-12 11:32:15 +02:00
andrzej 50409895c0 add createStory action 2024-06-11 19:21:14 +02:00
andrzej ed8e71694f add create story page 2024-06-11 19:14:30 +02:00
andrzej d54b8180ce fix imports 2024-06-11 19:14:08 +02:00
andrzej b36f0edfb1 rename db with .ts extension
(it turns out typescript/nextjs is buggy with mjs)
2024-06-11 19:13:37 +02:00
andrzej 25f8f728c9 add lettercase function 2024-06-11 19:12:52 +02:00
andrzej d1c69c9c15 attempt to fix imports 2024-06-11 17:17:01 +02:00
andrzej dd07c259ac 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