Skip to content

Sync Unit 3 lessons 3.4 and 3.6 with code runner updates - #1559

Closed
dhyantsoni wants to merge 1 commit into
Open-Coding-Society:mainfrom
CSA-Admin-OCS:lessons-upstream-pr
Closed

dhyantsoni wants to merge 1 commit into
Open-Coding-Society:mainfrom
CSA-Admin-OCS:lessons-upstream-pr

Conversation

@dhyantsoni

@dhyantsoni dhyantsoni commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the Unit 3 lessons already merged in ac6866a. This brings over the remaining work from the CSA-Admin-OCS:lessons branch that is not yet on main:

  • 3.4 Constructors: answer keys and LxD section removed, section numbering fixed, students submit hacks in the same file
  • 3.6 Passing and Returning References: hack cells converted to CODE_RUNNER format and shortened
  • Runner styling: _runner-base.scss, game-runner.scss, _panel.scss mixin, challenge-box.html, runner-io.js

Lessons 3.1, 3.2, 3.3, 3.5, 3.8 and the JWT lesson are already identical to main apart from frontmatter, so they are not touched here.

Notes

  • Built on top of current main rather than from the lessons branch directly (that branch conflicts with main in 155 places, which is why Add 3.4 Constructors lesson #1508 was 626 files). This PR is 7 files.
  • The reorganized frontmatter cells from 7b29a30 / ef20e59 are kept as-is; only lesson bodies change.
  • Left out on purpose: fork-only workflow changes (deploying the lessons branch) and the mentor-role dashboard change, which is a separate feature.

Lesson authors: Shayanb1, Darshan528

Copilot AI lite review requested due to automatic review settings September 21, 2026 11:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

Add a background to the new runner callout styling to preserve contrast.

Review effort: Lite
Findings: None

What changed in this PR

Updates Unit 3 Java lessons 3.4 and 3.6 to the current code-runner format and refreshes runner styling and integration.

Changes:

  • Converts lesson exercises and hacks to CODE_RUNNER cells.
  • Removes outdated answer keys and interactive content.
  • Renames and restyles runner challenge boxes.
File Summary
assets/​js/​runner-io.js Reads the renamed challenge-box class.
_sass/​open-coding/​mixins/​_panel.scss Adds callout styling; runner background styling requires adjustment.
_sass/​open-coding/​forms/​game-runner.scss Updates hidden challenge-box selectors.
_sass/​open-coding/​forms/​_runner-base.scss Applies runner challenge styling.
_projects/​lessons/​java/​notebooks/​2025-09-21-3.6.ipynb Converts reference exercises to code runners.
_projects/​lessons/​java/​notebooks/​2025-09-21-3.4.ipynb Updates constructor exercises and runner cells.
_includes/​runners/​fragments/​challenge-box.html Renames the challenge-box class.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

… branch

Brings over teammate work from CSA-Admin-OCS lessons that is not yet upstream:
3.4 constructors (answer keys and LxD removed, hacks submitted in-file),
3.6 rework to CODE_RUNNER cells, and the shared runner styling. Upstream's
reorganized frontmatter cells are kept as-is.

Co-authored-by: Shayanb1 <shayanb1245@gmail.com>
Co-authored-by: Darshan528 <wkeynoping@gmail.com>
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.

2 participants