diff --git a/package-lock.json b/package-lock.json index c157260..95f9e8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "access-page", - "version": "1.5.2", + "version": "1.5.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "access-page", - "version": "1.5.2", + "version": "1.5.3", "license": "MIT", "dependencies": { "js-yaml": "^4.2.0", diff --git a/package.json b/package.json index 010343f..dce1adb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "access-page", - "version": "1.5.2", + "version": "1.5.3", "description": "Visualizations of data usage across the archive.", "private": true, "type": "module", diff --git a/src/plots.ts b/src/plots.ts index c51c9e8..7d1d1c4 100644 --- a/src/plots.ts +++ b/src/plots.ts @@ -905,7 +905,7 @@ function update_totals(dandiset_id: string) { const header = `A total of ${human_readable_bytes_sent} was transferred in ` + `${web_requests} web requests and ${downloads} full downloads ` + - `by ${visitors} unique visitors across ${regions} regions in ` + + `by ${visitors} unique visitors across ${regions} regions in ` + `${countries} countries. *`; totals_element!.innerHTML = dandiset_id === "undetermined" ? header + `
However, the usage could not be uniquely associated with a particular Dandiset.
The primary cause of this is when an asset is removed from a 'draft' state prior to being made persistent by publication.` @@ -915,7 +915,8 @@ function update_totals(dandiset_id: string) { const footnote = document.createElement("div"); footnote.style.fontSize = "0.5em"; footnote.style.marginTop = "7px"; - footnote.innerHTML = "* Dandiset source determination is heuristic and may change over time.
Activity that cannot be confidently attributed to a Dandiset or any other field is reported as 'undetermined'."; + footnote.innerHTML = "* Dandiset source determination is heuristic and may change over time.
Activity that cannot be confidently attributed to a Dandiset or any other field is reported as 'undetermined'." + + "
Unique visitors are counted by unique IP address and may be skewed by undetermined VPN usage patterns."; totals_element!.appendChild(footnote); } catch (error) { console.error("Error:", error);