Skip to content

v0.2.9: Course37 panel loads from course37.com - #42

Merged
shaitrish37 merged 15 commits into
mainfrom
course37-origin
Dec 5, 2026
Merged

shaitrish37 merged 15 commits into
mainfrom
course37-origin

Conversation

@shaitrish37

Copy link
Copy Markdown
Collaborator

The Course37 class panel is served at https://course37.com/rupok-panel (its CSP allows framing from rupok.app). admin.course37.com is a tenant subdomain that redirects to the Course37 home page, which refuses framing, so v0.2.8's panel showed "course37.com refused to connect".

  • Partner registry (web and desktop): origin https://course37.com.
  • Tests updated.
  • Version 0.2.9, CHANGELOG.

@37jahangir
37jahangir enabled auto-merge (squash) December 5, 2026 11:10
…in.course37.com go to the browser

Site shots: phone, phone landscape and tablet views of the board and home page, for reviewing the mobile layout from CI; upload the shots even when one fails.
… them

On a phone held upright the two side islands do not fit beside each other,
so they overlapped. Each island now takes its own line when they do not fit,
islands are 44px on phones, and the page's insets use the islands' full
stacked height (the page sat under the tools island on a phone held sideways).
…p or a relay command

- The Connect your AI menu entry opens the connected view when an AI is
  connected; the setup steps stay behind 'Set up another AI'.
- The AI chat panel, with an AI app (Claude Desktop, Codex...) connected
  through MCP, says it is connected, that you keep talking to it in its own
  app, and lists what it does to the board live. The in-Rupok chat (rupok
  agent) moves into a folded 'Chat here inside Rupok instead'.
- Claude Desktop's agent mode ('local-agent-mode-rupok') shows as Claude.
- web.yml: a screenshot too large for WebP no longer fails the run.
…frame

Where the browser blocks third-party cookies, the Course37 panel can ask
(on a tap, with the browser's prompt) for its own sign-in cookie inside
rupok.app, so a teacher signed in to Course37 stays signed in in the panel.
…on light surfaces

- Dark theme: the icons' mint part is #0ca678, visible on the dark surface
  (5.4:1) and on the icon's own white body (3.1:1); the bright #3ee6b0
  vanished on white bodies and white chips (1.3:1). The active tile keeps
  its mint part instead of a dark cut.
- Light theme: --accent-9 is #0ca678 (3.1:1 on white, was #20c997 at 2.0:1),
  so focus rings, the active tool ring, the current page and borders show.
… placeholder card

The page pictures sent to a partner panel (Course37's student slides) and to
agents drew every Smart Object as a labelled card ('Smart Object (live
HTML)'). They now picture the object itself, the way the PDF export does: a
hidden sandboxed copy with its saved step and state, asked for a snapshot.
The snapshot code moves from export-pdf.ts to objectSnapshot.ts (so page
pictures do not load pdf-lib), with a small cache and one frame at a time.
The card stays as the fallback when an object does not answer in time.
The connection settings stay in Connect your AI (☰ menu) and one tap away
in the chat.
… AI app is connected

The live channel that rupok mcp opens for Claude Desktop (or any MCP app)
now also carries the board's chat, relayed over ACP to Claude Code, Codex,
OpenCode or Gemini CLI on this computer, exactly as rupok agent does. A
teacher who connected Claude Desktop gets the chat inside Rupok on rupok.app
with no terminal. rupok mcp --no-chat turns it off.
…r own strokes

Removes only strokes this panel's students added with ink.commit in this
session (the bridge keeps their ids and pages); the teacher's ink and
anything else are never touched. One undo step per page. Spec, SDK
(eraseInk) and bridge.
- add_quiz_card (MCP): any quiz, MCQ, poll or live exam question becomes
  Rupok's quiz card (rupok.quiz/1) from the skill's template, full slide,
  with the questions in its data island. The class panel's Quiz tab finds
  it and runs it on the students' phones; the card hides the right answer
  until the reveal. The MCP instructions tell agents to always use it:
  agents without the smart-objects skill drew their own quiz-looking object
  that showed the answer and that Course37 could not run.
- Smart Objects: tap one with the Hand tool, or tap it again once selected
  with Select, to use it (its buttons and sliders take the next taps). A
  selected object also gets a Use button on its toolbar.
…cons

An AI app made a quiz slide of its own and the exam in Course37, so the
class panel found no card and the board never showed the results.
add_smart_object and update_smart_object now swap an object carrying a
rupok.quiz/1 island for the template card (customCard: true keeps it),
the MCP instructions make the quiz rule its own bullet and rule out
another app's exam tool, and the spec, its embedded summary and the skill
ask for Lucide or inline SVG icons, the theme fonts and colours.
@shaitrish37
shaitrish37 merged commit 1cd2dab into main Dec 5, 2026
9 checks passed
@shaitrish37
shaitrish37 deleted the course37-origin branch December 5, 2026 13:07
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