802 Commits

Author SHA1 Message Date
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
Austin Kelsay
164b17867c
Update src/components/content/courses/MobileCourseDetails.js
fix anchor tag

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:45 -05:00
Austin Kelsay
d9e68ea18e
Update src/pages/course/[slug]/index.js
Fix tab condition

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:45 -05:00
austinkelsay
dae3ed5ad9
seperate mobile and desktop components for CourseDetails 2025-04-28 10:27:44 -05:00
austinkelsay
b3fae3f557
polishing some final styles 2025-04-28 10:27:44 -05:00
austinkelsay
d3bf9cc045
Replaced all markdown displays with react-markdown and gituhb-markdown-css styles 2025-04-28 10:27:44 -05:00
austinkelsay
0279140011
styling improvements on course header and course tab 2025-04-28 10:27:44 -05:00
austinkelsay
a924cc9436
added course header with back button, integrated into top nav when on course pages, polishing course and lesson pages styles 2025-04-28 10:27:43 -05:00
austinkelsay
b50aa9286a
massive improvements to course and lesson full screen and mobile layouts 2025-04-28 10:27:43 -05:00
austinkelsay
874d903020
Major updates on course and lesson layout with tabs 2025-04-28 10:27:43 -05:00
austinkelsay
a3e8cda6f4
course view tabs for mobile view sidebar for full screen 2025-04-28 10:27:43 -05:00
austinkelsay
54ec3df1d7
Course page now has sidebar for lessons selection, basic tab menu on mobile to go to lessons tab or content tab 2025-04-28 10:27:39 -05:00
Austin Kelsay
e7d8677806
Merge pull request #69 from AustinKelsay/bugfix-search-keyword-matching
Bugfix search keyword matching
2025-04-27 14:20:49 -07:00
austinkelsay
dd58859dd1
add naddr support to search results navigation 2025-04-27 14:48:52 -05:00
Austin Kelsay
1e380b8dc0
Update src/components/content/dropdowns/MessageDropdownItem.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-27 13:28:24 -05:00