Closed superstar54 closed 5 months ago
@ltalirz Could you review this PR when you have time? The main purpose is to fix #41, #42, #43. The PR refactors the original code a lot, so it could be difficult to review the details. :rofl: And some details could be improved in the future PRs.
thanks a lot @superstar54 - I think I can find some time over the easter holidays
@ltalirz Thanks! The Visual regression
test, which uses playwright, failed because some cells in the jupyter notebooks didn't produce an output, and I haven't found the reason yet. But in my local test, all passed.
This PR
Use WidgetWrapper to map the Python name to base the widget's traits.
anywidget
.WidgetWrapper
class, it uses_attribute_map
to map the snake style Python variable to the camel style Javascript variable.For example
Atoms Viewer (avr)
Camera
Use weas 0.1.1, and install it locally instead of importing from unpkg
fix #41 , fix #45
UI tests
add tests for