Skip to content

refactor(course): Isolate lesson content types through router orchestration#53

Open
syed-tp wants to merge 2 commits intoref/dio-singletonfrom
ref/lesson-detail
Open

refactor(course): Isolate lesson content types through router orchestration#53
syed-tp wants to merge 2 commits intoref/dio-singletonfrom
ref/lesson-detail

Conversation

@syed-tp
Copy link
Copy Markdown
Collaborator

@syed-tp syed-tp commented Mar 31, 2026

  • Remove the hybrid LessonDetailScreen to untangle overlapping PDF and Video renderer logic. Delegate content switching to the router to eliminate redundant UI layers and simplify the stack. Standardize screen filenames ensuring naming consistency.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the lesson detail implementation into a domain-partitioned model, replacing the generic LessonDetailScreen with specialized screens like PdfLessonDetailScreen and updating the router to handle orchestration. Key feedback includes restoring missing navigation callbacks in the router to prevent functional regressions, improving null safety when handling PDF content URLs, and updating the specification documentation to reflect the architectural changes.

@syed-tp syed-tp changed the base branch from dto-hierarchy-flattening to ref/dio-singleton March 31, 2026 10:44
@syed-tp syed-tp force-pushed the ref/lesson-detail branch 4 times, most recently from 47b16c7 to eade155 Compare April 1, 2026 07:38
@syed-tp syed-tp force-pushed the ref/lesson-detail branch from eade155 to 18ff4b4 Compare April 1, 2026 09:36
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