microsoft / mixed-reality-extension-sdk

The Mixed Reality Extension SDK enables developers to build 3D world extensions for AltspaceVR, using Node.JS.
MIT License
142 stars 61 forks source link

[AltspaceVR] Improve config UI in SDKApp Space Component #224

Open eanders-ms opened 5 years ago

eanders-ms commented 5 years ago

The SDKApp Space Component UI should be able to accept a multi-line text blob that would be passed to the app when the connection is made. If the connection results in a new session getting spawned, this text blob would be passed to it in onStarted. This would enable the creation of reusable, customizable, generic apps anyone can use. Examples:

This kind of thing is technically possible now using query params, but it is very cumbersome.

willneedit commented 5 years ago

This could even be extended.

On entering the URL in the config UI, the client contacts the MRE in a special "query mode", perhaps with a dedicated file part of the URL, and retrieves a description of the parameter list, maybe

[
 [ "name", "string" ],
 [ "value", "number" ],
]

which allows the UI to reconfigure itself to include the additional data fields.