Skip to content

Conversation

@mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Feb 2, 2024

Adds an option to update the scene's state dynamically, together with persistence and access controls.

image image
  • Define a schema for the scene's state
  • Split public and private state
  • Make public state editable via the setSceneState event
  • Make an interface under /c to update the public state, update the QR code to link to it
  • Show the current public state in that interface
  • Make that interface use the correct fields automatically
  • Show the actual current state in the state panel
  • Persist the state to disk
  • Keep persisting between deploys
  • Sync state to UI (manually for now)
  • Update from the controller
  • Select fields in the controller, including editing options
  • Types in the frame's config page
  • Sanitize HTML in frame's control form

Out of scope:

  • Authentication for the frame's API
  • Better control UI, including logs, etc

@mariusandra mariusandra mentioned this pull request Feb 4, 2024
@mariusandra mariusandra merged commit 6b878fe into main Feb 4, 2024
@mariusandra mariusandra deleted the scene-config branch February 4, 2024 15:53
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