From 7395c3ec306a480d83da5ba4fbf970805480512b Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Thu, 1 Jan 2026 11:12:56 -0300 Subject: [PATCH] add cluster feature modal to inform users of experimental status and upcoming features --- templates/cluster/workers_list.html | 66 ++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/templates/cluster/workers_list.html b/templates/cluster/workers_list.html index d4a421c..a958c5b 100644 --- a/templates/cluster/workers_list.html +++ b/templates/cluster/workers_list.html @@ -142,14 +142,68 @@ + + {% endblock %} {% block custom_page_scripts %} - + + // Cluster Feature Modal Logic + if (!sessionStorage.getItem('cluster_modal_dismissed')) { + $('#clusterFeatureModal').modal('show'); + } + + // "I Understand" button persists dismissal + $('#btn-dismiss-cluster-modal').click(function () { + $('#clusterFeatureModal').modal('hide'); + sessionStorage.setItem('cluster_modal_dismissed', 'true'); + }); + }); + {% endblock %} \ No newline at end of file