Some notes from my efforts to embed Emperor into the microsetta results page:
Adding these comments here to ensure we are tracking them:
Raytracing broken when not scrolled to top of the screen
See if this can be fixed by setting a fixed height of 500 px for emperor-notebook div. "height: 500px !important;"
How to handle versioning?
Manually update every time we want to update
Use emperor's python api to find the support files - write a script that copies them into your source tree as part of the build process
Some minified js script at a fixed location?
What would a javascript only integration look like? How to embed on an existing page? (See emperor_loader.js as my prototype)
Some kind of method to dispose of an emperor control when we're done with it? (Currently leaks several DOM objects outside of the specified ID in the DOM)
Continued integration notes:
Loading emperor control with requirejs exactly as implemented in index.html of qzv files interferes with existing jquery plugins in a webpage - consider JQuery.noConflicts
Exceptions thrown inside of emperor due to bad config (specify color for a category that does not exist) will fail silently in such a way that the current emperor instance continues to run, but attempting to remove the emperor widget and replace it will fail. Would prefer that these are either fully handled, or bubble up loudly enough to show something is wrong.
Some notes from my efforts to embed Emperor into the microsetta results page:
Adding these comments here to ensure we are tracking them:
Continued integration notes: