WEKIT-ECS / MIRAGE-XR

MirageXR is a reference implementation of an XR training system. MirageXR enables experts and learners to share experience via XR and wearables using ghost tracks, realtime feedback, and anchored instruction.
Other
27 stars 4 forks source link

TMR: Save tutorial data as serialized JSON #1991

Open BorisJov opened 2 weeks ago

BorisJov commented 2 weeks ago

The Tutorial Manager usually has one class per tutorial step. Event system and some custom action complexity prevents us from simplifying this in general. However, the HelpSelection subsystem lacks this complexity as it mostly only highlights a single item on-screen. As the data for each help item is mostly just a message and which item to highlight, this can be stored as a json text and loaded on demand. The task is:

  1. Transfer all messages and help selection data to json files, stored in resources.
  2. Refactor so that the TM references these files and loads the correct messages.
  3. Delete the classes that are no longer necessary.
BorisJov commented 2 weeks ago

Parent issue: #1472