Skip to content

Implement E-07: Syntax Visibility in Blocks (Phase 2)#18

Merged
PilHliP211 merged 1 commit into
mainfrom
claude/implement-epic-7-X7wze
Apr 16, 2026
Merged

Implement E-07: Syntax Visibility in Blocks (Phase 2)#18
PilHliP211 merged 1 commit into
mainfrom
claude/implement-epic-7-X7wze

Conversation

@PilHliP211
Copy link
Copy Markdown
Owner

  • Add phase: 1 | 2 | 3 required prop to BlockEditor; Phase 3 sets
    Blockly workspace to readOnly and hides the Run button
  • Update blockRegistry to accept showCode flag; when true, injects
    message1 = BlockDef.code into each Blockly block definition so the
    equivalent JS code appears as a second label inside the block body
  • Create CodeLabelTooltip: keyboard-accessible "?" button (Phase 2 only)
    that reveals an explanatory popover with aria-describedby wiring
  • Update DevBlockEditorScreen to read ?phase= query param and render
    a phase-switcher nav; marked as temporary pending E-11 integration
  • Add component + unit tests: phase-driven readOnly, showCode injection,
    code label sourced from BlockDef.code, tooltip open/close/keyboard/aria

https://claude.ai/code/session_01K3ZDzQzrncMKnskQwpyWq8

- Add `phase: 1 | 2 | 3` required prop to BlockEditor; Phase 3 sets
  Blockly workspace to readOnly and hides the Run button
- Update blockRegistry to accept showCode flag; when true, injects
  message1 = BlockDef.code into each Blockly block definition so the
  equivalent JS code appears as a second label inside the block body
- Create CodeLabelTooltip: keyboard-accessible "?" button (Phase 2 only)
  that reveals an explanatory popover with aria-describedby wiring
- Update DevBlockEditorScreen to read ?phase= query param and render
  a phase-switcher nav; marked as temporary pending E-11 integration
- Add component + unit tests: phase-driven readOnly, showCode injection,
  code label sourced from BlockDef.code, tooltip open/close/keyboard/aria

https://claude.ai/code/session_01K3ZDzQzrncMKnskQwpyWq8
@PilHliP211 PilHliP211 merged commit 1a29938 into main Apr 16, 2026
1 check passed
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