Skip to content

isolate rooms and curriculum sections into 3 layer architecture #11#46

Open
IbrahimAhmed8 wants to merge 2 commits into
akyourowngames:mainfrom
IbrahimAhmed8:refactor/dashboard-rooms-curriculum
Open

isolate rooms and curriculum sections into 3 layer architecture #11#46
IbrahimAhmed8 wants to merge 2 commits into
akyourowngames:mainfrom
IbrahimAhmed8:refactor/dashboard-rooms-curriculum

Conversation

@IbrahimAhmed8

Copy link
Copy Markdown
Contributor

Addresses the architecture refactoring outlined in #11 for the Rooms and Curriculum areas.

Architectural Changes:

  • Layer 3 (Primitives): Extracted RoomCard and CurriculumCard into dashboard/components/
  • Layer 2 (Sections): Extracted DashboardRoomsSection and decoupled the embedded curriculum block into a standalone DashboardCurriculumSection
  • Shared Infrastructure: Extracted DashboardDataContext and DashboardSectionShell into isolated files to cleanly share state/UI without triggering circular dependencies
  • Layer 1 (Shell): Stripped out the monolithic code from StudentDashboard.tsx, effectively reducing its bloat while retaining exact existing behavior and visuals

No visual regressions. Type-safe and verified locally

@vercel

vercel Bot commented Apr 19, 2026

Copy link
Copy Markdown

@IbrahimAhmed8 is attempting to deploy a commit to the akyourowngames' projects Team on Vercel.

A member of the Team first needs to authorize it.

@IbrahimAhmed8 IbrahimAhmed8 changed the title Isolate Rooms and Curriculum sections into 3Layer Architecture #11 isolate rooms and curriculum sections into 3 layer architecture #11 Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant