Skip to content

Add state animation mapping settings UI#130

Draft
iamlukethedev wants to merge 2 commits into
cursor/configurable-office-state-map-8c98from
cursor/state-mapping-ui-8c98
Draft

Add state animation mapping settings UI#130
iamlukethedev wants to merge 2 commits into
cursor/configurable-office-state-map-8c98from
cursor/state-mapping-ui-8c98

Conversation

@iamlukethedev
Copy link
Copy Markdown
Owner

@iamlukethedev iamlukethedev commented Apr 26, 2026

Summary

  • Add a Studio Settings editor for state-to-animation mappings.
  • Wire mapping settings from OfficeScreen through RetroOffice3D into SettingsPanel.
  • Allow adding starter mappings, adding/removing custom rules, editing labels/source states/targets/effects/sound cues/priority, toggling rules, normalizing, and clearing.
  • Keep configured state movement from auto-opening GitHub/QA workflow panels.
  • Update Vitest config so React .test.tsx unit tests are included.

Testing

  • npm run test -- --run tests/unit/stateAnimationMappingsEditor.test.tsx tests/unit/studioSettings.test.ts tests/unit/officeEventTriggers.test.ts
  • npm run typecheck
  • npm run smoke:dev-server
  • Browser walkthrough: cleared local mappings, opened /office, launched Studio Settings, applied starter mappings, edited rule 1 to Syncing / syncing / QA lab / sync-chime, normalized, and verified persisted settings via /api/studio.

state_mapping_ui_editor_clean.webm
State mapping editor

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits April 26, 2026 03:30
Co-authored-by: Luke The Dev <iamlukethedev@users.noreply.github.com>
Co-authored-by: Luke The Dev <iamlukethedev@users.noreply.github.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