Skip to content
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

Report widgets - embeddable #55

Closed
julie-sullivan opened this issue Sep 3, 2012 · 5 comments
Closed

Report widgets - embeddable #55

julie-sullivan opened this issue Sep 3, 2012 · 5 comments
Assignees
Milestone

Comments

@julie-sullivan
Copy link
Member

We can embed list analysis widgets but not report widgets (formerly known as report displayers).

@ghost ghost assigned radekstepan Sep 3, 2012
@radekstepan
Copy link
Contributor

Reference implementation with docs and requirements here:

https://github.com/radekstepan/intermine-report-widgets

We have decided on option number 3 which means precompiling widgets into JS using Node.js and then injecting config and callback id using the JAVA system.

@radekstepan
Copy link
Contributor

@radekstepan
Copy link
Contributor

This * never ends... now the issue is that when we need a JSON representation of an XML PathQuery and we do this translation in a Mine, but this means that we need to call model.xml for this. And the catch here is that I may have a PathQuery in a widget that is only going to be executed on a different mine and thus 'this' mine has no knowledge of the fields that I am asking for... and fails :(.

@radekstepan
Copy link
Contributor

As an extra point, make the call to get all of the dependencies for all widgets a JSONP so that we can capture the error message we are getting back. Otherwise we are expecting JSON and return JavaScript :(

@radekstepan
Copy link
Contributor

We have decided with @julie-sullivan to only have PathQueries that are valid for this mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants