From b92eab85ff84bce055ccf14a57d63d639c6d8088 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Mon, 3 Nov 2025 15:04:00 +1300 Subject: [PATCH] fix: feedback button visibility and Agent Lightning page issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Feedback Button (z-index issue): - Increased z-index from 40 to 9999 with !important - Button was rendering but hidden behind other elements - Added inline style as backup for z-index Agent Lightning Page: - Fixed text visibility: changed gray-300 to white on dark background - Fixed broken download link: changed to GitHub repo link - Fixed collaboration button: now triggers feedback FAB correctly - Removed duplicate closing script tag All issues resolved and deployed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- public/integrations/agent-lightning.html | 21 +++++++++++++-------- public/js/components/feedback.js | 17 +++++++++++++++-- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/public/integrations/agent-lightning.html b/public/integrations/agent-lightning.html index 630a0f7e..03e4e03d 100644 --- a/public/integrations/agent-lightning.html +++ b/public/integrations/agent-lightning.html @@ -296,17 +296,17 @@
-

📦 Download Installation Pack

-

Complete integration including 3 demos (baseline, governed, production), Python governance modules, and Agent Lightning wrapper code. Apache 2.0 licensed.

- Download Install Pack (Apache 2.0) → +

📦 View Integration Code

+

Complete integration including demos, Python governance modules, and Agent Lightning wrapper code. Apache 2.0 licensed on GitHub.

+ View on GitHub (Apache 2.0) →
-

Collaborate on Open Research Questions

-

We're seeking researchers, implementers, and organizations interested in scalability testing, adversarial resistance studies, and multi-agent governance experiments.

-
    +

    Collaborate on Open Research Questions

    +

    We're seeking researchers, implementers, and organizations interested in scalability testing, adversarial resistance studies, and multi-agent governance experiments.

    +
    • ✓ Integration code and governance modules
    • ✓ Technical documentation
    • ✓ Research collaboration framework
    • @@ -328,11 +328,16 @@ const button = document.getElementById('collaboration-inquiry-button'); if (button) { button.addEventListener('click', function() { - if (window.TractarusFeedback && window.TractarusFeedback.openModal) { - window.TractarusFeedback.openModal('research-collaboration'); + // Open feedback modal by triggering click on FAB + const fab = document.getElementById('feedback-fab'); + if (fab) { + fab.click(); + } else { + console.error('[AL Page] Feedback FAB not found'); } }); } + diff --git a/public/js/components/feedback.js b/public/js/components/feedback.js index 384cebb5..371d15ef 100644 --- a/public/js/components/feedback.js +++ b/public/js/components/feedback.js @@ -12,21 +12,27 @@ class TractausFeedback { constructor() { + console.log('[Feedback] Constructor called'); this.isOpen = false; this.isMobile = window.matchMedia('(max-width: 768px)').matches; this.selectedType = null; this.csrfToken = null; this.init(); + console.log('[Feedback] Constructor complete'); } async init() { + console.log('[Feedback] Init called'); // Render components IMMEDIATELY (don't wait for CSRF) this.renderFAB(); + console.log('[Feedback] FAB rendered'); this.renderModal(); + console.log('[Feedback] Modal rendered'); // Attach event listeners this.attachEventListeners(); + console.log('[Feedback] Event listeners attached'); // Get CSRF token in parallel (non-blocking) this.fetchCsrfToken(); @@ -59,7 +65,8 @@ class TractausFeedback { renderFAB() { const fabHTML = `