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

0.2 #110

Merged
merged 11 commits into from
Nov 27, 2018
Merged

0.2 #110

merged 11 commits into from
Nov 27, 2018

Conversation

khituras
Copy link
Member

No description provided.

khituras and others added 11 commits November 8, 2018 17:59
Introduced the JavaScript lo-dash utilities library on the way.
Fixed bugs and cleaned things up. Note that currently ONLY the
common partners code is working. Next up will be to bring back
the classic frequency-based sankey.
Idea: Data shouldn't go multiple times to the client. Also, filtering
often does not require contact to the server. So let the data JS
module cache data and let the client to filtering on its own.
For this, the widget layout now can switch off its default ajax
content loading. Then, the specific widgets have to take care of their
DOM elements and data loading on their own.
The data module now has methods to get data from the server, through
the index page. The idea is that all required data formats have a name
such as "relation counts" or "neighboursofnode" and such stuff.
This can then be cached within the browser.
The current issue is that the cache has to be emptied when a new
search is issued.
Separating the node order from the link weights.
The reason was that the WidgetManager didn't create a new
Widget object if its internal map already knew a Widget by the given
name. But with the Ajax loading the map wouldn't be refreshed but
the HTML code would. So the elements manipulated by the old Widget
object did not exist any more and the newly added Widget object
was never created because the map already contained a Widget
for each widget name.
@khituras khituras merged commit 59cdc91 into master Nov 27, 2018
@khituras khituras deleted the 0.2 branch November 27, 2018 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant