Fusion #69 : alertes unifiées (rebase sur main post-#70 et post-#68)
CI / test (push) Failing after 1s
CI / test (push) Failing after 1s
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
wallboard ni l'écran de connexion, volontaires). #}
|
wallboard ni l'écran de connexion, volontaires). #}
|
||||||
<link rel="stylesheet" href="/static/css/draco-barre.css?v={{ version }}">
|
<link rel="stylesheet" href="/static/css/draco-barre.css?v={{ version }}">
|
||||||
<link rel="stylesheet" href="/static/css/draco-panneau.css?v={{ version }}">
|
<link rel="stylesheet" href="/static/css/draco-panneau.css?v={{ version }}">
|
||||||
|
<link rel="stylesheet" href="/static/css/draco-alertes.css?v={{ version }}">
|
||||||
<script>document.body.classList.add('has-draco-bar');</script>
|
<script>document.body.classList.add('has-draco-bar');</script>
|
||||||
<header class="draco-bar" data-current="kanbante">
|
<header class="draco-bar" data-current="kanbante">
|
||||||
<div class="draco-bar-zone draco-bar-gauche">
|
<div class="draco-bar-zone draco-bar-gauche">
|
||||||
@@ -70,8 +71,9 @@
|
|||||||
Phase 1 : navigation entre apps et domaine mémorisé localement ;
|
Phase 1 : navigation entre apps et domaine mémorisé localement ;
|
||||||
le rail pilote le repli natif de la barre latérale, la palette
|
le rail pilote le repli natif de la barre latérale, la palette
|
||||||
ouvre la recherche & commandes native (Ctrl+K) ; les alertes
|
ouvre la recherche & commandes native (Ctrl+K) ; les alertes
|
||||||
unifiées, la recherche fédérée et Spark arrivent avec les
|
unifiées passent par le panneau draco-alertes.js (Fusion #69,
|
||||||
phases suivantes du programme Fusion. */
|
agrégation à la demande, pas une fédération temps réel) ;
|
||||||
|
recherche partout : page /recherche (Fusion #68). */
|
||||||
window.DRACO_BAR_CONFIG = {
|
window.DRACO_BAR_CONFIG = {
|
||||||
current: "kanbante",
|
current: "kanbante",
|
||||||
/* v0.1.6 : user = initiale auth_user ou K (draco_avatar). Sans
|
/* v0.1.6 : user = initiale auth_user ou K (draco_avatar). Sans
|
||||||
@@ -95,7 +97,7 @@
|
|||||||
if (act === "domaine") { try { localStorage.setItem("draco_domain", el.dataset.dom); } catch (e) { } return; }
|
if (act === "domaine") { try { localStorage.setItem("draco_domain", el.dataset.dom); } catch (e) { } return; }
|
||||||
if (act === "rail") { var b = document.getElementById("side-collapse"); if (b) b.click(); return; }
|
if (act === "rail") { var b = document.getElementById("side-collapse"); if (b) b.click(); return; }
|
||||||
if (act === "palette") { location.href = "/recherche"; return; }
|
if (act === "palette") { location.href = "/recherche"; return; }
|
||||||
if (act === "alertes") { dire("Alertes unifiées : arrive avec la fédération (programme Fusion)."); return; }
|
if (act === "alertes") { if (window.DRACO_ALERTES) { window.DRACO_ALERTES.open(); } else { location.href = "/activity"; } return; }
|
||||||
/* Correctif fusion #70 : action "menu" supprimée avec le bouton trois points (console agent dans le menu de la marque). */
|
/* Correctif fusion #70 : action "menu" supprimée avec le bouton trois points (console agent dans le menu de la marque). */
|
||||||
if (act === "spark") {
|
if (act === "spark") {
|
||||||
if (window.DRACO_PANNEAU) { window.DRACO_PANNEAU.toggle(); }
|
if (window.DRACO_PANNEAU) { window.DRACO_PANNEAU.toggle(); }
|
||||||
@@ -113,4 +115,5 @@
|
|||||||
<script defer src="/static/js/draco-barre.js?v={{ version }}"></script>
|
<script defer src="/static/js/draco-barre.js?v={{ version }}"></script>
|
||||||
<script>window.DRACO_PANNEAU_CONFIG = { api: "{{ agent_url }}" };</script>
|
<script>window.DRACO_PANNEAU_CONFIG = { api: "{{ agent_url }}" };</script>
|
||||||
<script defer src="/static/js/draco-panneau.js?v={{ version }}"></script>
|
<script defer src="/static/js/draco-panneau.js?v={{ version }}"></script>
|
||||||
|
<script defer src="/static/js/draco-alertes.js?v={{ version }}"></script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user