From df1db32e05fb4eae47e1a0be596a8f0d9fe8eea2 Mon Sep 17 00:00:00 2001 From: Graham Darcey Date: Mon, 4 Aug 2025 10:11:44 -0400 Subject: [PATCH] reduce logging further --- app/bay/page.tsx | 91 +++--------------------------------------------- 1 file changed, 4 insertions(+), 87 deletions(-) diff --git a/app/bay/page.tsx b/app/bay/page.tsx index 9f94fa8..2bf5fd5 100644 --- a/app/bay/page.tsx +++ b/app/bay/page.tsx @@ -991,23 +991,7 @@ export function BayWithReviewMode({ session, status, router, impersonationData }
{ - if (el) { - console.log('🔍 Bay: Progress section mounted:', { - width: el.offsetWidth, - height: el.offsetHeight, - className: el.className, - computedStyles: { - display: window.getComputedStyle(el).display, - position: window.getComputedStyle(el).position, - overflow: window.getComputedStyle(el).overflow, - zIndex: window.getComputedStyle(el).zIndex - }, - progressSectionClass: styles.progressSection, - hasProgressSectionClass: !!styles.progressSection - }); - } - }} + >

{impersonationData ? `${impersonationData.user.name ? `${impersonationData.user.name}'s Voyage` : 'User Voyage'}` : 'Your Voyage'} @@ -1017,50 +1001,13 @@ export function BayWithReviewMode({ session, status, router, impersonationData } {!impersonationData && }
{ - if (el) { - console.log('🔍 Bay: Main progress container mounted:', { - width: el.offsetWidth, - height: el.offsetHeight, - backgroundColor: window.getComputedStyle(el).backgroundColor, - border: window.getComputedStyle(el).border, - display: window.getComputedStyle(el).display, - position: window.getComputedStyle(el).position - }); - } - }} + >
{ - if (el) { - console.log('🚨 Bay: SHIP + PROGRESS + ISLAND container:', { - width: el.offsetWidth, - height: el.offsetHeight, - className: el.className, - childrenCount: el.children.length, - computedStyles: { - display: window.getComputedStyle(el).display, - gap: window.getComputedStyle(el).gap, - alignItems: window.getComputedStyle(el).alignItems, - justifyContent: window.getComputedStyle(el).justifyContent, - flexDirection: window.getComputedStyle(el).flexDirection - }, - childElements: Array.from(el.children).map((child, i) => ({ - index: i, - tagName: child.tagName, - className: child.className, - width: child.offsetWidth, - height: child.offsetHeight, - position: window.getComputedStyle(child).position, - flex: window.getComputedStyle(child).flex, - flexGrow: window.getComputedStyle(child).flexGrow - })) - }); - } - }} + > { - if (el) { - console.log('🚨 Bay: SHIP IMG element:', { - width: el.offsetWidth, - height: el.offsetHeight, - naturalWidth: el.naturalWidth, - naturalHeight: el.naturalHeight, - className: el.className, - computedStyles: { - width: window.getComputedStyle(el).width, - height: window.getComputedStyle(el).height, - objectFit: window.getComputedStyle(el).objectFit, - maxWidth: window.getComputedStyle(el).maxWidth, - maxHeight: window.getComputedStyle(el).maxHeight - } - }); - } - }} + onMouseEnter={(e) => { // Mouse enter handled by tooltip }} @@ -1104,15 +1034,6 @@ export function BayWithReviewMode({ session, status, router, impersonationData } title="When this progress bar reaches 100%, you're eligible for going to the island!" > - {(() => { - console.log('🔍 Bay: About to render MultiPartProgressBar with:', { - projectsCount: projects.length, - progressMetrics: progressMetrics, - max: 100, - height: 10 - }); - return null; - })()} - {(() => { - console.log('🔍 Bay: MultiPartProgressBar should have rendered'); - return null; - })()}
Island