Jamie Lentin

Results 359 comments of Jamie Lentin

> This might be because a new row has been created for the entry (and the old one deleted), as evidenced by the fact that the ID in the snapshot...

We think that ``?tour=dinosaurs:4`` is less fraught with parsing mishap than the above. Where "4" is the number of the tourstop in sequence (OTT might be more stable, but not...

The bulk of this work here will be a Tour (javascript) controller, that can be plumbed into URL state and trigger an update. The tour controller should also be responsible...

Also as part of this the initialisation of Tour needs to be tightened up. ``setup_page``() return types are a bit vague, depending on what is handed in, and the ready...

- [x] Manage the destruction of any old Tour objects (presumably we have a screensaver + active tour slot?) by calling a destructor on the Tour class, which allows it...

The above, after doing a lot of ~unrelated bugfixes, introduces ``controller_tour``. This means I can do e.g. ``onezoom.controller.tour_start('/tour/tutorial_MDmouse')`` from the ``/life`` page. Next step is to add an option for...

The above adds a "tour" querystring parameter, which looks like ``tour=/tour/tutorial@2``, where "2" is an optional tourstop number. The URL is parsed well enough that we won't mistake it for...

I think this has since been fixed with https://github.com/OneZoom/OZtree/commit/845382d065a37cecb10b190abcb4cf6c5b666a41 The "close enough" logic is in ``perform_actual_fly``: https://github.com/OneZoom/OZtree/blob/edcd6408065d5e2ba3bb25b1b735032c4844806b/OZprivate/rawJS/OZTreeModule/src/position_helper.js#L246-L251 The commit above re-implements leaps by flying as fast as feasibly possible to...

Having multiple TourStops for the same OTT would be a good way of managing the A/V triggers, instead of having logic to stack them somehow.

NB: [Autoplay shouldn't be a problem, so long as there is an intial click](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide). This may get problematic with [tours triggered by URL](https://github.com/OneZoom/OZtree/issues/244), but that's more work-aroundable.