Commit Graph
71 Commits
Author SHA1 Message Date
Rotimi Best ad421acf8d feat: lesson sections - v1 (#431)
* add todo

* update sidebar with sections

* add course versioning

* fix db reset issue

* v1 of working sections feature

* remove
2024-08-14 10:27:37 +01:00
Rotimi Best 7428b21a09 feat: multiple choice question must all be correct before next question (#432) 2024-08-11 21:47:00 +01:00
Rotimi Best fc7963c8d6 chore: improve course settings 2024-08-11 10:43:51 +01:00
Rotimi Best 30a6193e3c feat: delete submission 2024-08-03 20:58:07 +01:00
Rotimi Best be26fb2f34 Revert "fix: can't grade self paced course"
This reverts commit af1b3e61a4.
2024-07-29 15:17:18 +01:00
Rotimi Best af1b3e61a4 fix: can't grade self paced course 2024-07-29 14:23:17 +01:00
Adeyemi AdetunjiandRotimi Best 72b58ed2c7 feat: add 4 certificate templates (#295)
* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

* translations fix

* - add documentation
- translation bug fix

* quick adjust

* PR Fixes

* add new line

* update docs

* checkpoint

* feat: redesign & addition of certificates

* text color update

* patterned width fix

* "student-name" class remove

* checkpoint

* PR Fix

* quick fix

* PR Fixes

* update certificate ready page for students

* PR Fixes

* quick cleanup

* move fetchCourses into .ts file

* feat: give students access to certificates only after completing course

* checkpoint

* height fix

* Merge branch 'main' of https://github.com/rotimi-best/classroomio into classroomio-issue-272

* Fix; merge PR Fix

* fix: width of plain & professional certs

* PR Fix

* feat: add translation

* handle error when trying to download a certificate

* add fetchExploreCourses

* fix: requested reviews

* review fixes checkpoint

* replace the certificate background

* height fix for patterned certififcates

* fix more bugs

* rename schema

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-07-21 03:02:33 +01:00
Dmytro 1f91299544 fix: add style for native select css (#403) 2024-07-19 06:00:52 +01:00
Smriti Doneria c26fe7f0de fix: lesson widget alignment on page (#396)
* fix

* fix

* fixed overlapping issue

* removed console logs

* removed extra line
2024-07-18 02:46:15 +01:00
Rotimi Best 90808d6a9a feat: show submissions for live classes 2024-07-17 10:56:31 +01:00
Smriti Doneria 9b67cba516 feat: Save new lesson on enter (#383)
* save functionily

* chnages made as requested

* changes

* changes final

* formatting fix

* new line
2024-07-11 08:52:56 +01:00
Rotimi BestandIniubong Obonguko 931ccb1a09 feat: lesson note version history (#374)
* chore: install diff package

* chore: add id to render component

* feat: implement language lesson version history

* chore: fix darkmode colors and use tailwind css

* chore: add screensize conditional

* refactor: list updating after data fetch

* change mode to view to prevent duplicate data being saved

* chore: remove raw text

* chore: db migration

* feat: properly format timestamp

* feat: add snackbar for success

* chore: group by minutes, use icons instead of texts for buttons

* docs: generate translations

* refactor

---------

Co-authored-by: Iniubong Obonguko <iniubongobonguko2018@gmail.com>
2024-06-30 04:47:15 +01:00
Rotimi Best c15918fff2 fix: invite 404 issue 2024-06-19 16:05:18 +01:00
Rotimi Best a7aeba1d80 chore: simplify course fetching 2024-06-16 05:23:16 +01:00
Rotimi Best 3b2893f7e8 chore: store lesson content in localstorage 2024-06-10 13:50:44 +01:00
Em_DevandRotimi Best b7cdce4236 feat: navigate to next/previous lesson (#352)
* prev and next button logic in place

* handled the edge case

* done

* updated the transation and the navigating function

* cleanup

* ease in animation, simplify disabled logic, avoid quick loader < 1s load time

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-06-08 08:04:21 +01:00
f3e0f9b7e2 feat: join course via QR code (#350)
* chore: install dependencies

* feat: create downloadable image component

* feat: update component design and add download qr button

* feat: update file name

* feat: increase border radius

* chore: add logo svg file

* refactor: move all logic to parent component

* feat: setup writeable store variable

* chore: fix ts error

* feat: setup download function in parent comp

* chore: swap out svelte/qr comp for js comp

* feat: download speed qr code improvements

* feat: add loading state to download button

* fix: responsive adjustments

* refactoring

---------

Co-authored-by: tunny17 <tvnji01@gmail.com>
Co-authored-by: Rotimi Best <best@classroomio.com>
2024-06-08 05:20:12 +01:00
Iniubong Obonguko a1b34fc224 chore: hide course grading toggle in settings (#338) 2024-05-28 13:52:45 +01:00
Rotimi Best 6fafa2fc80 fix: enable lesson cascade delete (#335) 2024-05-28 06:15:23 +01:00
Em_Dev 3bd749dbe5 fix: generate exercise with AI bug (#331) 2024-05-28 05:20:26 +01:00
Em_DevandRotimi Best fc0b91a493 chore: simplify grading for self paced course (#326)
* updated the grading flow for self paced course

* updated some logic and translations

* fix bug with newsfeed not opening for students and fix more bugs

* remove console

* add blog template route

* add doc page

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-05-25 05:50:14 +01:00
Rotimi Best 577937fda6 feat: restrict access to courses 2024-05-23 07:04:42 +01:00
Em_DevandRotimi Best 57e3b63588 feat: Auto move to the next question (#324)
* move to the next question

* remove console

* minor changes

* updated the confetti timeout

* updated the button

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-05-23 06:17:35 +01:00
Em_DevandRotimi Best 49d8539be9 feat: course types - self paced and live class (#309)
* working on the course type

* trying to mark it persist

* almost done here

* fixed sendig emtpy options bug

* created migration file

* created migration file

* made updates based on PR review

* merge

* update course type card

* add redirect logic with classroomio.com/new

* make new course modal only open/close with url

* feat: page active state (#315)

* finished the active link state

* updated the active link state based on review

* simplify code

---------

Co-authored-by: Rotimi Best <best@classroomio.com>

* add type to course card

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-05-21 00:14:47 +01:00
Em_DevandRotimi Best b9bb568f98 fix: empty lesson title bug (#314)
* finished the lesson title bug

* made chnages based on review

* Update +page.svelte

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-05-20 17:26:43 +01:00
Em_DevandRotimi Best 73eb0ad4b1 feat: customize the LMS from dashboard (#304)
* Done with the customization of the LMS task

* generated custom_lms migration file

* updated the migration file

* copy improvements

* update wording

* made updates based on reviews,i hope i didnt miss anything

* updated the translations and migration files

* refactoring

* disabled improvements for apps

* more improvements

* more custom improvements

* pr refactoring

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-05-17 01:28:59 +01:00
Em_DevandRotimi Best e243564113 feat: grade exercise with AI (#296)
* working on the UI of the grading

* working on the grading function of the radio and checkboxes

* ai grading fully implemented with dummy functions for generating scores

* working on the openai response

* working on the openai response

* finished with the ai_grading

* finished with the ai_grading

* creating new migration file

* working on reviews

* updated the translations

* improvements

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-05-13 19:35:06 +01:00
Adeyemi Adetunji 0657a41a5d fix: missing translations (#293) 2024-05-01 07:38:23 +01:00
Rotimi Best 863ec807bf chore: lesson ux improvements 2024-04-27 07:05:09 +01:00
Adeyemi AdetunjiandRotimi Best 3a5d13ea41 docs: how to translate dashboard (#292)
* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

* translations fix

* - add documentation
- translation bug fix

* quick adjust

* PR Fixes

* add new line

* update docs

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-26 17:54:11 +01:00
Rotimi Best bd94594b56 feat: students can view org landing page from LMS 2024-04-25 06:51:39 +01:00
Adeyemi AdetunjiandRotimi Best 648e15d88d feat: auto generate translations (#288)
* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-24 23:01:20 +01:00
Em_DevandRotimi Best 5680ca45fa chore: new logo (#268)
* updated the logo

* used a higer resolution of the 512 logo

* used a higer resolution of the 512 logo

* remove logo svg

* update logos

* stop cyprus

* delete unused files

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-22 18:25:14 +01:00
Rotimi Best a95be6d620 ci: cypres test setup(#274)
* fix: font size broken

* add first cypress test

* save onboarding language

* load language

* get first test to work

* update command

* install pnpm

* update workflow

* install

* update

* test

* increase timeout

* another update

* update 2

* update 3

* upsdada 4

* sfgsfgf 5

* add def supabase url

* fix supabase issue

* add ci

* fix ci

* update .env.example

* update port

* tired

* prepare

* preview

* this is it

* ?????

* 99999900

* fix log issue

* ci

* nkkh

* =====

* 200000
2024-04-20 04:39:16 +01:00
Rotimi Best 70a8644bb5 fix: proper label when translation for lesson not found 2024-04-19 06:26:13 +01:00
Adeyemi AdetunjiandRotimi Best d75e2f258e feat: multi language support (#254)
* feat: multitranslational support

* - completion of settings page
- completion of sidebar

* sidebar rerendering bug fix

* completion of the lesson navigation & materials page

* completion of the course navigation

* completion of requested languages

* - Implementation of Language Picker
- Rename Bug Fixes

* checkpoint save

* - addition of the language picker to the onboarding.
- addition of the language switcher for the lesson notes.

* merge completion

* initialization of the new branch

* add transition.svelte file

* lesson note bug fix

* feat: add translation migration

* completion of translation

* fix height issue of dropdown

* refactoring

* fix: improve code with LOCALE from db

* finally get it fully functional

* connect with AI

* backward compatibility for lesson note

* preserve old content, when generating AI content

* undo translations in upgrade modal

* fix duplicate key issue from codacy trigger

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-19 05:45:48 +01:00
Adeyemi Adetunji 31b0dd887e feat: close modal on submit (#265) 2024-04-17 08:55:20 +01:00
Em_DevandRotimi Best 10caa68208 fix: Made the text input of course description in certificate visible (#261)
* made the text input of the course description on dark mode visible

* updated  the classname for the text input

* fix: bgcolor of textinput in certificates

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-16 09:01:39 +01:00
Em_DevandRotimi Best 3fe15e6633 feat: remove defer (#243)
* working on moving the email logic to the backend

* Moved nodemailer to the backend

* uninstall defer

* updated relative import path in tsconfig

* working on the zod validation

* Merge branch 'main' into send-email

* fixed the zod import issue

* fixed the zod import issue

* updated the env example files

* docs: update README.md (#249)

* fix: handle catex error

* chore: remove fly.io github action

* Update README.md

Updated the Readme to reflect changes made to the emailing flow

---------

Co-authored-by: Rotimi Best <best@classroomio.com>

* chore: wrapp up email sending

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-12 04:57:19 +01:00
Em_Dev 75ad73b97f fix: align emojis (#255) 2024-04-11 21:34:04 +01:00
Em_DevandRotimi Best 6c12411dca feat: move landing page videos to cloudfare (#253)
* moved videos to cloudfare

* add custom domain

* add border to iframe

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-04-11 21:25:29 +01:00
Rotimi Best 4ef1d7bf6c feat: hide other course participants from students 2024-04-11 10:14:37 +01:00
Rotimi Best b7a51aeee7 fix: button bugs 2024-04-10 23:24:59 +01:00
Rotimi Bestandemmanuel fcd0bcc656 feat: dashboard billing (#193)
* feat: move plans into sharable json

* remove unused code

* update pnpm lock

* update plans.json

* implement early adopter pricing

* docs: update meta title and description

* Finished the UI for upgrading plans

* Updated the pricing plans

* Updated the cards ui

* use relative import

* improve styling of upgrade plan card

* styling improvements, lemonsqueezy setup

* trigger lemonsqueezy payment and add webhook

* update pnpm lock

* add logout route

* feat: complete billing functionality

* generate lock file

* make crypto false on browser

* feat: adding upgrade prompts to org

* chore: add upgrade icon to upload video

* feat: add upgrade prompt to certificate and settings

* feat: implement onboarding setup page (#229)

* working on the onboarding setup

* working on the onboarding page

* Almost done with the onboarding UI

* finished the UI of the onBoarding setup

* finished the UI of the onBoarding setup

* Implementing the functions to carryout the logic of updating the UI onmount if a user has carried out a certain step or not

* Implementing the functions to carryout the logic of updating the UI onmount if a user has carried out a certain step or not

* making some chnages

* finished the onBoarding task

* updated some logic

* Removed the uneeded svg from the static folder

* fixed isCoursePublished not returning a boolean

* improved the setup link protection

* chore: make menuItems reactive

* improve formatting

* format supabase queries

---------

Co-authored-by: Rotimi Best <best@classroomio.com>

* revamp setup

* improve the upgrade experience

* migration

* feat: add lemonsqueezy customer portal

---------

Co-authored-by: emmanuel <chifez1@gmail.com>
2024-04-07 06:08:34 +01:00
Rotimi Best 136e057954 feat: support embed of generic links 2024-04-04 14:38:18 +01:00
Rotimi Best e46c9bac97 fix: handle slide url in null state 2024-04-02 15:53:59 +01:00
Rotimi Best 7f00a05adf feat: support canva presentation in a lesson (#237) 2024-04-02 15:32:55 +01:00
Em_DevandRotimi Best 23b3b5f555 feat: stream video upload progress (#210)
* working on the streaming progress

* connected video upload progress from frontend to server to bucket

* cleanup

* cleanup

* added the progress bar

* finished the supabase upload-progress using supabse realtime

* use only progress bar

* updating the helpertext

* Merge branch 'upload-progress' of https://github.com/rotimi-best/classroomio into upload-progress

* updated the supabase import

* Update LocalVideo.svelte

* update lock file

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-03-28 10:42:49 +01:00
Adeyemi AdetunjiandRotimi Best 82eee93417 feat: Trigger add modal in People page via url (#223)
* feat add

* code refactor

* Update +page.svelte

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
2024-03-27 14:37:48 +01:00
Em_Dev ef38d00ea5 feat: Validate newsfeed post and comment with zod (#221)
* added Zod validation to the newsfeed post and comment

* updated the error message
2024-03-27 10:51:39 +01:00