Skip to content

Clean up simulation: fix orphaned timeline feature, dedupe, polish a11y#3

Merged
veillette merged 1 commit into
mainfrom
claude/simulation-review-cleanup-93jozu
Jul 1, 2026
Merged

Clean up simulation: fix orphaned timeline feature, dedupe, polish a11y#3
veillette merged 1 commit into
mainfrom
claude/simulation-review-cleanup-93jozu

Conversation

@veillette

Copy link
Copy Markdown
Contributor
  • Wire ConfigurationsModel.slewToEvent() to ConfigurationsTimeline event-mark
    clicks; the animated slew was implemented but never called from any view.
  • Single source of truth for PtolemaicModel.PRESET_KEYS (moved to
    PtolemaicPlanet.ts, matching the ConfigurationsPlanet.ts pattern).
  • Extract shared ZodiacStripBackground (band/labels/dividers/mapping) used by
    both screens' zodiac strips, unifying their height.
  • Remove unused label rendering from CelestialBodyNode (dead code, raw font).
  • Promote remaining magic numbers to SolarSystemModelsConstants; standardize
    on PhetFont instead of raw CSS font strings.
  • Make each screen's screen-summary "current details" a live DerivedProperty
    over model state instead of a static placeholder string.
  • Expand keyboard-help dialogs with real slider/combo-box sections; remove
    dead a11y strings (exampleControl, timelineScroll) and wire up two that
    described real behavior but were never surfaced (Shift-drag help text).
  • Update CLAUDE.md, which still described both screens as unimplemented
    scaffolding.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Eyv7M7ryENNoJ2xcQsH4dY

- Wire ConfigurationsModel.slewToEvent() to ConfigurationsTimeline event-mark
  clicks; the animated slew was implemented but never called from any view.
- Single source of truth for PtolemaicModel.PRESET_KEYS (moved to
  PtolemaicPlanet.ts, matching the ConfigurationsPlanet.ts pattern).
- Extract shared ZodiacStripBackground (band/labels/dividers/mapping) used by
  both screens' zodiac strips, unifying their height.
- Remove unused label rendering from CelestialBodyNode (dead code, raw font).
- Promote remaining magic numbers to SolarSystemModelsConstants; standardize
  on PhetFont instead of raw CSS font strings.
- Make each screen's screen-summary "current details" a live DerivedProperty
  over model state instead of a static placeholder string.
- Expand keyboard-help dialogs with real slider/combo-box sections; remove
  dead a11y strings (exampleControl, timelineScroll) and wire up two that
  described real behavior but were never surfaced (Shift-drag help text).
- Update CLAUDE.md, which still described both screens as unimplemented
  scaffolding.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Eyv7M7ryENNoJ2xcQsH4dY
@veillette veillette merged commit 2df29ab into main Jul 1, 2026
4 of 6 checks passed
@veillette veillette deleted the claude/simulation-review-cleanup-93jozu branch July 2, 2026 10:20
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