feat: live class sessions, CE workflow, and docs (#683)

Adds live-class session scheduling on lessons (join link, date/time,
timezone) with automatic 24h and 1h reminder emails plus a calendar
invite (.ics), a time-change notification with an updated invite, a
teacher-authored welcome email and session invite on enrollment, and a
"Notify students" quiz nudge.

LMS gets an upcoming live-sessions card and Join buttons, plus a
reusable live-session card component (3 states) in @cio/ui with a
Storybook story. The sidebar content tree now reflects sequential
progression locking like the content list, and the course-completion
confetti regression is fixed.

Org-based emails no longer reference ClassroomIO by name. Docs add
live-class, welcome-email, and course-progression guides, expand the
certificates guide (design, signatures, corrected labels), move
plan-required callouts to the top, flatten how-to-guides to the docs
root with redirects, and add screenshots. Includes an add-docs-image
skill.
This commit is contained in:
Rotimi Best
2026-06-22 05:43:48 +01:00
committed by GitHub
parent 3547901de6
commit 81294a47f9
193 changed files with 5477 additions and 805 deletions
@@ -81,15 +81,25 @@ export function generateBreadcrumbs(
const normalizedPathname = pathname.replace(/\/$/, '');
if (normalizedPathname !== parentBase) {
const activeSub = matchedNavItem.items.find((sub) => {
const subBase = sub.url.replace(/\/$/, '');
return normalizedPathname === subBase || normalizedPathname.startsWith(`${subBase}/`);
});
const activeSub = matchedNavItem.items.find((sub) => isActive(pathname, sub.url, sub.matchPattern, true));
if (activeSub) {
breadcrumbs.push({
label: t(activeSub.title),
href: activeSub.url
});
const activeSubBase = activeSub.url.replace(/\/$/, '');
if (normalizedPathname !== activeSubBase && activeSub.nestedRoutes && pathSegments.length > 1) {
const activeNestedRoute = activeSub.nestedRoutes.find((route) => route.path === pathSegments[1]);
if (activeNestedRoute) {
breadcrumbs.push({
label: t(activeNestedRoute.titleKey),
href: `${currentOrgPath}${matchedNavItem.path}/${activeNestedRoute.path}`
});
}
}
return breadcrumbs;
}
}
@@ -201,11 +201,27 @@ export const baseNavConfig: NavItemConfig[] = [
items: [
{
titleKey: 'settings.tabs.profile_tab',
path: '/settings'
path: '/settings',
matchPattern: '^/org/[^/]+/settings/?$'
},
{
titleKey: 'settings.tabs.organization_tab',
path: '/settings/org'
path: '/settings/org',
matchPattern: '^/org/[^/]+/settings/(org|customize-lms|domains|teams)(/.*)?$',
nestedRoutes: [
{
path: 'domains',
titleKey: 'settings.organization.organization_profile.custom_domain.heading'
},
{
path: 'teams',
titleKey: 'settings.organization.organization_profile.team.heading'
},
{
path: 'customize-lms',
titleKey: 'settings.tabs.customize_lms_tab'
}
]
},
{
titleKey: 'settings.tabs.landing_page_tab',
@@ -331,7 +347,9 @@ export function getOrgNavigationItems(
isActive: isActive(pagePathname, subUrl, subMatchPattern, true),
url: subUrl,
path: subConfig.path,
isPaid: subConfig.isPaid
matchPattern: subMatchPattern,
isPaid: subConfig.isPaid,
nestedRoutes: subConfig.nestedRoutes
};
});
}
@@ -410,7 +428,9 @@ export function getOrgNavigationGroups(
isActive: isActive(pathnameOnly, subUrl, subMatchPattern, true),
url: subUrl,
path: subConfig.path,
isPaid: subConfig.isPaid
matchPattern: subMatchPattern,
isPaid: subConfig.isPaid,
nestedRoutes: subConfig.nestedRoutes
};
});
}