jupytercad / JupyterCAD

A JupyterLab extension for 3D geometry modeling
https://jupytercad.readthedocs.io
BSD 3-Clause "New" or "Revised" License
118 stars 15 forks source link

Improve the UX of the clip-plane and wireframe buttons #406

Open martinRenou opened 3 weeks ago

martinRenou commented 3 weeks ago

Problems

Today, the clip-plane toolbar button shows a dialog to select two options:

In the other side, the wireframe button does not show a dialog and directly apply the wireframe effect. Though once toggled, there is no visual indication in the toolbar that the button has been toggled.

Also, refreshing the page or reopening the file does not keep the clip-plane or wireframe states. We could fix this by saving the states in the schema.

Suggestions

martinRenou commented 3 weeks ago

cc. @arjxn-py

arjxn-py commented 3 weeks ago

Thanks @martinRenou, it is well defined. I'll be happy to look into it 🚀