REST <- graph api?
by Ondrej Zizka
Hi devs,
How about creating a layer that would query the graph based on a REST URL?
I.e. instead of creating a REST endpoint for each service, we could do
something like
localhost//windup/rest/graph/ProjectModel/id-48984/out-projectTofile/with-...
Or some subset of Gremlin perhaps...
Just an idea.
Ondra
8 years, 5 months
Generic DOM elements sorting JS function
by Ondrej Zizka
Devs,
I've added a JS function which can sort any elements like this:
$("body.viewAppList .apps .real
.appInfo").sortElements(function(a, b){
return $(a).find(".traits .fileName").first().text().trim()
> $(b).find(".traits .fileName").first().text().trim() ? 1 : -1;
});
So you can give it any set of non-nested elements (but even at different
levels in the DOM) and have them sorted by the comparer you provide.
Perhaps it could even help with the Migration Issues report complexity,
not sure.
<script src="reports/resources/js/windup-utils.js"></script>
Enjoy :)
8 years, 6 months