otko/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
smillmorel 8f7bc3cf4f fix: keep the Plotly camera and axis ranges through data updates
Plotly.react resets any scene attribute the incoming layout omits, so every
selection change snapped the camera back to the default and re-fit the
ranges - the pinned framing was meaningless. Data-only pushes now pass
preserveView and html.py merges the live camera and axis ranges into the
incoming layout; only an explicit re-frame sends computed framing.

Also fixes the ordering bug where the framing flag was consumed before the
not-ready early return, which dropped the very first framing on the floor
(show_project runs before loadFinished).

Verified in the browser: user orbit + zoom survive selection and working
plane updates, while reset_camera re-frames. Regression-tested headlessly
by asserting the emitted preserveView flag.
2026-09-16 20:05:35 -04:00
..
gui fix: keep the Plotly camera and axis ranges through data updates 2026-09-16 20:05:35 -04:00
integration style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
services style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
tools style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
unit feat: opstool-style scene recipe for the Plotly canvas 2026-09-16 20:05:26 -04:00
__init__.py feat: initial otko import 2026-09-08 02:12:15 -04:00
conftest.py test: isolate QSettings so user preferences cannot fail GUI tests 2026-09-16 19:15:48 -04:00