Commit Graph
68 Commits
Author SHA1 Message Date
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 <[email protected]>
2024-04-26 17:54:11 +01:00
Rotimi Best c4c3f3d5d5 chore: make setting locahost cookie easier 2024-04-25 07:22:46 +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 <[email protected]>
2024-04-24 23:01:20 +01:00
Rotimi Best d877eb206a fix: too many redirects 2024-04-21 20:32:47 +01:00
Rotimi Best 00e7352b49 feat: use faster senja 2024-04-21 00:28:53 +01:00
Em_DevandRotimi Best ec30e076bc feat: list view on courses page (#269)
* working on the list view

* working on the list view navigation

* worked on the list view for the course page

* worked on the list view for the course page

* clean up

* rename store

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-04-20 14:40:44 +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 7f37079591 fix: label of integration on LMS 2024-04-19 06:39:12 +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 <[email protected]>
2024-04-19 05:45:48 +01:00
Adeyemi AdetunjiandRotimi Best 1277bcbfc6 feat: students should move to next lesson on click go to lesson (#230)
* completion

* completion

* PR Fixes

* PR Fixes

* fix: progress bug on home page

* chore: fix lesson completion issue

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-04-16 08:51:53 +01:00
Adeyemi Adetunji db38756cbf fix: dropdown squize height in community edit mode 2024-04-15 21:42:06 +01:00
Rotimi Best 1bc3f530df fix: setup broken on mobile 2024-04-12 23:53:34 +01:00
Rotimi Best 60ea5fb00a chore: rename 'nodemailer' to 'mail' 2024-04-12 05:37:50 +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 <[email protected]>

* chore: wrapp up email sending

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-04-12 04:57:19 +01:00
Rotimi Best 8ad930d1a3 fix: p tag on email 2024-04-08 19:58:32 +01:00
Em_DevandRotimi Best 5d7593e91e feat: add classroomio badge (#239)
* working on the classroomio badge

* still working on the classroomio badge

* updated the classroomio badge

* making some changes

* implemented the animation and some other updates

* chore: improve styling

* increase font weigth

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-04-08 18:13:57 +01:00
Rotimi Best 9311a21de8 feat: add posthog student signup 2024-04-07 22:01:36 +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 <[email protected]>

* revamp setup

* improve the upgrade experience

* migration

* feat: add lemonsqueezy customer portal

---------

Co-authored-by: emmanuel <[email protected]>
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 c14f73a47c feat: add math equation support in Tinymce (#233) 2024-04-02 15:21:49 +01:00
Rotimi Best 41462b8889 chore: Redirect to landing page if org not found (#235)
* Update +page.svelte

* add redirect route
2024-04-02 07:02:24 +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 <[email protected]>
2024-03-27 14:37:48 +01:00
Rotimi Best f890bb4bbb chore: remove senja notification on login page 2024-03-26 13:41:40 +01:00
Em_DevandRotimi Best bd905b580a feat: verify users email (#215)
* worked on the email verification

* worked on the email verification

* fixed the emailing issue and the supabase updating issue

* chore: add timer to resend, add supabase.server, enforce unique email

* chore: remove nodemailer logger

* remove async

* remove disposable email verification

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-03-22 06:30:24 +01:00
Rotimi Best 5a566cbb4f chore: add senja to dashboard login + validate empty newsfeed comment 2024-03-21 04:32:15 +01:00
Rotimi Best fea7e47784 chore: lesson card buggy behavior and refactor hero (#197)
* chore: lesson card buggy behavior and refactor hero

* update landing page hero
2024-03-08 10:06:35 +00:00
Rotimi Best 03e47d9aee fix: student course payment 4010 error 2024-03-06 22:36:49 +01:00
Rotimi Best 2073750baf fix: mark onboarding fields as required 2024-03-02 00:33:28 +01:00
Em_DevandRotimi Best 805575356d fix: move feed state to a store and create feed loading UI (#189)
* style: Improved font size of the answers in the FAQ section of the landing page

* feat: move all email to defer queue (#186)

* fix: use relative part for defer func #185

* chore: move sendEmail into defer

* fix: remove anon function to defer #185

* feat: implement batch email sending with defer.run #185

* chore: debug sendEmails #185

* chore: add robots.txt

* chore: use promise.all in sendEmails

* chore: debug defer sendEmails #185

* chore: try defer sendEmail without loop #105

* chore: comment code

* chore: change loop style #185

* chore: use promise.all for vercel edge #185

* Moved the feed state to a store and added a loader

* feat: add await to sendEmailNotification #185

* chore: use sendEmails #185

* fix: debug sendEmails #185

* fix: email not updating in LMS

* fix: remove early return in sendEmails #185

* fixed the edit bug and moved the loader state to the file

* added a loading state for the post button

* change isDisabled to isLoading

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-03-01 23:40:20 +01:00
Rotimi Best ff524fca27 feat: move all email to defer queue #185
fix: use relative part for defer func #185

chore: move sendEmail into defer

fix: remove anon function to defer #185

feat: implement batch email sending with defer.run #185

chore: debug sendEmails #185

chore: add robots.txt

chore: use promise.all in sendEmails

chore: debug defer sendEmails #185

chore: try defer sendEmail without loop #105

chore: comment code

chore: change loop style #185

chore: use promise.all for vercel edge #185

feat: add await to sendEmailNotification #185

chore: use sendEmails #185

fix: debug sendEmails #185

fix: email not updating in LMS

fix: remove early return in sendEmails #185
2024-03-01 14:10:40 +01:00
5cdb74a6b5 feat: course news feed (#136)
* style: Improved font size of the answers in the FAQ section of the landing page

* woking on the anouncement page

* working on the anouncement feature

* fixed some bugs in the emoji and comment

* minor cleanup

* Delete .github/workflows/test-pull-request.yml

This commit was stashed but it seems i accidentally applied on this commit

* updated the navicon for the anouncement

* added role level security

* still working on the emoji click

* everything works now

* cleaned up the code

* cleaned up the code

* cleaned up the code

* cleaned up the code

* refined the formatTime function using dayjs

* refined the formatTime function using dayjs

* typed,the code,created a migration file

* increase editor width/height

* added the confirmation modal and also the edit functionality for a improve UX

* some cleanup

* handle edge case,only tutor or admin can edit or delete

* improved the fetchNews function and also added role level access for deleting the comment

* chore: refactor code

* clean up

* feat: add pinned feed

* feat: remove overview on sidebar

* fix formatting of todo

* feat: prevent async block when sending email

* feat: notify teacher and student of new post/comment

* refactoring

---------

Co-authored-by: Rotimi Best <[email protected]>
Co-authored-by: Rotimi Best <[email protected]>
2024-02-28 03:00:31 +01:00
Rotimi Best 7f24da00a5 chore: improve style of lesson card (#177)
* chore: reduce size of lesson card based off customer review

* more styling improvements
2024-02-21 18:59:10 +01:00
Adeyemi AdetunjiandRotimi Best 13ab070178 feat: filter community questions by course (#157)
* checkpoint save

* checkpoint

* feat: course dropdown

* added comments

* feat: generate db migration

* fixes

* PR Fixes

* PR Fixes

* refactoring

* show empty state

* improve styling

* fix styling issue

* PR Fixes

* PR Fixes

* PR Fixes

* dropdown for edit mode

* test db schema change on staging

* fix: change course_id to courseId

* fix theming issue

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-02-13 22:17:15 +01:00
Rotimi Best 93bda000f9 fix: meta tag on docs are broken (#162)
* feat: db mock data

* update meta tags

* feat: update seed file

* undo sql change
2024-02-12 11:26:37 +01:00
Rotimi Best dd3c22d12a docs: todo of v1 of classroomio 2024-02-11 20:09:37 +01:00
Rotimi Best 7ee12e90e4 fix: redirect docs in new page, handle 404 vercel url 2024-02-02 08:25:15 +01:00
Adeyemi AdetunjiandRotimi Best cadfa81913 feat: add icon to create a new lesson from side nav (#145)
* feat: classroomio-issue-143

* issue 143: remove bg-color from the add icon

* fix: hide the + icon for student

---------

Co-authored-by: Rotimi Best <[email protected]>
2024-02-01 20:18:03 +01:00
Rotimi Best d8668270de fix: student unable to view exercise (#132) 2024-01-20 10:17:16 +01:00
Dunsin 797c77868f feat(page): hide email of people in a course (#123) 2023-12-24 11:09:22 +01:00
Nana KandRotimi Best cad8817fed feat: verify if user's email is disposable on sign up (#117)
* fix: Corrected "Stuffs" to "Stuff" on the landing page

* fix: Corrected "Stuffs" to "Stuff" on the landing page

* fix: Corrected Success Messages on the dashbaord

* feat: Added Verification to check disposable emails

* Update apps/dashboard/src/routes/signup/+page.svelte

Co-authored-by: Rotimi Best <[email protected]>

* Update apps/dashboard/src/routes/signup/+page.svelte

Co-authored-by: Rotimi Best <[email protected]>

---------

Co-authored-by: Rotimi Best <[email protected]>
2023-12-20 15:08:52 +03:00
Rotimi Best 4b2e58b1de fix: show notification on error fetching marks #116 2023-12-19 21:10:21 +03:00
Rotimi Best cdd4f65d79 chore: prioritize postcss colors + improve people responsive style 2023-12-19 21:07:08 +03:00
Rotimi Best e686638598 feat: show mark as complete only for students 2023-12-19 17:39:11 +03:00
Rotimi Best 845b87b21f chore: update posthug and change all 301 to 307 2023-12-14 22:41:16 +03:00
Rotimi Best 5f2037101b debug: remove redirect if no token found 2023-12-14 22:19:55 +03:00
Rotimi Best b420105ddf feat: implement forward domain for gauth 2023-12-14 12:07:27 +03:00
Rotimi Best 50b9389514 docs: add docs for student dashboard + signup images 2023-12-14 10:34:28 +03:00
Rotimi Best 4851523b84 chore: remove unused code 2023-12-13 14:47:05 +03:00
Rotimi Best ed5e6fab3b chore: show loader when deleting a question or comment 2023-12-13 14:28:10 +03:00