DECK Frontend v4.5 - All 12 bases + generic structure

Added bases:
- MST (Masters) - tzzr_core_produccion
- BCK (Backlog) - tzzr_core_produccion
- Oracle - tzzr_core_secretaria

Reorganized UI groups:
- Taxonomía: HST, FLG, ITM, LOC, PLY
- Producción: MST, BCK, MTH
- Secretaría: ATC, Oracle
- Comunicación: MAIL, CHAT

Added categories for graph visualization:
- mst, bck, mth, atc, ora with distinct colors

Tables MST/BCK/Oracle don't exist in DB yet - frontend ready for them.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
ARCHITECT
2026-01-16 19:10:52 +00:00
parent 171a356b25
commit daea7753b6

View File

@@ -7,13 +7,13 @@
<meta name="description" content="DECK Tag Management System"> <meta name="description" content="DECK Tag Management System">
<!-- <!--
DECK FRONTEND v4.4 - Tree from tree_* tables DECK FRONTEND v4.5 - All bases + generic structure
Extract: ./extract.sh deck.html [output_dir] Extract: ./extract.sh deck.html [output_dir]
--> -->
<style> <style>
/* ============================================================================= /* =============================================================================
* DECK STYLES v4.4 * DECK STYLES v4.5
* ============================================================================= */ * ============================================================================= */
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
@@ -647,9 +647,14 @@ body {
<button class="base-btn" data-base="loc" aria-pressed="false">LOC</button> <button class="base-btn" data-base="loc" aria-pressed="false">LOC</button>
<button class="base-btn" data-base="ply" aria-pressed="false">PLY</button> <button class="base-btn" data-base="ply" aria-pressed="false">PLY</button>
</div> </div>
<div class="base-group" data-group="registry" role="group" aria-label="Registro"> <div class="base-group" data-group="production" role="group" aria-label="Producción">
<button class="base-btn" data-base="mst" aria-pressed="false">MST</button>
<button class="base-btn" data-base="bck" aria-pressed="false">BCK</button>
<button class="base-btn" data-base="mth" aria-pressed="false">MTH</button> <button class="base-btn" data-base="mth" aria-pressed="false">MTH</button>
</div>
<div class="base-group" data-group="secretaria" role="group" aria-label="Secretaría">
<button class="base-btn" data-base="atc" aria-pressed="false">ATC</button> <button class="base-btn" data-base="atc" aria-pressed="false">ATC</button>
<button class="base-btn" data-base="oracle" aria-pressed="false">Oracle</button>
</div> </div>
<div class="base-group" data-group="comms" role="group" aria-label="Comunicación"> <div class="base-group" data-group="comms" role="group" aria-label="Comunicación">
<button class="base-btn" data-base="mail" aria-pressed="false">MAIL</button> <button class="base-btn" data-base="mail" aria-pressed="false">MAIL</button>
@@ -721,8 +726,8 @@ body {
<script> <script>
/** /**
* DECK Frontend v4.4 * DECK Frontend v4.5
* Tree view from tree_* relational tables * All 12 bases: HST,FLG,ITM,LOC,PLY,MST,BCK,MTH,ATC,Oracle,MAIL,CHAT
*/ */
// ============================================================================= // =============================================================================
@@ -733,27 +738,39 @@ const CONFIG = {
IMG_BASE: "https://atc.tzzrdeck.me", IMG_BASE: "https://atc.tzzrdeck.me",
BASES: { BASES: {
hst: { schema: "tzzr_core_hst", table: "hst", hasGroups: true, hasLibraries: true }, // Taxonomía
flg: { schema: "tzzr_core_hst", table: "flg", hasGroups: false, hasLibraries: true }, hst: { schema: "tzzr_core_hst", table: "hst", hasGroups: true, hasLibraries: true },
itm: { schema: "tzzr_core_itm_base", table: "itm", hasGroups: false, hasLibraries: true }, flg: { schema: "tzzr_core_hst", table: "flg", hasGroups: false, hasLibraries: true },
loc: { schema: "tzzr_core_itm_base", table: "loc", hasGroups: false, hasLibraries: true }, itm: { schema: "tzzr_core_itm_base", table: "itm", hasGroups: false, hasLibraries: true },
ply: { schema: "tzzr_core_itm_base", table: "ply", hasGroups: false, hasLibraries: true }, loc: { schema: "tzzr_core_itm_base", table: "loc", hasGroups: false, hasLibraries: true },
mth: { schema: "tzzr_core_produccion",table: "mth", hasGroups: false, hasLibraries: false }, ply: { schema: "tzzr_core_itm_base", table: "ply", hasGroups: false, hasLibraries: true },
atc: { schema: "tzzr_core_secretaria",table: "atc", hasGroups: false, hasLibraries: true }, // Producción
mail: { schema: "mail_manager", table: "clara_registros", hasGroups: false, hasLibraries: false, orderBy: "timestamp_entrada.desc" }, mst: { schema: "tzzr_core_produccion", table: "mst", hasGroups: false, hasLibraries: true },
chat: { schema: "context_manager", table: "messages", hasGroups: false, hasLibraries: false, orderBy: "created_at.desc" } bck: { schema: "tzzr_core_produccion", table: "bck", hasGroups: false, hasLibraries: true },
mth: { schema: "tzzr_core_produccion", table: "mth", hasGroups: false, hasLibraries: true },
// Secretaría
atc: { schema: "tzzr_core_secretaria", table: "atc", hasGroups: false, hasLibraries: true },
oracle: { schema: "tzzr_core_secretaria", table: "oracle", hasGroups: false, hasLibraries: true },
// Comunicación
mail: { schema: "mail_manager", table: "clara_registros", hasGroups: false, hasLibraries: false, orderBy: "timestamp_entrada.desc" },
chat: { schema: "context_manager", table: "messages", hasGroups: false, hasLibraries: false, orderBy: "created_at.desc" }
}, },
CATEGORIES: { CATEGORIES: {
hst: { name: "Hashtags", color: "#7c8aff" }, hst: { name: "Hashtags", color: "#7c8aff" },
spe: { name: "Specs", color: "#FF9800" }, spe: { name: "Specs", color: "#FF9800" },
vue: { name: "Values", color: "#00BCD4" }, vue: { name: "Values", color: "#00BCD4" },
vsn: { name: "Visions", color: "#E91E63" }, vsn: { name: "Visions", color: "#E91E63" },
msn: { name: "Missions", color: "#9C27B0" }, msn: { name: "Missions", color: "#9C27B0" },
flg: { name: "Flags", color: "#4CAF50" }, flg: { name: "Flags", color: "#4CAF50" },
ply: { name: "Players", color: "#FF5722" }, ply: { name: "Players", color: "#FF5722" },
itm: { name: "Items", color: "#795548" }, itm: { name: "Items", color: "#795548" },
loc: { name: "Locations", color: "#009688" } loc: { name: "Locations", color: "#009688" },
mst: { name: "Masters", color: "#3F51B5" },
bck: { name: "Backlog", color: "#607D8B" },
mth: { name: "Methods", color: "#8BC34A" },
atc: { name: "Attachments",color: "#FF7043" },
ora: { name: "Oracle", color: "#AB47BC" }
}, },
EDGE_TYPES: { EDGE_TYPES: {