Rotimi Best
24741644d6
update output css
2025-11-21 12:20:02 +01:00
Rotimi Best
2145782385
Merge branch 'main' of https://github.com/classroomio/classroomio into feat/release-v2
2025-11-08 20:23:52 +01:00
Rotimi Best
ba47b06647
Merge branch 'main' of https://github.com/classroomio/classroomio into feat/release-v2
2025-11-08 20:22:53 +01:00
Rotimi Best
b8c15eabe3
chore: remove debug console log from app.svelte
...
Removed console log for global store in app.svelte.
2025-11-08 20:20:38 +01:00
Rotimi Best
34e5cab733
chore: [FIXED] clean up console logs in layout and pricing components, add context prompt for ClassroomIO
...
This point I have fixed 2 major issues
1. After signing in with Google auth, join a course and going to the course, when you click the back button in the page nav, it takes you to admin instead of lms
2. When you open a course landing page, click enroll, it redirects to 404 instead of the invite page.
2025-11-08 18:47:53 +01:00
Rotimi Best
b3d5f291f0
chore: fix issue of isOrgSite being false after google auth
2025-11-08 18:27:00 +01:00
Rotimi Best
aa42eb9c1f
chore: reorder layout setup and debug org set after login
2025-11-08 18:22:41 +01:00
Rotimi Best
b783940cee
fix: keep org store after logout
...
This fix tackled a bug where if I logged out, go to org landing page, open a course and enrol then it gets redirected to a 404 page because `$currentOrg.siteName` is undefined.
2025-11-08 17:58:03 +01:00
Rotimi Best
93db0c97e8
chore: use hasSession to check if auth token exists
2025-11-08 17:30:22 +01:00
Rotimi Best
0f433cfa93
chore: debug enrollment on lms
2025-11-08 06:11:44 +01:00
Rotimi Best
9e4609dc7f
fix: redirect to login if no session on invite page
2025-11-08 05:51:09 +01:00
Rotimi Best
3d64e25b89
chore: debug lms detection on client side
2025-11-08 05:34:17 +01:00
Rotimi Best
7715834566
chore: debug getSubdomain
2025-11-08 05:22:38 +01:00
Rotimi Best
291e233700
chore: enable auto redirect on layout mount
...
The use case for this is that if a person went from course page to invite page, and isn't authenticated then the user should be redirected to login page with a redirect query param
2025-11-08 05:02:17 +01:00
Rotimi Best
570b809111
chore: debug join course
2025-11-08 04:52:42 +01:00
Rotimi Best
f77258ef23
fix: update path to tsconfigs
2025-11-01 20:52:29 +01:00
Rotimi Best
4052a22961
fix: api alias path
2025-11-01 16:26:34 +01:00
Rotimi Best and tunny17
f5a4156c8b
feat: migrate dashboard to svelte 5 ( #577 )
...
* chore: migration to SvelteKit 2
* stage 1: migrate to svelte 5 and fix rerendering issues
* stage 2: fix more $: reactivity across dashboard
* fix merge conflicts
* chore: migrate code in main to svelte 5
* chore: update preventDefault
* chore: simplify tsconfig and remove unused mobileMenuRef in MobileMenu.svelte
* chore: enforce .ts across dashboard
* rename from classroomio-com to website
* stage-3: Replace carbon icon svelte with lucide icon
* update lock file
* chore: finish icon replacement
* fix: settings and setup page multiple rerender
* stage 3: More icon and rerendering fixes
* feat: checkpoint
* feat: update editor
* [not working] connect everything with ui build
* storybook + ui + dashboard all working independently
* add bg-black to +page.svelte
* feat: add editor to storybook
* chore: animate lucid icons (#590 )
* v1 animations
* feat: change some course navigation icons & animate org navigation icons
* chore: change settings icon
* chore: use css instead of js for hover
* rename animations
---------
Co-authored-by: tunny17 <[email protected] >
* chore: update path to node_modules types in api tsconfig
* fix: update import path for DropdownMenu component
* fix: add rollupOptions to build configuration in vite.config.ts
* fix: remove rollupOptions from build configuration and add @floating-ui/dom dependency
* install
---------
Co-authored-by: tunny17 <[email protected] >
2025-11-01 16:18:29 +01:00
Rotimi Best
0fb66a3782
Merge branch 'main' of https://github.com/classroomio/classroomio into feat/release-v2
2025-11-01 15:58:33 +01:00
Rotimi Best
94364abb69
chore: update lock file
2025-11-01 15:58:03 +01:00
Rotimi Best
2d7de6609c
chore: split clean command into 2 (node_modules and pnpm)
2025-11-01 15:57:10 +01:00
Rotimi Best
e3c0dc0b5f
Merge branch 'main' into feat/release-v2
2025-11-01 15:52:20 +01:00
Rotimi Best
b96d91cd7c
feat: setup drizzle ( #594 )
...
* chore: migration to SvelteKit 2
* stage 1: migrate to svelte 5 and fix rerendering issues
* stage 2: fix more $: reactivity across dashboard
* fix merge conflicts
* chore: migrate code in main to svelte 5
* chore: update preventDefault
* chore: simplify tsconfig and remove unused mobileMenuRef in MobileMenu.svelte
* chore: enforce .ts across dashboard
* rename from classroomio-com to website
* stage-3: Replace carbon icon svelte with lucide icon
* update lock file
* chore: finish icon replacement
* fix: settings and setup page multiple rerender
* stage 3: More icon and rerendering fixes
* feat: setup drizzle and better auth
* fix: onboarding validation error showing translation key #586 (#593 )
* fix: onboarding validation error showing translation key #586
* fix: remove debug log for profile update errors
* chore: add a clean command
* fix: remove message from email verification response
2025-11-01 15:49:29 +01:00
Rotimi Best
eb40b6dab6
fix: remove message from email verification response
2025-11-01 11:53:27 +01:00
Rotimi Best
ba0fc32a87
chore: add a clean command
2025-11-01 11:25:32 +01:00
Rotimi Best
86adad9358
fix: onboarding validation error showing translation key #586 ( #593 )
...
* fix: onboarding validation error showing translation key #586
* fix: remove debug log for profile update errors
2025-11-01 09:54:19 +01:00
Rotimi Best
c31e5e131f
chore: update org mock data
2025-10-13 15:49:50 +01:00
Rotimi Best
23ef0661eb
fix: add address translation to en.json
2025-10-13 15:46:28 +01:00
Rotimi Best
c34379f6a2
chore: set default of customLinks
2025-10-13 15:35:02 +01:00
Rotimi Best
ab89837e29
chore: align logo on org landing page
2025-10-12 17:43:43 +01:00
Rotimi Best
92cc922a40
chore: reorder org import
2025-10-12 17:30:39 +01:00
Rotimi Best
41de98083f
fix: show navigation if slugname include routes to hide nav
2025-10-12 14:02:47 +01:00
Rotimi Best
9c9f049917
chore: clean up docker-publish.yml by removing unused tag types
2025-10-11 14:41:47 +01:00
Rotimi Best
775e616d26
chore: update compose to use latest image
2025-10-11 14:33:26 +01:00
Rotimi Best
876a785b3c
chore: pass port to cio-api
2025-10-11 14:26:14 +01:00
Rotimi Best
f629aea625
chore: v0.1.12 add port to env for dashboard
2025-10-11 14:21:41 +01:00
Rotimi Best
d6da36bec5
chore: update docker-compose to use version 0.1.11 for API and dashboard images
2025-10-11 14:08:57 +01:00
Rotimi Best
2a1db30916
chore: add port to start command in dashboard
2025-10-11 14:08:20 +01:00
Rotimi Best
fcebabf1f0
chore: use v0.1.10 in compose
2025-10-11 14:04:40 +01:00
Rotimi Best
6a459b48f4
chore: use docker file for api
2025-10-11 13:51:14 +01:00
Rotimi Best
1275f4b7a5
chore: install pnpm global in railway config
2025-10-11 13:48:59 +01:00
Rotimi Best
884adecb63
chore: add install step for railway
2025-10-11 13:46:03 +01:00
Rotimi Best
2f98a5dca6
chore: remove port from start commands
2025-10-11 13:41:00 +01:00
Rotimi Best
41172d58b4
chore: add railway.json to api
2025-10-11 13:39:13 +01:00
Rotimi Best
168866c81b
feat: optimize docker compose for dashboard and api ( #578 )
...
* chore: use turbo for build
* fix docker compose file and remove backend
* chore: update .dockerignore to include additional files and directories for improved build management
* copy everything in both docke filed
* refactor: streamline Dockerfile to copy entire dashboard app and remove unnecessary node_modules references
* update api to use turbo to start
* run ls la for docker files
* update cmd commands
* update cmds to use node
* fix: add redis url to docker compose
* fix: reduce memory allocation for dashboard build in Dockerfile
* debug dashboard build
* update api docker file
* update dashboard
* add tsconfig
* chore: add echo to dockerfile
* fix: change echo to run
* chore: install pnpm before switching to non-root user in Dockerfile
* refactor: update start commands in package.json and Dockerfiles to use pnpm
* install turbo
* use turbo 1.10.16
* update turbo config
* fix: update CMD in Dockerfile to run the API directly using Node.js
* change
* add commands to turbo.json
* copy over turbo
* add workspace
* fix: update start commands in package.json to specify ports for dashboard and API
* publish docker images
* add dev branch
* update compose
* build only for amd64 platform
* refactor: update docker-compose to use pre-built images and remove build context
* coolify-dockertest
* point to latest
* chore: update docker-compose to use specific version tags for API and dashboard images
* remove envs for docker file
* 0.1.3
* use dynamic env
* 0.1.4
* add PUBLIC_IS_SELFHOSTED=true
* chore: update docker-compose to use version 0.1.5 for API and dashboard images
* use static for PUBLIC_IS_SELFHOSTED
* disable cache for tag
* use 0.1.7
* add PUBLIC_IS_SELFHOSTED=true
* comment out caching
* update docker-compose to use version 0.1.8 for API and dashboard images
* update api port
* use tag 0.1.9
* add cache
* use latest tag in compose file
2025-10-11 13:27:50 +01:00
Rotimi Best
9a7018eb34
chore: remove unused dependencies
2025-10-04 11:01:22 +01:00
Rotimi Best
fd2e3f5d76
chore: clean up environment variable usage and formatting in configuration files
...
- Updated docker-compose.yaml to use double quotes for version and port mappings.
- Removed DEPLOYMENT_PROVIDER from global environment variables in turbo.json and Dockerfile.
- Adjusted dashboard build command in package.json to remove DEPLOYMENT_PROVIDER.
- Cleaned up .env.example by removing the DEPLOYMENT_PROVIDER comment.
- Simplified SvelteKit adapter condition in svelte.config.js.
2025-10-04 08:13:01 +01:00
Rotimi Best
be9489a8e8
chore: add railway.json file
2025-10-04 08:01:50 +01:00
Rotimi Best
629753bcd0
chore: update docs of supabase instructions
2025-10-04 06:56:14 +01:00
Rotimi Best
3bbc5d0927
chore: vercel builds failing for dashboard and docs ( #576 )
...
* chore: improvements
* update README
2025-09-28 20:57:45 +01:00
Rotimi Best
51d30e27f0
chore: update docs
2025-09-28 20:09:22 +01:00
Rotimi Best
7e0443fc37
feat: add certificate and course HTML templates
...
- Introduced new HTML templates for certificate and course pages.
- The certificate template includes dynamic placeholders for student and course details.
- The course template features structured lesson notes and additional resources.
2025-09-28 19:54:50 +01:00
Rotimi Best
85474ea022
chore: update umami domain
2025-09-27 18:12:29 +01:00
Rotimi Best
2c3ee88e13
chore: move course analytics a step after content
2025-09-21 20:44:30 +01:00
Rotimi Best
6d68351a46
feat: end to end api type safety with redis rate limiting ( #573 )
...
* feat: support hono rpc
* add wrangler file
* update name of wrangler file
* add wrangler as a dependency
* add compatibility_flags
* trigger ci
* core: add health check to docker file
* expose port 80
* update custom healthcheck
* feat: implement openapi
* install dependencies in root
* debug yml
* update yml
* update port
* update dockerfile with envs
* completely move away from apiClient
* rename backend to api
* refactor: update server descriptions and comment out local spec saving
* update lock file
* use api.classroomio.com
* add support for redis
* fix: add missing line break in WelcomeModal.svelte
* refactor: remove wrangler configuration and update Vite config for API integration
2025-09-21 19:35:41 +01:00
Rotimi Best
a6880f1b54
feat: implement percentage calculation utility and refactor analytics to use it
...
- Added `calcPercentageWithRounding` function for consistent percentage calculations with rounding.
- Updated course and user analytics to utilize the new utility for progress and average grade calculations.
- Removed redundant rounding logic from analytics functions.
2025-09-18 10:34:54 +01:00
Rotimi Best
bcd17dd0df
feat: add unique constraint to lesson_completion table
2025-09-18 09:16:46 +01:00
Rotimi Best
caa48003af
fix: include types
2025-09-15 19:15:50 +01:00
Rotimi Best
fb0131de2d
fix: load documents on client
2025-09-15 19:14:22 +01:00
Rotimi Best
def5318c07
refactor: improve number rounding and handling in analytics calculations
2025-09-15 14:17:37 +01:00
Rotimi Best
7d150ea500
fix: ensure overall average grade defaults to 0 and adjust course image fallback
2025-09-10 21:23:36 +01:00
Rotimi Best
a078971064
fix: update loading state variable for input fields in invite page
2025-09-10 21:12:50 +01:00
Rotimi Best
01e9aa9700
chore: hide login fields if logged in user matches invite email
2025-09-10 21:01:17 +01:00
Rotimi Best
f161e8dbfd
debug: google auth + invite
2025-09-10 20:45:50 +01:00
Rotimi Best
98acd93133
fix: disable accept button if still fetching user details
2025-09-10 20:39:16 +01:00
Rotimi Best
47563410d8
fix: allow google invite user to accept invite
2025-09-10 20:05:37 +01:00
Rotimi Best
f63b3021f6
feat: enhance AuthUI with redirectPathname prop for improved navigation
2025-09-10 18:49:50 +01:00
Rotimi Best
34a4e867bc
debug: team member invite with google auth
2025-09-10 18:27:49 +01:00
Rotimi Best
06de8d44b8
chore: add orgname to org landing page header
2025-09-10 18:17:27 +01:00
Rotimi Best
8bafacb792
fix: remove loading state before adding group member
2025-09-10 17:26:22 +01:00
Rotimi Best
f87a8beb17
chore: change node version to 20.19.3
2025-09-10 17:24:35 +01:00
Rotimi Best
f60809a249
fix: only redirect in layout only if on redirect page
2025-09-10 17:18:01 +01:00
Rotimi Best
12c0f00007
debug: auth redirect
2025-09-10 16:50:31 +01:00
Rotimi Best
b73f2cc150
debug: sign in with google
2025-09-10 16:35:47 +01:00
Rotimi Best
7a77bd6c79
chore: check permission only after org is loaded
2025-09-09 13:12:56 +01:00
Rotimi Best
05fc61330c
chore: remove pnpm version from package.json
2025-09-07 23:22:13 +01:00
Rotimi Best
c421ec29d9
chore: add custom domain validation for classroomio.com
2025-09-07 16:44:32 +01:00
Rotimi Best
513dc1c6d7
fix: add .nvmrc to classroomio-com
2025-09-07 16:40:32 +01:00
Rotimi Best
733e24ae75
chore: use node v20.19.4
2025-09-07 16:30:57 +01:00
Rotimi Best
11a65783e7
chore: upgrade to node 22.12
2025-09-07 15:04:09 +01:00
Rotimi Best
33cb6286a9
chore: domain can't include classroomio.com
2025-09-07 10:57:06 +01:00
Rotimi Best
9055c45384
chore: move IS_SELFHOSTED to public env
2025-09-07 10:24:34 +01:00
Rotimi Best
f7a66f851f
fix: rename provider_id column to id in auth.identities table
2025-09-04 13:29:41 +01:00
Rotimi Best
aacd95f92f
feat: add error handling for unauthenticated users in hooks middleware
2025-08-30 08:00:25 +01:00
Rotimi Best
7dfabf6e7f
fix: center tooltip text
2025-08-27 22:21:03 +01:00
Rotimi Best
1c2760fd50
fix: add fallback empty array for APP_SUBDOMAINS when env variable is undefined
2025-08-26 16:46:01 +01:00
Rotimi Best
392e1abd1f
fix: allow user navigate to profile settings after coming to org settings first
2025-08-23 00:35:29 +01:00
Rotimi Best
f56c86ab87
feat: convert get started button to link on employee training page
2025-08-08 05:09:45 +01:00
Rotimi Best
279d10a914
feat: add Polish language support
2025-08-08 04:53:38 +01:00
Rotimi Best
0d0719e8f9
feat: implement row-level security policies for course-related tables and actions
2025-08-08 04:12:46 +01:00
Rotimi Best
195e5e8fd2
refactor: reorganize imports and add comment for selfhosted instances
2025-08-05 17:40:31 +01:00
Rotimi Best
0441b6ad12
style: reorder Tailwind CSS classes in PricingSection component and add prettierignore file
2025-08-05 02:01:03 +01:00
Rotimi Best
c841823bda
fix: prevent duplicate comment channel subscriptions and improve translation check
2025-08-03 17:59:21 +01:00
Rotimi Best
db21265136
fix: add '/api/verify' to public routes in hooks.server.ts
2025-07-30 20:36:04 +01:00
Rotimi Best
d6abb425d7
chore: update docker-compose.yaml to include optional node_modules and dist volume mounts
2025-07-29 00:03:37 +01:00
Rotimi Best
1eb0099938
chore: update org.ts to trigger CI
2025-07-21 21:53:00 +01:00
Rotimi Best
8a6d35b8ed
fix: update currentOrgDomain to derive root domain from window location
2025-07-21 21:33:50 +01:00
Rotimi Best
be0d05abc6
fix: remove pgsodium extension creation from migration and clean up data.sql
2025-07-20 20:21:23 +01:00
Rotimi Best
d45a82a62c
chore: add supabase command to package.json
2025-07-18 20:57:02 +01:00
Rotimi Best
361d294b83
fix: update identities table schema in seed.sql to include id column
2025-07-18 20:19:37 +01:00