Skip to content

Commit

Permalink
V3.3.0 (#318)
Browse files Browse the repository at this point in the history
* version update

* re-introduced Maven skip option

* re-introduced Maven skip option

* removed Twitter link

* removed twitter

* click on bar charts work

* skipped state handling

* updated changelog for 3.3.0

* cleaned up js ftl

* maven example
  • Loading branch information
bischoffdev authored Aug 7, 2023
1 parent ab12cea commit 4dc6332
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engine/src/main/resources/template/snippets/js.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ limitations under the License.
};
} else if (chart.config.type === "bar") {
<#if (reportDetails.chartUrlLookup?has_content)>
console.log("LOOKUP: " + ${reportDetails.chartUrlLookup?size})
const chartUrls = {
<#list reportDetails.chartUrlLookup as stepName, urlFriendlyStepName>
"${stepName?js_string}": "${urlFriendlyStepName}",
Expand All @@ -77,8 +76,6 @@ limitations under the License.
const label = chart.data.labels[clickedElementindex];
if (label == null) return;
urlSnippet = chartUrls[label];
//const url = document.evaluate("//a[text()='" + label + "']", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
console.log(urlSnippet);
if (urlSnippet == null) return;
window.location.href = urlSnippet;
}
Expand Down

0 comments on commit 4dc6332

Please sign in to comment.