176 Commits

Author SHA1 Message Date
austinkelsay
61a78f4b28 Course publishing works for free, paid, drafts, published and any combination of them 2024-08-25 12:12:55 -05:00
austinkelsay
8bd28d1a6a Edit course form fixed (I think) 2024-08-24 18:00:22 -05:00
austinkelsay
15738c955e Copy fix and fix linking to crrect content in UserContent items on 'open' 2024-08-24 17:21:35 -05:00
austinkelsay
347ca659d3 Add additional links to drafts and published resources, updated forms and rendering accordingly 2024-08-24 17:10:00 -05:00
austinkelsay
b2d9d2bbe6 Improvements to courseform ui, fix draftcourse delete 2024-08-24 15:55:59 -05:00
austinkelsay
128234c7ad Huge update with lessons and draftLessons and refactoring course forms, models, and api endpoints to account for these changes 2024-08-23 20:21:29 -05:00
austinkelsay
1165c6d7c8 Published and unpublished tags on course content 2024-08-23 16:52:47 -05:00
austinkelsay
4e4904bbf8 Reformat contentOptions in lessonSelector in CourseForm 2024-08-22 17:57:46 -05:00
austinkelsay
e212f2f4f0 relation between drafts and courseDrafts 2024-08-21 22:33:19 -05:00
austinkelsay
8555895617 New course form started, fixed usDraftsQuery to only grab drafts and not coursedrafts 2024-08-21 22:03:49 -05:00
austinkelsay
ff9efe6fc9 Course publishing with partial drafts barely works 2024-08-18 17:50:54 -05:00
austinkelsay
d1c121e6e8 Allow both drafts and published resources to make it into course draft, seperated selectedContentItem in course form into its own component 2024-08-18 14:45:51 -05:00
austinkelsay
054adf6869 Improved payment buttons 2024-08-17 16:29:37 -05:00
austinkelsay
374bef5a51 Segregate paid resources with paid courses and vice versa, fix paid field on workshop 2024-08-17 12:56:27 -05:00
austinkelsay
cee1679a8b Paid course creation, got started on rendering paid course details 2024-08-16 18:00:46 -05:00
austinkelsay
4232c1963b Improvements to course details 2024-08-16 17:08:35 -05:00
austinkelsay
b8b10907bb Improved draftCourses schema and relations, can publish draft course in new schema, can edit draft course and lessons 2024-08-16 11:40:50 -05:00
austinkelsay
14ead7b35c Progress on course edit flow, need to reconcile courseId with draftcourses relation 2024-08-14 18:09:08 -05:00
austinkelsay
9046bce91f More progress on course editing 2024-08-13 23:15:40 -05:00
austinkelsay
f9bcfef235 Progress on course editing 2024-08-13 22:59:00 -05:00
austinkelsay
5a882bc06b Update ndk context to not initiate signer, add purchasedListItem for /profile data table 2024-08-13 16:28:25 -05:00
austinkelsay
b937dd2507 Better zap subscriptions 2024-08-13 14:42:36 -05:00
austinkelsay
a85f0505d2 Moved resourceDetails with payment flow into it's own component, cleaned up a bit 2024-08-13 13:19:22 -05:00
austinkelsay
7808a88258 Payment flow for resources works 2024-08-12 17:27:47 -05:00
austinkelsay
573f560f28 Progress on payment flow, added purchases endpoint 2024-08-11 19:10:08 -05:00
austinkelsay
42a9d243ca Start of individual content payment flow 2024-08-09 19:00:31 -05:00
austinkelsay
b953b76785 A lotta good stuff 2024-08-09 14:28:57 -05:00
austinkelsay
80edbf0905 A bunch of good stuff 2024-08-08 16:29:16 -05:00
austinkelsay
fea5a7b76c remove usLogin 2024-08-07 17:17:51 -05:00
austinkelsay
19e0a03473 JWT in place 2024-08-07 17:06:53 -05:00
austinkelsay
d1eaae6fa1 Removed local storage and using next-auth with session for login and authentication 2024-08-07 16:02:13 -05:00
austinkelsay
658cfe31a9 Completely removed useNostr hook, using NDK now 2024-08-06 19:52:06 -05:00
austinkelsay
7b69ccfb66 Fixing up course display, course details and lesson details under courses 2024-08-06 15:50:19 -05:00
austinkelsay
b61e927c0c Improvements to profile pge and all user content views on profile 2024-08-06 14:50:32 -05:00
austinkelsay
aa60c23611 Improvements to zaps zap loading and spinner styles 2024-08-05 19:45:26 -05:00
austinkelsay
e265d1ea88 Queries are near perfect, also quality of life improvements 2024-08-05 17:27:19 -05:00
austinkelsay
e2181722e3 Fix loading states for carousels and zaps, reorganized nostrQueries, added zap subscription hook for details 2024-08-05 15:25:04 -05:00
austinkelsay
c5eb71e4b8 Fixed zaps, keeping open subscription 2024-08-04 19:00:26 -05:00
austinkelsay
829d974675 Need to get better at pulling in all zaps 2024-08-04 18:16:56 -05:00
austinkelsay
eaad977677 Zaps are implemented but still fickle, added to details page 2024-08-04 18:00:59 -05:00
austinkelsay
4b0476c509 Implemented ndk with tanstack query for courses resources and workshops, and zaps is mostly working 2024-08-04 17:02:34 -05:00
austinkelsay
9a1694dc74 Nostr queries working for courses resources and workshops 2024-08-03 22:33:54 -05:00
austinkelsay
ff6b6bbc2c Add nostr queries hook with tanstack, works with workshops, need to fix resources and courses 2024-08-03 13:42:46 -05:00
austinkelsay
c622a15b89 Revert 2024-08-02 13:56:05 -05:00
austinkelsay
2e415a2524 Figuring out paid publish flow 2024-08-02 13:52:01 -05:00
Austin Kelsay
0f946bf821 Create file src/hooks/useResources.js 2024-08-02 13:50:48 -05:00
Austin Kelsay
83d847ab0c Create file src/hooks/useCourses.js 2024-08-02 13:50:43 -05:00
Austin Kelsay
a12783270f Add 1 words in package.json 2024-08-02 13:50:37 -05:00
austinkelsay
1a72532a4f Cleaning up course display and zap displays 2024-08-01 17:10:43 -05:00
austinkelsay
8d4c9aaa83 handle no avatar 2024-08-01 16:31:52 -05:00