Skip to content

Add configurable office state animation mappings#129

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

Add configurable office state animation mappings#129
iamlukethedev wants to merge 2 commits into
mainfrom
cursor/configurable-office-state-map-8c98

Conversation

@iamlukethedev
Copy link
Copy Markdown
Owner

@iamlukethedev iamlukethedev commented Apr 26, 2026

Summary

  • Add a persisted per-office state-to-animation mapping config for custom runtime states such as writing, executing, waiting, and error.
  • Apply configured mappings to derived office animation hold maps without moving policy into the 3D scene.
  • Keep the default office path inert when no custom mappings are configured.
  • Cover settings normalization and mapping derivation with focused unit tests.

Testing

  • npm run test -- --run tests/unit/studioSettings.test.ts tests/unit/officeEventTriggers.test.ts
  • npm run typecheck
  • npm run smoke:dev-server
  • Fresh Chrome/Playwright office load with onboarding bypassed and zero captured console errors.

configurable_state_mapping_final_office.webm
Final office smoke screenshot

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits April 26, 2026 02:40
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