Cpride/pagination#1129
Conversation
PageHeader, StatusBadge, EmptyState, SearchInput, ConfirmDialog, FormModal, and DataTable components with consistent design system theming and reusable patterns.
Split monolithic common.ts into 15 domain-specific type modules (auth, user, facility, program, attendance, provider, content, insights, events, server, reports, navigation, websocket, ui, global.d.ts). Port API client with CSRF handling and credential passing. Add formatters and cn() utility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Port AuthProvider with Ory Kratos flow integration, RouteGuard for role-based access control, useAuth with role helpers and session management. Port BroadcastChannel tab session and WebSocket session. Rewrite ThemeContext for next-themes, ToastContext for sonner. Port Tour, Breadcrumb, and PageTitle contexts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Port useUrlPagination, useSessionViewType, useCheckResponse (adapted for shadcn Dialog controlled state), useBreadcrumbsFromRoutes. Port all route loaders for data prefetching. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Port all 52 shadcn/ui components from the redesign. Components use Radix UI primitives with forest green/olive/gold design tokens. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Port AuthenticatedLayout with redesign top nav bar (bg-[#203622]), role-based nav items, facility selector, user menu, theme toggle. Port GuestLayout, TopNav, MobileNav, Breadcrumbs. Port TitleManager, Loading, Brand, and UnlockEdTour components. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Set up React Router v6 with route guards, loaders, and breadcrumbs. Configure provider nesting order (PostHog, Tour, SWR, Theme). Define all app routes (admin, program, provider, knowledge center). Add globals.css with design tokens and dark mode support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Port Login with Ory Kratos flow integration (rate limiting, lockout, deactivation detection). Add ChangePasswordForm with validation and first-login facility setup. Add ConsentForm for OAuth2. Port Welcome landing page and StudentLayer0 greeting page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add AdminManagement with role-based CRUD and permission checks. Add StudentManagement with deactivation support. Add FacilityManagement with room and timezone configuration. Add ResidentProfile detail page. Add ProviderPlatformManagement with OIDC registration and archive. Add ProviderUserManagement with user import and Kolibri detection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add ProgramManagementForm and ClassManagementForm for create/edit. Add ProgramOverviewDashboard, ProgramClassManagement, ClassLayout, ClassEnrollmentDetails, ClassEvents, and AddClassEnrollments. Add decomposed EventAttendance page with grid and summary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add ResidentHome with featured content and favorites. Add StudentDashboard with weekly activity chart. Add MyCourses with tabs and grid/list toggle. Add MyProgress with stats and sortable table. Add ResidentOverview and CourseCatalog. Add WeeklyActivity, TopContentList, EnrolledCourseCard, CatalogCourseCard, and ActivityHistoryCard components. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add OpenContent tabbed container for admin/student views. Add LibraryLayout, VideoManagement, HelpfulLinksManagement for admins. Add StudentOpenContent, VideoContent, LibraryViewer (Kiwix iframe), VideoViewer, HelpfulLinks, and Favorites for students. Add LibraryCard, VideoCard, HelpfulLinkCard, FavoriteCard, and OpenContentItemAccordion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add OperationalInsights, KnowledgeInsights, and LearningInsights with recharts visualizations. Add EngagementRateGraph and chart components. Add Schedule with weekly calendar view. Add FAQs with accordion and HelpCenter. Port Dashboard, ClassesPage, ProgramsPage, TakeAttendance, Error page, and class-detail/program-detail modules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…me blocking Add forwardRef to Input, Textarea, and Button for react-hook-form compatibility. Move side effects (navigate, window.location.href) from render bodies into useEffect in AuthProvider, RouteGuard, Login, and ResidentProfile. Extract shared formatDate/formatDateTime into formatters.ts to eliminate duplication. Fix LoginForm timer to use derived state instead of synced useState. Fix X-Frame-Options to use SAMEORIGIN for proxy routes so Kiwix content renders in iframes. Fix inverted NATS cache condition in middleware that prevented library proxy params from being cached. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…t value from properly being updated
Bumps github.com/jackc/pgx/v5 to v5.9.0 (fixes GO-2026-4771, GO-2026-4772) and golang.org/x/net to v0.53.0 (fixes GO-2026-4918) in both backend and provider-middleware modules to unblock the security scan CI check.
…der (#1126) * feat: add new redesign files to frontend folder and remove old v2 folder * feat: add new redesign files to frontend folder and remove old v2 folder * fix: add changes for linting errors
…ve duplicated code
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pre-Submission PR Checklist
Description of the change
Please provide a brief description of the changes included in this PR.
Screenshot(s)
If the PR includes changes to the UI:
Additional context
Please include additional context or information that the reviewer needs to understand the PR. This includes:
If any core features or components were removed with this PR, please note them here so that they can be added to the wiki (see Deprecated features and Components).