Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene state #60

Merged
merged 28 commits into from
Feb 4, 2024
Merged

Scene state #60

merged 28 commits into from
Feb 4, 2024

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
1 check passed
@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.

1 participant