NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
41 stars 26 forks source link

Citations in /profile loads forever #1268

Closed laurenwalker closed 4 years ago

laurenwalker commented 4 years ago

To reproduce:

rushirajnenuji commented 4 years ago

The render function for citation and usage metrics was looking for the selector before the template was inserted in the DOM. The following commits solve this issue partly. - https://github.com/NCEAS/metacatui/commit/823018366bef6790b133774145dff25ad2b145a5 and https://github.com/NCEAS/metacatui/commit/d1957af5cefe8f8da4dc3b79e493f2f0a15853b2

[WIP] - Still seeing issues with the width of the metrics chart.

rushirajnenuji commented 4 years ago

The original bug linked with this ticket has been solved. For additional enhancements, I've opened a new ticket to work on. The charts and citation lists are rendering correctly (on reload, back/forward button click events, etc).