-
-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make extra Content persistent #398
Conversation
Add div that is the place the cached content are stored because content are never destroyed but only hidden Add elementsCache tool to handle communication between container and content Adapt fullscreen button with new logic for extra content
rearrange the class / style for consistency Comment verbose debug log that are no more necessaries Add fallback if error loading content
Clean up code Adjust CSS
try remote refresh using getElementById
… way to allows to use context instead of direct access
Rewrite of FullScreen management -WIP rewrite of Container helper to be consistent across all APP rewrite of FullScreenButton and CloseButton- WIP
Add some debug
comment events.off Add some debug
Fix wrong autorefresh of iframe due to useState for visibility Add notification of visibility state to extension
Hello @luc-github, |
Have a look to https://github.com/luc-github/ESP3D-WEBUI/tree/3.0/extensions the generic setup instructions are there : https://esp3d.io/ESP3D-WebUI/Version_3.X/documentation/extensions/ The detailed API is there : https://esp3d.io/ESP3D-WebUI/Version_3.X/documentation/api/extensions/ |
Do not put the .gz in address |
Thank you for your feedback: About your first issue: About auto rotation: About origin: About UI: That said I did not manage portrait view yet - only landscape, and I just noticed I have a scrollbar in Full screen which should not happen, need to adjust css again, the scrollbar on your screen should not be there so I am wondering what is your resolution to duplicate the issue About drag & Drop About icons of view button instead of text: I am not designer and this extension is more a Proof of Concept that the WebGL rendering can be done in less than13KB, more over, this my first project with 3D and WebGl so there are tons of improvement to be done for sure ... I am waiting for your resolution and will spend some time to improve css, portrait support was planned, but I forget it, busy with others projects / issues - I will find some time for it. Edit: |
Hello Luc, The screen solution on my test system is 1680x1050
This works nicely 👍
Don't worry, I'm quite impressed about what you are implementing in the project. Really. All I wrote is under the impression to give a honest feedback from one user w/o any ulterior motive. I was a little surprised that there is no other feedback so fare. Anyway, I did some more tests this morning with a bigger model (47 MB gcode). This time I add the panel view to the dashboard. Btw, I like this view very much. While loading and processing the model is nicely displayed with a process bar and more or less "fast", it took quite long (> 90 sec.) to show the model in the view w/o seeing that there are still some processes working for preparing the 3D view. After checking the process manager I understood what was going on. The memory consumption in Firefox increased up to 5.5 GB and the GPU uses additional 2.8 GB of memory in the graphic card. Bit's have to flow... I just recognize you pushed a new update while I'm writing this comment. You are so fast in updating your code 🙂 Best regards, DD |
The page view is now much better and the buttons do not jump around when I resize the browser window. 👍 |
You also should not see anymore a scrollbar - it should auto adjust size of canvas to avoid it, let me know if it happen |
Yes looks like I was generous on each bottom margin it should be better with latest 77 I have just pushed |
Much better. 🙂 |
Add Notifications message for extensions to inform then they are visible or not