Release 0.2.3

This commit is contained in:
Andrei Pohilko
2022-10-26 15:26:40 +01:00
parent 44787b31cf
commit 549cdd9bfb
3 changed files with 11 additions and 8 deletions

View File

@@ -54,7 +54,7 @@
<a class="nav-link px-3 section-repo">Repository</a> <a class="nav-link px-3 section-repo">Repository</a>
</li> </li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" <a class="nav-link dropdown-toggle section-help" role="button" data-bs-toggle="dropdown"
aria-expanded="false"> aria-expanded="false">
<span class="position-absolute top-50 start-0 translate-middle p-1 bg-danger border border-light rounded-circle new-version-pill display-none"> <span class="position-absolute top-50 start-0 translate-middle p-1 bg-danger border border-light rounded-circle new-version-pill display-none">
<span class="visually-hidden">New version</span> <span class="visually-hidden">New version</span>

View File

@@ -50,6 +50,15 @@ function initView() {
$("#topNav ul a").click(function () { $("#topNav ul a").click(function () {
const self = $(this) const self = $(this)
if (self.hasClass("section-help")) {
return;
}
$("#topNav ul a").removeClass("active")
const ctx = getHashParam("context")
setHashParam(null, null)
setHashParam("context", ctx)
if (self.hasClass("section-repo")) { if (self.hasClass("section-repo")) {
setHashParam("section", "repository") setHashParam("section", "repository")
@@ -59,12 +68,6 @@ $("#topNav ul a").click(function () {
return return
} }
$("#topNav ul a").removeClass("active")
const ctx = getHashParam("context")
setHashParam(null, null)
setHashParam("context", ctx)
initView() initView()
}) })

View File

@@ -1,5 +1,5 @@
name: "dashboard" name: "dashboard"
version: "0.2.2" version: "0.2.3"
usage: "A simplified way of working with Helm" usage: "A simplified way of working with Helm"
description: "View HELM situation in nice web UI" description: "View HELM situation in nice web UI"
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard" command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"