816 Commits

Author SHA1 Message Date
austinkelsay
014d438414
locked content state for unauthorized course lesson 2025-05-13 11:22:26 -05:00
Austin Kelsay
6b35da2333
Merge pull request #73 from AustinKelsay/bugfix/course-sidebar-spacing-glitch
fix spacing and animation again whoops
2025-05-12 14:19:25 -05:00
austinkelsay
113fb787d5
fix spacing and animation again whoops 2025-05-12 14:12:19 -05:00
Austin Kelsay
514eeb5126
Merge pull request #72 from AustinKelsay/bugfix/course-sidebar-spacing-glitch
remove empty space when sidebar closed, fix transition animation
2025-05-12 12:53:44 -05:00
austinkelsay
bc8e7f7ef1
remove commented out css 2025-05-12 12:51:51 -05:00
austinkelsay
a0c53e9d5a
remove empty space when sidebar closed, fix transition animation 2025-05-12 12:47:48 -05:00
Austin Kelsay
e20bf4e961
Merge pull request #71 from AustinKelsay/refactor/courses-cleanup
Refactor/courses cleanup
2025-05-12 12:24:26 -05:00
austinkelsay
c995048ddd
fix bottom bar margin when present 2025-05-12 12:09:01 -05:00
austinkelsay
8b6a7c39e7
remove test account from config 2025-05-12 11:58:29 -05:00
austinkelsay
403948f7b2
fix for memory leak 2025-05-12 11:17:57 -05:00
austinkelsay
ccda05df96
deduplicate course tab logic, add pure useCourseTabsState, and sync tab state with URL 2025-05-12 10:07:50 -05:00
austinkelsay
5a79523ba0
clean up decryption and retry timers on unmount to prevent memory leaks 2025-05-12 10:07:47 -05:00
Austin Kelsay
bac65c0dd3
Update src/hooks/courses/useCourseData.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:44:29 -05:00
Austin Kelsay
f8bd1ddb43
Update src/hooks/courses/useCoursePayment.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:36:43 -05:00
austinkelsay
44929d54b9
buffer import to account for polyfill, remove unused imports 2025-05-12 09:31:32 -05:00
Austin Kelsay
cfac21a666
Update src/components/content/courses/tabs/CourseOverview.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:30:21 -05:00
Austin Kelsay
cfefabfcdf
Update src/hooks/courses/useCourseTabs.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:29:35 -05:00
austinkelsay
9bd0c0877d
fix completed lesson state for all lessons in sidebar 2025-05-12 08:20:02 -05:00
austinkelsay
e3317f870a
smoother course navigation 2025-05-11 16:14:15 -05:00
austinkelsay
7a805f0988
implement generic markdown input form for content 2025-05-11 15:43:53 -05:00
austinkelsay
027bf28e2f
improve course page architecture with custom hooks and components 2025-05-11 14:07:55 -05:00
austinkelsay
51cd1e4d97
useCourseData into reusable hooks 2025-05-11 12:58:37 -05:00
austinkelsay
045418397c
extract course logic into reusable hooks 2025-05-11 12:46:25 -05:00
austinkelsay
f526913f30
course decryption logic in its own hook 2025-05-11 11:14:54 -05:00
Austin Kelsay
c73d6eb8bb
Merge pull request #70 from AustinKelsay/bugfix/course-author-view
refactor for recalling /decrypt on lesson change
2025-05-10 17:10:38 -05:00
austinkelsay
1aed72ab78
remove test pubkey from config 2025-05-10 17:08:04 -05:00
austinkelsay
1e9e9471b7
cancel in-flight decryption requests on timeout 2025-05-10 17:04:39 -05:00
austinkelsay
f0f5b54768
use per-content promise map for concurrent decryption 2025-05-10 17:00:10 -05:00
austinkelsay
c54785353e
add retry logic for lesson decryption with timeout handling 2025-05-10 16:56:40 -05:00
austinkelsay
333cb30e31
refactor for recalling /decrypt on lesson change 2025-05-05 18:51:17 -05:00
Austin Kelsay
c72ce2d8ad
Merge pull request #64 from AustinKelsay/refactor/course-and-lesson-pages
Refactor/course and lesson pages
2025-04-30 18:51:26 -05:00
austinkelsay
14d63d7240
remove duplicate deduping 2025-04-28 17:21:00 -05:00
austinkelsay
fac14d5b77
fix lesson parsing on course page, also fetches all lessons in one query now 2025-04-28 13:28:39 -05:00
austinkelsay
cc86708b6a
cleanup 2025-04-28 10:27:48 -05:00
austinkelsay
156e2ffc7b
clean up course tabs, unify logic 2025-04-28 10:27:48 -05:00
Austin Kelsay
f3d667a0ba
Update src/pages/course/[slug]/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:48 -05:00
austinkelsay
176a58d42d
cleanup 2025-04-28 10:27:48 -05:00
Austin Kelsay
8c9d288dff
Update src/components/content/courses/DesktopCourseDetails.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:47 -05:00
austinkelsay
b5b94e934a
fix tab menu styles, remove test account pubkey from config 2025-04-28 10:27:47 -05:00
austinkelsay
06780ffaa5
Add error toast for missing naddress in course slugs 2025-04-28 10:27:47 -05:00
Austin Kelsay
4f093b9e2c
Update src/pages/course/[slug]/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:47 -05:00
Austin Kelsay
9f784f3984
Update src/components/content/courses/DesktopCourseDetails.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:47 -05:00
Austin Kelsay
c67706dd3e
Update src/components/content/courses/DesktopCourseDetails.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:46 -05:00
austinkelsay
6b30d2cce7
styling fixes, guard against edge cases in course handling, guard against invalid slug in navbar 2025-04-28 10:27:46 -05:00
austinkelsay
42abbabf9d
fix comments on course tab 2025-04-28 10:27:46 -05:00
austinkelsay
2485235572
Clean up unused imports 2025-04-28 10:27:46 -05:00
austinkelsay
ad25f2454d
Fix sidebar visibility state management to maintain single source of truth 2025-04-28 10:27:46 -05:00
austinkelsay
b9d05f35e7
remove uiw-react-markdown-preview, clean up dep errors 2025-04-28 10:27:45 -05:00
austinkelsay
c3175321cb
add keyboard navigation to course tabs 2025-04-28 10:27:45 -05:00
austinkelsay
6a46480300
Remove testing admin pubkey from config 2025-04-28 10:27:45 -05:00